|
1 | 1 | { |
2 | 2 | "name": "proget-hq/phpstan-yii2", |
3 | | - "description": "Yii2 extension for PHPStan", |
4 | 3 | "type": "library", |
| 4 | + "description": "Yii2 extension for PHPStan", |
| 5 | + "license": "MIT", |
| 6 | + "authors": [ |
| 7 | + { |
| 8 | + "name": "Arkadiusz Kondas", |
| 9 | + "email": "arkadiusz.kondas@gmail.com" |
| 10 | + } |
| 11 | + ], |
5 | 12 | "require": { |
6 | 13 | "php": "^7.1", |
7 | | - "phpstan/phpstan": "^0.10.3", |
8 | | - "nikic/php-parser": "^4.1.0" |
| 14 | + "nikic/php-parser": "^4.1.0", |
| 15 | + "phpstan/phpstan": "^0.10.3" |
9 | 16 | }, |
10 | 17 | "require-dev": { |
11 | | - "phpunit/phpunit": "^7.0", |
| 18 | + "friendsofphp/php-cs-fixer": "^2.13", |
12 | 19 | "phpstan/phpstan-phpunit": "^0.10", |
13 | | - "friendsofphp/php-cs-fixer": "^2.13" |
| 20 | + "phpunit/phpunit": "^7.0" |
14 | 21 | }, |
15 | 22 | "autoload": { |
16 | 23 | "psr-4": { |
|
22 | 29 | "Proget\\Tests\\PHPStan\\Yii2\\": "tests/" |
23 | 30 | } |
24 | 31 | }, |
25 | | - "license": "MIT", |
26 | | - "authors": [ |
27 | | - { |
28 | | - "name": "Arkadiusz Kondas", |
29 | | - "email": "arkadiusz.kondas@gmail.com" |
30 | | - } |
31 | | - ], |
32 | 32 | "scripts": { |
33 | | - "check-cs": "php-cs-fixer fix --dry-run --diff", |
34 | | - "fix-cs": "php-cs-fixer fix", |
35 | | - "tests": "phpunit", |
36 | | - "stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests", |
37 | 33 | "check": [ |
38 | 34 | "@check-cs", |
39 | 35 | "@stan", |
40 | 36 | "@tests" |
41 | | - ] |
| 37 | + ], |
| 38 | + "check-cs": "php-cs-fixer fix --dry-run --diff", |
| 39 | + "fix-cs": "php-cs-fixer fix", |
| 40 | + "stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests", |
| 41 | + "tests": "phpunit" |
42 | 42 | } |
43 | 43 | } |
0 commit comments