Skip to content

Commit

Permalink
Fixed PHPCompatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BrentRobert authored and vrielsa committed May 18, 2022
1 parent d8f58db commit a466707
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
],
"scripts": {
"post-install-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/,../../phpcompatibility/php-compatibility/PHPCompatibility)"
],
"post-update-cmd": [
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/,../../phpcompatibility/php-compatibility/PHPCompatibility)"
]
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ grumphp:
tasks:
phpcs:
standard: PSR2,Magento2
warning_severity: 5
warning_severity: 0
ignore_patterns:
- "Test/Unit"
triggered_by: [php]
Expand Down

0 comments on commit a466707

Please sign in to comment.