-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add support for PHP 8.4 and update code accordingly #28
Conversation
This commit updates the GitHub workflow to include PHP 8.4 in the matrix and modifies constructor signatures in `CanonicalRange.php` and `Range.php` to handle nullability better, aligning with new PHP 8.4 standards. Additionally, minor corrections are made in `README.md` and `.gitignore` to improve clarity and ignore the new PHPUnit cache files.
Hello @belamov I found this issue updating my stack to PHP 8.4 today. I would like to contribute with this small fix. |
hello, thanks a lot for this pr! |
@isalcedo can you please check the failed job? i dont understand whats the problem to be honest :) |
Added tests for Laravel 8 with PHP versions 8.2, 8.3, and 8.4. Removed tests for Laravel 11 with PHP versions 8.2, 8.3, and 8.4 to streamline testing focus. This ensures compatibility checks with relevant Laravel versions for current PHP environments.
I made the changes, it needs your approval to run the actions. |
This change eliminates unnecessary PHP 8.2, 8.3, and 8.4 configurations with Laravel 8.*, streamlining the CI workflow. By focusing on the essential version pairings, we maintain clarity and improve the maintainability of our build matrix.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #28 +/- ##
=========================================
Coverage 99.51% 99.51%
Complexity 81 81
=========================================
Files 21 21
Lines 208 208
=========================================
Hits 207 207
Misses 1 1 ☔ View full report in Codecov by Sentry. |
thanks a lot for your contribution! |
Hello 😄
This commit updates the GitHub workflow to include PHP 8.4 in the matrix and modifies constructor signatures in
CanonicalRange.php
andRange.php
to handle nullability better, aligning with new PHP 8.4 standards. Additionally, minor corrections are made inREADME.md
and.gitignore
to improve clarity and ignore the new PHPUnit cache files.