testing brought in
This commit is contained in:
@@ -18,7 +18,17 @@
|
||||
"cakephp/cakephp": "^5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^10.1"
|
||||
"cakedc/cakephp-phpstan": "^4.1",
|
||||
"cakephp/bake": "^3.0.0",
|
||||
"cakephp/cakephp-codesniffer": "^5.0",
|
||||
"cakephp/debug_kit": "^5.0.0",
|
||||
"dereuromark/cakephp-ide-helper": "^2.13",
|
||||
"dereuromark/cakephp-test-helper": "^2.6",
|
||||
"fig-r/psr2r-sniffer": "^2.7",
|
||||
"josegonzalez/dotenv": "^4.0",
|
||||
"php-collective/decimal-object": "^1.3",
|
||||
"phpstan/phpstan": "^2.1",
|
||||
"phpunit/phpunit": "^10.5.5 || ^11.1.3 || ^12.1"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@@ -28,7 +38,25 @@
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"CheeseCake\\Test\\": "tests/",
|
||||
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
|
||||
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
|
||||
"TestApp\\": "tests/test_app/src/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"post-install-cmd": "App\\Console\\Installer::postInstall",
|
||||
"post-create-project-cmd": "App\\Console\\Installer::postInstall",
|
||||
"check": [
|
||||
"@test",
|
||||
"@cs-check"
|
||||
],
|
||||
"test": "phpunit --colors=always",
|
||||
"cs-check": "vendor/bin/phpcs --colors --parallel=16",
|
||||
"cs-fix": "vendor/bin/phpcbf --colors --parallel=16",
|
||||
"stan": "phpstan analyze"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user