|
35 | 35 | "yiisoft/var-dumper": "^1.0" |
36 | 36 | }, |
37 | 37 | "require-dev": { |
38 | | - "maglnet/composer-require-checker": "^4.4", |
| 38 | + "bamarni/composer-bin-plugin": "^1.8.3", |
| 39 | + "friendsofphp/php-cs-fixer": "^3.93", |
39 | 40 | "phpbench/phpbench": "^1.0", |
40 | 41 | "phpunit/phpunit": "^9.6.23", |
41 | 42 | "rector/rector": "^2.0.17", |
42 | 43 | "roave/infection-static-analysis-plugin": "^1.25", |
43 | 44 | "spatie/phpunit-watcher": "^1.23.6", |
44 | | - "vimeo/psalm": "^4.30 || ^5.26.1 || ^6.12" |
| 45 | + "vimeo/psalm": "^4.30 || ^5.26.1 || ^6.12", |
| 46 | + "yiisoft/code-style": "^1.0" |
45 | 47 | }, |
46 | 48 | "provide": { |
47 | 49 | "psr/log-implementation": "1.0.0" |
|
66 | 68 | } |
67 | 69 | }, |
68 | 70 | "extra": { |
| 71 | + "bamarni-bin": { |
| 72 | + "bin-links": true, |
| 73 | + "forward-command": true, |
| 74 | + "target-directory": "tools" |
| 75 | + }, |
69 | 76 | "config-plugin-options": { |
70 | 77 | "source-directory": "config" |
71 | 78 | }, |
|
77 | 84 | "config": { |
78 | 85 | "sort-packages": true, |
79 | 86 | "allow-plugins": { |
| 87 | + "bamarni/composer-bin-plugin": true, |
80 | 88 | "infection/extension-installer": true, |
81 | 89 | "composer/package-versions-deprecated": true |
82 | 90 | } |
83 | 91 | }, |
84 | 92 | "scripts": { |
85 | 93 | "test": "phpunit --testdox --no-interaction", |
86 | 94 | "test-watch": "phpunit-watcher watch", |
87 | | - "bench": "phpbench run --report=default" |
| 95 | + "bench": "phpbench run --report=default", |
| 96 | + "cs-fix": "php-cs-fixer fix" |
88 | 97 | } |
89 | 98 | } |
0 commit comments