Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jul 9, 2022
1 parent e785c9d commit fb62528
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ jobs:
php-version: '7.4'
extensions: mbstring, intl
coverage: none
tools: vimeo/psalm:4.23, phpstan:1.8

- name: Composer Install
run: composer require --dev cakephp/cakephp-codesniffer:^4.1 psalm/phar:~4.19 phpstan/phpstan:~1.4
run: composer require --dev cakephp/cakephp-codesniffer:^4.1

- name: Run phpcs
run: vendor/bin/phpcs --report=checkstyle --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/
Expand Down
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,11 @@
"issues": "https://github.com/FriendsOfCake/crud/issues",
"wiki": "http://crud.readthedocs.org/en/latest/",
"irc": "irc://irc.freenode.org/friendsofcake"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}

0 comments on commit fb62528

Please sign in to comment.