forked from dereuromark/cakephp-ajax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
48 lines (48 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
48
{
"name": "dereuromark/cakephp-ajax",
"type": "cakephp-plugin",
"description": "A CakePHP plugin that makes working with AJAX a piece of cake.",
"keywords": ["cakephp", "plugin", "AJAX", "asynchronous", "view"],
"homepage": "https://github.com/dereuromark/cakephp-ajax",
"license": "MIT",
"authors": [
{
"name": "Mark Scherer",
"role": "Author",
"homepage": "https://www.dereuromark.de"
}
],
"require":{
"php": ">=5.6",
"cakephp/cakephp": "^3.6"
},
"require-dev":{
"dereuromark/cakephp-tools": "^1.4",
"fig-r/psr2r-sniffer": "dev-master"
},
"autoload": {
"psr-4": {
"Ajax\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ajax\\Test\\": "tests/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
"TestApp\\": "tests/TestApp/src/"
}
},
"support":{
"source": "https://github.com/dereuromark/cakephp-ajax",
"issues": "https://github.com/dereuromark/cakephp-ajax/issues"
},
"scripts": {
"test": "php phpunit.phar",
"test-setup": "[ ! -f phpunit.phar ] && wget https://phar.phpunit.de/phpunit-6.5.13.phar && mv phpunit-6.5.13.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 7 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 --extensions=php src/ tests/ config/",
"cs-fix": "phpcbf --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php src/ tests/ config/"
}
}