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

refactor: Refactor ternary to elvis operator where possible #1561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChristophWurst
Copy link

This should make the code a bit easier to read.

The Elvis operator is available since PHP5.3.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.24%. Comparing base (a9d0a90) to head (db953df).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1561   +/-   ##
=========================================
  Coverage     97.24%   97.24%           
- Complexity     2834     2836    +2     
=========================================
  Files           175      175           
  Lines          8843     8852    +9     
=========================================
+ Hits           8599     8608    +9     
  Misses          244      244           

☔ 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