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

Upgrade to phpstan 2.0 #12

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

glpzzz
Copy link

@glpzzz glpzzz commented Jan 12, 2025

Q A
Is bugfix?
New feature? ✔️
Breaks BC? ✔️
Fixed issues Trying to upgrade to PHPStan 2.0

Just starting this by following https://github.com/phpstan/phpstan-src/blob/2.0.x/UPGRADING.md.

Any help is appreciated. Still getting some errors that I don't understand.

Copy link

codecov bot commented Jan 12, 2025

Codecov Report

Attention: Patch coverage is 0% with 31 lines in your changes missing coverage. Please review.

Project coverage is 16.48%. Comparing base (1788f68) to head (21afef8).

Files with missing lines Patch % Lines
...veRecordDynamicStaticMethodReturnTypeExtension.php 0.00% 12 Missing ⚠️
...pe/ActiveQueryDynamicMethodReturnTypeExtension.php 0.00% 7 Missing ⚠️
...Type/ContainerDynamicMethodReturnTypeExtension.php 0.00% 5 Missing ⚠️
...e/ActiveRecordDynamicMethodReturnTypeExtension.php 0.00% 4 Missing ⚠️
src/Type/ActiveRecordObjectType.php 0.00% 2 Missing ⚠️
...aderCollectionDynamicMethodReturnTypeExtension.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #12      +/-   ##
============================================
- Coverage     17.16%   16.48%   -0.68%     
- Complexity      125      127       +2     
============================================
  Files            14       14              
  Lines           268      279      +11     
============================================
  Hits             46       46              
- Misses          222      233      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant