build: move some deps to composer
Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>
Showing
- .phive/phars.xml 2 additions, 4 deletions.phive/phars.xml
- composer.json 13 additions, 4 deletionscomposer.json
- composer.lock 539 additions, 63 deletionscomposer.lock
- phpcs.xml.dist 19 additions, 137 deletionsphpcs.xml.dist
- phpstan.neon.dist 0 additions, 2 deletionsphpstan.neon.dist
- tools/composer 0 additions, 0 deletionstools/composer
- tools/grumphp 0 additions, 0 deletionstools/grumphp
- tools/phpcs 0 additions, 0 deletionstools/phpcs
- tools/phpstan 0 additions, 0 deletionstools/phpstan
... | @@ -29,16 +29,25 @@ | ... | @@ -29,16 +29,25 @@ |
}, | }, | ||
"require-dev": { | "require-dev": { | ||
"szepeviktor/phpstan-wordpress": "^1.1", | "szepeviktor/phpstan-wordpress": "^1.1", | ||
"wp-coding-standards/wpcs": "^2" | "wpdesk/wp-code-sniffer": "^1.2", | ||
"phpstan/phpstan": "^1.10", | |||
"phpstan/extension-installer": "^1.3" | |||
}, | }, | ||
"scripts": { | "scripts": { | ||
"test:phpstan": "./tools/phpstan --configuration=phpstan.neon.dist --memory-limit=-1 analyze", | "style:fix": "phpcbf", | ||
"test:phpcs": "./tools/phpcs", | "test:phpstan": "phpstan --configuration=phpstan.neon.dist --memory-limit=-1 analyze", | ||
"test:phpcs": "phpcs", | |||
"test:phpunit": "./tools/phpunit --bootstrap tests/bootstrap.php tests", | "test:phpunit": "./tools/phpunit --bootstrap tests/bootstrap.php tests", | ||
"test": [ | "test": [ | ||
"@test:phpcs", | "@test:phpcs", | ||
"@test:phpstan", | "@test:phpstan", | ||
"@test:phpunit" | "@test:phpunit" | ||
] | ] | ||
} | }, | ||
"config": { | |||
"allow-plugins": { | |||
"dealerdirect/phpcodesniffer-composer-installer": true, | |||
"phpstan/extension-installer": true | |||
} | |||
} | |||
} | } |
This diff is collapsed.
No preview for this file type
No preview for this file type
tools/phpcs
deleted
100755 → 0
File deleted
tools/phpstan
deleted
100755 → 0
File deleted
Please register or sign in to comment