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 implicitly nullable function arguments #1973

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

hemberger
Copy link
Member

In PHP 8.4, making function arguments implicitly nullable via a null default value is deprecated. The specified type must be explicitly nullable.

No functionality changes.

In PHP 8.4, making function arguments implicitly nullable via a null
default value is deprecated. The specified type must be explicitly
nullable.

No functionality changes.
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 45 lines in your changes missing coverage. Please review.

Project coverage is 31.42%. Comparing base (911513a) to head (69020fb).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/lib/Smr/Sector.php 9.09% 10 Missing ⚠️
src/lib/Smr/AbstractPlayer.php 10.00% 9 Missing ⚠️
src/lib/Smr/Account.php 0.00% 5 Missing ⚠️
src/lib/Smr/Port.php 20.00% 4 Missing ⚠️
src/lib/Smr/Globals.php 0.00% 3 Missing ⚠️
src/lib/Smr/Plotter.php 0.00% 3 Missing ⚠️
src/lib/Smr/Location.php 60.00% 2 Missing ⚠️
src/lib/Smr/Messages.php 0.00% 2 Missing ⚠️
src/lib/Smr/Alliance.php 50.00% 1 Missing ⚠️
src/lib/Smr/Combat/Weapon/Weapon.php 0.00% 1 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1973   +/-   ##
=========================================
  Coverage     31.42%   31.42%           
  Complexity     4203     4203           
=========================================
  Files           125      125           
  Lines         12807    12807           
=========================================
  Hits           4025     4025           
  Misses         8782     8782           

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

@hemberger hemberger merged commit bd7d8d0 into smrealms:main Dec 5, 2024
8 checks passed
@hemberger hemberger deleted the fix-implicitly-nullable branch December 5, 2024 01:48
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