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

Fix build #113

Merged
merged 3 commits into from
Mar 13, 2024
Merged

Fix build #113

merged 3 commits into from
Mar 13, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Mar 8, 2024

After phpstan/phpstan-src#2953 landed we don't need this whitelist of constants anymore.

@staabm
Copy link
Contributor Author

staabm commented Mar 8, 2024

I think the build will be green on PHP 7.2 after ondrejmirtes/BetterReflection#36 landed

@staabm staabm marked this pull request as ready for review March 8, 2024 10:26
@ondrejmirtes ondrejmirtes changed the base branch from 1.2.x to 1.1.x March 13, 2024 08:02
@ondrejmirtes ondrejmirtes merged commit d457b73 into phpstan:1.1.x Mar 13, 2024
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the build branch March 13, 2024 08:09
@ondrejmirtes
Copy link
Member

Looks like the tests still fail on 7.2: https://github.com/phpstan/phpstan-deprecation-rules/actions/runs/8261289348/job/22598303664

You don't need to care about PHPStan failing, that will take care of itself when 1.10.61 is released.

@staabm
Copy link
Contributor Author

staabm commented Mar 13, 2024

I will have a look

@staabm
Copy link
Contributor Author

staabm commented Mar 13, 2024

I think the remaining problem is, that in jetbrains stubs constants are defined via define('X', 12) while the PhpStormStubsSourceStubber currently expects Const_ nodes to inspect the phpdocs. I will dig deeper

@ondrejmirtes
Copy link
Member

Yeah, PHPDoc above define() needs to be supported as well. I thought it already works.

@staabm
Copy link
Contributor Author

staabm commented Mar 13, 2024

fix in phpstan/phpstan-src#2967

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.

None yet

2 participants