Skip to content

Commit

Permalink
Merge pull request #41 from fr3nch13/2.x-dev
Browse files Browse the repository at this point in the history
Cakephp 4.4 and Phpstan Level 7 updates
  • Loading branch information
fr3nch13 committed Nov 2, 2022
2 parents 2b45c02 + 601c6c6 commit e23edbd
Show file tree
Hide file tree
Showing 37 changed files with 421 additions and 423 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ docs/**/*.php
/tests/test_app/tmp/*
!/tests/test_app/tmp/*.gitkeep
.phpunit.result.cache
tests/test_app/config/.env
15 changes: 8 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"mobiledetect/mobiledetectlib": "^2.8",
"mockery/mockery": "^1.2",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^0.12.3",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "~8.5.0 || ^9.3",
"psy/psysh": "@stable"
},
Expand Down Expand Up @@ -63,12 +63,13 @@
"@cs-fix",
"@cs-check"
],
"cs-check": "vendor/bin/phpcs --colors -p -s --extensions=php ./src ./tests ./config",
"cs-fix": "vendor/bin/phpcbf --colors --extensions=php ./src ./tests ./config",
"phpstan": "phpstan analyse ./src -c phpstan.neon --level=5 --no-progress -vvv",
"test": "vendor/bin/phpunit --colors=always",
"coverage-clover": "vendor/bin/phpunit --coverage-clover=tmp/coverage.xml",
"coverage-text": "vendor/bin/phpunit --coverage-text --colors=never"
"cs-check": "php -d memory_limit=-1 ./vendor/bin/phpcs --colors -p -s --extensions=php ./src ./tests ./config",
"cs-fix": "php -d memory_limit=-1 ./vendor/bin/phpcbf --colors --extensions=php ./src ./tests ./config",
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress -vvv",
"test": "php -d memory_limit=-1 ./vendor/bin/phpunit --colors=always",
"coverage": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage",
"coverage-clover": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-clover=tmp/coverage.xml",
"coverage-text": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --colors=never"
},
"config": {
"sort-packages": true,
Expand Down

0 comments on commit e23edbd

Please sign in to comment.