Skip to content

Commit

Permalink
Merge branch 'master' into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey committed May 21, 2022
2 parents 4bca0b8 + 8012553 commit 972f776
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
composer install
fi
- name: Configure PHPUnit matcher
- name: Setup problem matchers for PHPUnit
if: matrix.php-version == '7.4'
uses: mheap/phpunit-matcher-action@v1
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Run PHPUnit
run: |
Expand Down
1 change: 1 addition & 0 deletions CakePHP/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<!-- Relax rules from PSR12 -->
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/config/Migrations/*</exclude-pattern>
<exclude-pattern>*/config/Seeds/*</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects">
<exclude-pattern>*/config/*</exclude-pattern>
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"CakePHP\\": "CakePHP/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"add-standard" : "phpcs --config-set installed_paths $(pwd)",
"test": [
Expand Down

0 comments on commit 972f776

Please sign in to comment.