Phpstan parser#1473
Conversation
|
Is this one ready for review? Do you plan to change something? If not I'll try to find a moment next week and go through the changes. Changing the minimal php version to 8.2 is necessary, I haven't checked yet? In the past we only dropped support for eol version. 8.1 still gets security fixes till the end of 2025. |
|
Yes, it is ready for review. The change of minimal version is necessary. It is because of upgrading |
|
Could you point me to the compatibility issues or do you have a reproducer at hand? I see Does the issue occur if you use phpstan/phpdoc-parser and phpstan/phpstan and if yes what are the conflicting versions? |
|
okay something if seen so far is, that And if it |
|
@patrickkusebauch: I just changed the php version from composer.json to
But also this branch needs to resolve its conflicts. |
|
I am busy for the rest of the week. Will look into it next week. |
95aa056 to
42bdaee
Compare
patrickkusebauch
left a comment
There was a problem hiding this comment.
Ready for review. @gennadigennadigennadi
|
@patrickkusebauch there seems to be a merge conflict? Could you resolve it and I would merge this PR afterwards. |
Code style.
…d version for installation.
Force infection to use at least 8.2 because of incompatibility between the supported PHP versions of the infection plugin and nikic PHP parser.
```
Your requirements could not be resolved to an installable set of packages.
Problem 1
- infection/infection 0.27.10 requires nikic/php-parser ^4.15.1 -> found nikic/php-parser[v4.15.1, ..., v4.19.4] but it conflicts with your root composer.json require (^5).
- roave/infection-static-analysis-plugin[1.36.0, ..., 1.39.0] require php ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (8.1; overridden via config.platform, actual: 8.3.6) does not satisfy that requirement.
- roave/infection-static-analysis-plugin 1.35.0 requires infection/infection 0.27.10 -> satisfiable by infection/infection[0.27.10].
- Root composer.json requires roave/infection-static-analysis-plugin ^1.35 -> satisfiable by roave/infection-static-analysis-plugin[1.35.0, ..., 1.39.0].
```
88c29a8 to
584980f
Compare
|
@gennadigennadigennadi done. Rebased and merge conflict resolved. |

Replaces deptrac/deptrac-src#116