|
11 | 11 | ], |
12 | 12 | "require": { |
13 | 13 | "php": "^7.2 || ^8.0", |
14 | | - "doctrine/annotations": "^1.12", |
15 | | - "doctrine/cache": "^1.10 | ^2.1", |
| 14 | + "doctrine/cache": "^1.10 || ^2.1", |
16 | 15 | "koriym/attributes": "^1.0.4", |
17 | 16 | "koriym/null-object": "^1.0", |
18 | 17 | "koriym/param-reader": "^1.0", |
19 | 18 | "koriym/printo": "^1.0", |
20 | 19 | "nikic/php-parser": "^4.13.2", |
21 | | - "ray/aop": "^2.12.3", |
| 20 | + "ray/aop": "^2.14", |
22 | 21 | "ray/compiler": "^1.9.1" |
23 | 22 | }, |
24 | 23 | "require-dev": { |
|
44 | 43 | "files": ["tests/deleteFiles.php"] |
45 | 44 | }, |
46 | 45 | "scripts": { |
47 | | - "post-install-cmd": ["@composer bin all install --ansi"], |
48 | | - "post-update-cmd": ["@composer bin all update --ansi"], |
49 | | - "test": "./vendor/bin/phpunit --log-junit=build/junit.xml", |
| 46 | + "test": "phpunit --log-junit=build/junit.xml", |
50 | 47 | "tests": ["@cs", "@sa", "@test"], |
51 | 48 | "coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"], |
52 | 49 | "pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"], |
53 | | - "cs": ["./vendor/bin/phpcs --standard=./phpcs.xml src tests"], |
54 | | - "cs-fix": ["./vendor/bin/phpcbf src tests"], |
55 | | - "clean": ["./vendor/bin/phpstan clear-result-cache", "./vendor/bin/psalm --clear-cache", "rm -rf tests/tmp/*.php"], |
56 | | - "sa": ["./vendor/bin/psalm -c psalm.xml --show-info=true", "./vendor/bin/phpstan analyse -c phpstan.neon --no-progress "], |
57 | | - "metrics": ["@test", "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"], |
58 | | - "phpmd": ["./vendor/bin/phpmd src/di text ./phpmd.xml"], |
| 50 | + "cs": ["phpcs --standard=./phpcs.xml src tests"], |
| 51 | + "cs-fix": ["phpcbf src tests"], |
| 52 | + "clean": ["phpstan clear-result-cache", "psalm --clear-cache", "rm -rf tests/tmp/*.php"], |
| 53 | + "sa": ["psalm -m -c psalm.xml --show-info=true", "phpstan analyse -c phpstan.neon --no-progress "], |
| 54 | + "metrics": ["@test", "phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"], |
| 55 | + "phpmd": ["phpmd src/di text ./phpmd.xml"], |
59 | 56 | "build": ["@cs", "@sa", "@pcov", "@metrics"] |
60 | 57 | }, |
61 | 58 | "extra": { |
62 | 59 | "bamarni-bin": { |
63 | 60 | "bin-links": true, |
64 | | - "target-directory": "vendor-bin", |
65 | | - "forward-command": false |
| 61 | + "forward-command": true |
66 | 62 | } |
67 | 63 | } |
68 | 64 | } |
0 commit comments