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

Add support for PHP 8.4 and update code accordingly #28

Merged
merged 3 commits into from
Dec 7, 2024

Conversation

isalcedo
Copy link
Contributor

@isalcedo isalcedo commented Dec 5, 2024

Hello 😄

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.

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.
@isalcedo
Copy link
Contributor Author

isalcedo commented Dec 5, 2024

Hello @belamov

I found this issue updating my stack to PHP 8.4 today. I would like to contribute with this small fix.

@belamov
Copy link
Owner

belamov commented Dec 6, 2024

hello, thanks a lot for this pr!

@belamov
Copy link
Owner

belamov commented Dec 6, 2024

@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.
@isalcedo
Copy link
Contributor Author

isalcedo commented Dec 7, 2024

@isalcedo can you please check the failed job? i dont understand whats the problem to be honest :)

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.
Copy link

codecov bot commented Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.51%. Comparing base (087f480) to head (e02ba46).
Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

@belamov belamov merged commit 1bdf5dd into belamov:master Dec 7, 2024
25 checks passed
@belamov
Copy link
Owner

belamov commented Dec 7, 2024

thanks a lot for your contribution!

@isalcedo isalcedo deleted the feature-PHP8.4_support branch December 7, 2024 01:26
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.

2 participants