|
|
@ -46,19 +46,32 @@ |
|
|
"divineomega/php-ssh-connection": "^2.2" |
|
|
"divineomega/php-ssh-connection": "^2.2" |
|
|
}, |
|
|
}, |
|
|
"require-dev": { |
|
|
"require-dev": { |
|
|
|
|
|
"friendsofphp/php-cs-fixer": "^2.16", |
|
|
"limedeck/phpunit-detailed-printer": "^5.0", |
|
|
"limedeck/phpunit-detailed-printer": "^5.0", |
|
|
"orchestra/testbench": "^4.0|^5.0", |
|
|
"orchestra/testbench": "^4.0|^5.0", |
|
|
|
|
|
"phpstan/phpstan": "^0.12.32", |
|
|
|
|
|
"phpstan/phpstan-strict-rules": "^0.12.2", |
|
|
"phpunit/phpunit": "^8.0", |
|
|
"phpunit/phpunit": "^8.0", |
|
|
|
|
|
"rector/rector": "^0.7.41", |
|
|
"roave/security-advisories": "dev-master", |
|
|
"roave/security-advisories": "dev-master", |
|
|
|
|
|
"thecodingmachine/phpstan-strict-rules": "^0.12.0", |
|
|
"squizlabs/php_codesniffer": "^3.5", |
|
|
"squizlabs/php_codesniffer": "^3.5", |
|
|
"larapack/dd": "^1.1" |
|
|
"larapack/dd": "^1.1" |
|
|
}, |
|
|
}, |
|
|
|
|
|
"config": { |
|
|
|
|
|
"sort-packages": true, |
|
|
|
|
|
"preferred-install": "dist" |
|
|
|
|
|
}, |
|
|
"scripts": { |
|
|
"scripts": { |
|
|
"test": "phpunit --coverage-clover clover.xml", |
|
|
|
|
|
"check": [ |
|
|
|
|
|
"@cs-check" |
|
|
|
|
|
], |
|
|
|
|
|
"cs-check": "phpcs", |
|
|
|
|
|
"cs-fix": "phpcbf" |
|
|
|
|
|
|
|
|
"lint": "rector process src && php-cs-fixer fix -v", |
|
|
|
|
|
"test:lint": "php-cs-fixer fix -v --dry-run", |
|
|
|
|
|
"test:rector": "rector process src --dry-run", |
|
|
|
|
|
"test:types": "phpstan analyse --ansi --memory-limit=0", |
|
|
|
|
|
"test:unit": "phpunit --coverage-clover clover.xml", |
|
|
|
|
|
"test": [ |
|
|
|
|
|
"@test:lint", |
|
|
|
|
|
"@test:types", |
|
|
|
|
|
"@test:unit" |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |