forked from dereuromark/cakephp-shim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
47 lines (47 loc) · 1.66 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "dereuromark/cakephp-shim",
"type": "cakephp-plugin",
"description": "A CakePHP plugin to shim applications between major framework versions.",
"keywords": ["cakephp", "plugin", "shim", "helpers"],
"homepage": "https://github.com/dereuromark/cakephp-shim",
"license": "MIT",
"authors": [
{
"name": "Mark Scherer",
"homepage": "http://www.dereuromark.de",
"role": "Maintainer"
}
],
"require": {
"php": ">=5.6",
"cakephp/cakephp": "^3.5"
},
"require-dev": {
"fig-r/psr2r-sniffer": "dev-master"
},
"support": {
"source": "https://github.com/dereuromark/cakephp-shim"
},
"autoload": {
"psr-4": {
"Shim\\": "src/",
"Shim\\Test\\Fixture\\": "tests/Fixture/"
}
},
"autoload-dev": {
"psr-4": {
"Shim\\Test\\": "tests/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
"TestApp\\": "tests/test_app/src/"
}
},
"scripts": {
"test": "php phpunit.phar",
"test-setup": "[ ! -f phpunit.phar ] && wget https://phar.phpunit.de/phpunit-5.7.20.phar && mv phpunit-5.7.20.phar phpunit.phar || true",
"test-coverage": "php phpunit.phar --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml",
"phpstan": "phpstan analyse -c tests/phpstan.neon -l 3 src",
"phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan && mv composer.backup composer.json",
"cs-check": "phpcs -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=/cakephp-shim/vendor/,/tmp/,/logs/ --extensions=php ./",
"cs-fix": "phpcbf -v --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=/cakephp-shim/vendor/,/tmp/,/logs/ --extensions=php ./"
}
}