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

Use constructor property promotion #1153

Merged
merged 2 commits into from
May 15, 2024
Merged

Use constructor property promotion #1153

merged 2 commits into from
May 15, 2024

Conversation

AJenbo
Copy link
Member

@AJenbo AJenbo commented May 12, 2024

Type: refactoring
Breaking change: yes

This also applies some native type hints that are used for the constructors or properties to help simplify things, which is why this is marked as breaking.

Copy link

codecov bot commented May 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.14%. Comparing base (2dde017) to head (e35c645).

Additional details and impacted files
@@             Coverage Diff              @@
##                3.x    #1153      +/-   ##
============================================
- Coverage     92.30%   92.14%   -0.16%     
+ Complexity     1286     1278       -8     
============================================
  Files           111      107       -4     
  Lines          3444     3375      -69     
============================================
- Hits           3179     3110      -69     
  Misses          265      265              

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

ravage84
ravage84 previously approved these changes May 15, 2024
src/main/php/PHPMD/Node/ASTNode.php Show resolved Hide resolved
src/main/php/PHPMD/Node/NodeInfo.php Outdated Show resolved Hide resolved
src/main/php/PHPMD/Node/NodeInfo.php Show resolved Hide resolved
@ravage84 ravage84 merged commit 5c0038e into 3.x May 15, 2024
20 checks passed
@ravage84 ravage84 deleted the promote branch May 15, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants