|
79 | 79 | }, |
80 | 80 | "autoload-dev": { |
81 | 81 | "psr-4": { |
82 | | - "Tests\\": "tests/" |
| 82 | + "Tests\\": "tests/src/" |
83 | 83 | } |
84 | 84 | }, |
85 | 85 | "config": { |
|
123 | 123 | "post-create-project-cmd": [ |
124 | 124 | "@php artisan key:generate --ansi" |
125 | 125 | ], |
126 | | - "cs:diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff", |
127 | | - "cs:fix": "php vendor/bin/php-cs-fixer fix -v", |
128 | | - "deptrac": "php vendor/bin/deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache", |
129 | | - "deptrac:ci": "php vendor/bin/deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache --formatter github-actions", |
130 | | - "deptrac:gv": "php vendor/bin/deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache --formatter graphviz-image --output ../assets/deptrac.svg", |
| 126 | + "cs:diff": "php-cs-fixer fix --dry-run -v --diff", |
| 127 | + "cs:fix": "php-cs-fixer fix -v", |
| 128 | + "deptrac": "deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache", |
| 129 | + "deptrac:ci": "deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache --formatter github-actions", |
| 130 | + "deptrac:gv": "deptrac analyse --config-file=deptrac.yaml -v --cache-file=.build/.deptrac.cache --formatter graphviz-image --output ../assets/deptrac.svg", |
131 | 131 | "infect": [ |
132 | 132 | "Composer\\Config::disableProcessTimeout", |
133 | 133 | "@putenv XDEBUG_MODE=coverage", |
|
138 | 138 | "@putenv XDEBUG_MODE=coverage", |
139 | 139 | "php -d memory_limit=2G vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ansi --logger-github --ignore-msi-with-no-mutations --only-covered" |
140 | 140 | ], |
141 | | - "psalm": "php vendor/bin/psalm --show-info=true", |
142 | | - "psalm:baseline": "php vendor/bin/psalm --set-baseline=psalm-baseline.xml", |
143 | | - "psalm:ci": "php vendor/bin/psalm --output-format=github --shepherd --show-info=false --stats --threads=4", |
144 | | - "stan": "php vendor/bin/phpstan analyse --memory-limit=2G", |
145 | | - "stan:baseline": "php vendor/bin/phpstan analyse --generate-baseline --memory-limit=2G --allow-empty-baseline", |
146 | | - "stan:ci": "php vendor/bin/phpstan analyse --memory-limit=2G --error-format=github", |
| 141 | + "psalm": "psalm --show-info=true", |
| 142 | + "psalm:baseline": "psalm --set-baseline=psalm-baseline.xml", |
| 143 | + "psalm:ci": "psalm --output-format=github --shepherd --show-info=false --stats --threads=4", |
| 144 | + "stan": "phpstan analyse --memory-limit=2G", |
| 145 | + "stan:baseline": "phpstan analyse --generate-baseline --memory-limit=2G --allow-empty-baseline", |
| 146 | + "stan:ci": "phpstan analyse --memory-limit=2G --error-format=github", |
147 | 147 | "test": [ |
148 | 148 | "@putenv XDEBUG_MODE=coverage", |
149 | 149 | "@putenv DB_CONNECTION=memory", |
150 | | - "php vendor/bin/pest --color=always" |
| 150 | + "pest --color=always" |
| 151 | + ], |
| 152 | + "test:arch": [ |
| 153 | + "@putenv XDEBUG_MODE=coverage", |
| 154 | + "@putenv DB_CONNECTION=memory", |
| 155 | + "pest --color=always --configuration pest.xml.dist" |
151 | 156 | ], |
152 | 157 | "test:cc": [ |
153 | 158 | "@putenv XDEBUG_MODE=coverage", |
154 | 159 | "@putenv DB_CONNECTION=memory", |
155 | | - "php vendor/bin/pest --coverage --coverage-clover=.build/phpunit/logs/clover.xml --color=always" |
| 160 | + "pest --coverage --coverage-clover=.build/phpunit/logs/clover.xml --color=always" |
| 161 | + ], |
| 162 | + "test:pgsql": [ |
| 163 | + "@putenv XDEBUG_MODE=coverage", |
| 164 | + "@putenv DB_CONNECTION=pgsql", |
| 165 | + "pest --color=always" |
156 | 166 | ] |
157 | 167 | } |
158 | 168 | } |
0 commit comments