Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: require PHPStan v0.12.70 #774

Merged

Conversation

chrisp-github
Copy link
Contributor

@chrisp-github chrisp-github commented Jan 29, 2021

This solves the OutOfBoundsException: Package "project/project" is not installed error

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

getsentry/sentry-symfony#383

Changes

Updated php phpstan/phpstan from v0.12.65 -> v0.12.70
See phpstan/releases/tag/0.12.70

Breaking changes

None

…uce an improvement to solve the OutOfBoundsException: Package "project/project" is not installed error - https://github.com/phpstan/phpstan/releases/tag/0.12.70
@szepeviktor
Copy link
Collaborator

szepeviktor commented Jan 29, 2021

Isn't it instead related to the latest Composer v2 release?
Could you try with 2.0.8 and 2.0.9?

@szepeviktor
Copy link
Collaborator

@chrisp-github Please force-push with an email address registered here on GitHub.
Thanks.

@chrisp-github chrisp-github force-pushed the move-to-latest-phpstan-version branch from d9fdcc4 to 5f09413 Compare January 31, 2021 12:18
@chrisp-github
Copy link
Contributor Author

@szepeviktor I have pushed again with the right email, sorry about that.

The fix here is that they rebuilt the .phar that they use with composer v2.

@szepeviktor
Copy link
Collaborator

Please merge master to get #775

@szepeviktor szepeviktor changed the title phpstan/phpstan v0.12.65 -> v0.12.70 Require PHPStan v0.12.70 Jan 31, 2021
@chrisp-github
Copy link
Contributor Author

@szepeviktor Sorted.

@szepeviktor szepeviktor requested a review from canvural January 31, 2021 17:11
@canvural canvural changed the title Require PHPStan v0.12.70 deps: require PHPStan v0.12.70 Feb 1, 2021
@canvural canvural merged commit f785131 into larastan:master Feb 1, 2021
@canvural
Copy link
Collaborator

canvural commented Feb 1, 2021

Thank you!

@chrisp-github chrisp-github deleted the move-to-latest-phpstan-version branch February 1, 2021 20:57
@HSPDev
Copy link

HSPDev commented Mar 24, 2021

IF THIS STILL DOESN'T WORK!

composer self-update

I had a version 2.0.6 or something, latest version 2.0.11 fixed everything (together with rm -rf vendor/ and composer install just to be safe, I had tried those before, but don't know if they are needed after updating).

@szepeviktor
Copy link
Collaborator

szepeviktor commented Mar 24, 2021

latest version 2.0.11 fixed everything

There was a lot of turbulence from v2.0.0 to v2.0.11.
https://github.com/composer/composer/releases

Avoiding installation of new major version releases of any software in production, letting others test it first

From research results: https://gist.github.com/szepeviktor/6c5b75f84e5c999eb8232cd963c8e6f5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants