|
| 1 | +{ |
| 2 | + "name": "beste/php-cs-fixer-config", |
| 3 | + "description": "PHP CS Fixer Config used in BESTE projects", |
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
| 6 | + "authors": [ |
| 7 | + { |
| 8 | + "name": "Jérôme Gamez", |
| 9 | + "email": "jerome@gamez.name" |
| 10 | + } |
| 11 | + ], |
| 12 | + "require": { |
| 13 | + "php": "~8.0.0 || ~8.1.0" |
| 14 | + }, |
| 15 | + "require-dev": { |
| 16 | + "ergebnis/composer-normalize": "^2.28", |
| 17 | + "ergebnis/php-cs-fixer-config": "^4.4", |
| 18 | + "ergebnis/phpstan-rules": "^1.0", |
| 19 | + "phpstan/extension-installer": "^1.1", |
| 20 | + "phpstan/phpstan": "^1.8", |
| 21 | + "phpstan/phpstan-deprecation-rules": "^1.0", |
| 22 | + "phpstan/phpstan-phpunit": "^1.1.1", |
| 23 | + "phpstan/phpstan-strict-rules": "^1.3.0", |
| 24 | + "phpunit/phpunit": "^9.5" |
| 25 | + }, |
| 26 | + "autoload": { |
| 27 | + "psr-4": { |
| 28 | + "Beste\\PhpCsFixer\\": "src" |
| 29 | + } |
| 30 | + }, |
| 31 | + "autoload-dev": { |
| 32 | + "psr-4": { |
| 33 | + "Beste\\PhpCsFixer\\Tests\\": "tests" |
| 34 | + } |
| 35 | + }, |
| 36 | + "config": { |
| 37 | + "allow-plugins": { |
| 38 | + "phpstan/extension-installer": true, |
| 39 | + "composer/package-versions-deprecated": true, |
| 40 | + "ergebnis/composer-normalize": true |
| 41 | + }, |
| 42 | + "sort-packages": true |
| 43 | + }, |
| 44 | + "scripts": { |
| 45 | + "cs": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --verbose", |
| 46 | + "phpstan": "vendor/bin/phpstan analyse", |
| 47 | + "phpunit": "vendor/bin/phpunit", |
| 48 | + "test": [ |
| 49 | + "@phpstan", |
| 50 | + "@phpunit" |
| 51 | + ] |
| 52 | + }, |
| 53 | + "scripts-descriptions": { |
| 54 | + "cs": "Applies coding standards", |
| 55 | + "phpstan": "Runs static analysis with PHPStan", |
| 56 | + "phpunit": "Runs tests with PHPUnit", |
| 57 | + "test": "Runs static analysis and test suites" |
| 58 | + } |
| 59 | +} |
0 commit comments