-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: drop support for PHP < 8.1 #52
feat: drop support for PHP < 8.1 #52
Conversation
Can you make this build or can you allow the static analysis to continue on error so that we can see the static analysis will be green for lower PHP versions than 8.4? |
@loevgaard we need to update the vimeo/psalm dependency to minimum 5.24.0 |
Okay, that's a problem because I have added that version as a conflict in the |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #52 +/- ##
=========================================
Coverage 98.62% 98.62%
Complexity 77 77
=========================================
Files 9 9
Lines 291 291
=========================================
Hits 287 287
Misses 4 4 ☔ View full report in Codecov by Sentry. |
Can the failing Static Code Analysis error be fixed in a follow up PR? |
Yeah, the Missing Template Param is already on my Radar |
As for the MissingTemplateParam: CronExpressionToPartsTransformer needs: /**
* @template-implements DataTransformerInterface<CronExpression, array<int>>
*/ CronExpressionToStringPartsTransformer needs: /**
* @template-implements DataTransformerInterface<CronExpression, array<string>>
*/ CronExpressionToStringTransformer needs: /**
* @template-implements DataTransformerInterface<CronExpression, string>
*/ CronExpressionTest needs: /**
* @template-implements ConstraintValidatorTestCase<CronExpressionValidator>
*/ FormCallbackTest needs: /**
* @template-implements ConstraintValidatorTestCase<CallbackValidator>
*/ |
@Hanmac Thanks. I made your changes. But i still got errors I would suggest to merge this at it is. And make Psalm happy in a follow up PR |
arg the template params are tricky :( symfony 6+ wants template params also i manually run the symfony6 tests:
|
The Tests need |
I think the solution is to just run psalm on one specific test-run. Not for every combination. @loevgaard WDYT? |
Stupid is_null vs null ===
@loevgaard @Chris53897 finally! All Green again! |
Good job! You can just merge when you find it acceptable, @Hanmac :-) |
@loevgaard it says "Review required", so you need to give your 👍, and might merge-squash yourself |
I think you can review and merge, can't you? :) |
it works when I am not the one that created the issue |
Yeah! Great! Thanks 🎉 |
#51
This is the minimal work to drop support for PHP < 8.1