apigee-edge-drupal
apigee-edge-drupal copied to clipboard
Fixes PHPCS issues for phpstan v12.4
PHPCS fix includes the following fixes
- Use statement sort in alphabetically order
- Parameter has null default value, but is not marked as nullable.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 42.97%. Comparing base (
34bef3f) to head (62a5d29). Report is 1 commits behind head on 3.x.
Additional details and impacted files
@@ Coverage Diff @@
## 3.x #1085 +/- ##
============================================
- Coverage 44.20% 42.97% -1.23%
Complexity 3041 3041
============================================
Files 342 342
Lines 11110 11110
============================================
- Hits 4911 4775 -136
- Misses 6199 6335 +136
Commands used to analyze and fix the PHPCS issues
-
Fix code style issues & apply automatic code style fixes with PHPCBF.
vendor/bin/phpcbf --standard=web/modules/contrib/apigee_edge/phpcs.xml.dist web/modules/contrib/apigee_edge -s --colors -
Check remaining code style issues with PHPCS and fix them manually.
vendor/bin/phpcs --standard=web/modules/contrib/apigee_edge/phpcs.xml.dist web/modules/contrib/apigee_edge -p -s -n --colors
Thanks!