|
19 | 19 | "autoload": {
|
20 | 20 | "psr-4": {
|
21 | 21 | "ServiceBus\\MessageSerializer\\": "src/"
|
22 |
| - } |
| 22 | + }, |
| 23 | + "files": [ |
| 24 | + "src/Symfony/functions.php" |
| 25 | + ] |
23 | 26 | },
|
24 | 27 | "autoload-dev": {
|
25 | 28 | "psr-4": {
|
26 | 29 | "ServiceBus\\Common\\Tests\\": "vendor/php-service-bus/common/tests",
|
27 | 30 | "ServiceBus\\MessageSerializer\\Tests\\": "tests/"
|
28 |
| - } |
| 31 | + }, |
| 32 | + "files": [ |
| 33 | + "src/Symfony/functions.php" |
| 34 | + ] |
29 | 35 | },
|
30 | 36 | "require": {
|
31 |
| - "php": ">=8.0", |
| 37 | + "php": ">=8.1", |
32 | 38 | "ext-json": "*",
|
33 | 39 | "ext-iconv": "*",
|
34 |
| - "php-service-bus/common": "v5.0.*", |
35 |
| - "doctrine/annotations": "v1.11.*", |
36 |
| - "phpdocumentor/reflection-docblock": "v5.2.*", |
37 |
| - "symfony/property-access": "v5.2.*", |
38 |
| - "symfony/property-info": "v5.2.*", |
39 |
| - "symfony/serializer": "v5.2.*" |
| 40 | + "php-service-bus/common": "v5.1.*", |
| 41 | + "doctrine/annotations": "v1.13.*", |
| 42 | + "phpdocumentor/reflection-docblock": "v5.3.*", |
| 43 | + "symfony/property-access": "v5.4.*", |
| 44 | + "symfony/property-info": "v5.4.*", |
| 45 | + "symfony/serializer": "v5.4.*" |
40 | 46 | },
|
41 | 47 | "require-dev": {
|
42 |
| - "php-service-bus/code-style-config": "v1.3.*", |
| 48 | + "php-service-bus/code-style-config": "v5.1.*", |
43 | 49 | "phpunit/phpunit": "v9.5.*",
|
44 |
| - "vimeo/psalm": "v4.6.*", |
45 |
| - "phpstan/phpstan": "v0.12.*" |
| 50 | + "vimeo/psalm": "v4.13.*", |
| 51 | + "phpstan/phpstan": "v1.2.*", |
| 52 | + "boesing/psalm-plugin-stringf": "v1.1.*" |
46 | 53 | },
|
47 | 54 | "prefer-stable": true,
|
48 | 55 | "minimum-stability": "stable",
|
49 | 56 | "scripts": {
|
50 | 57 | "psalm": "rm -rf ~/.cache/psalm/ && ./vendor/bin/psalm --config=psalm.xml",
|
51 |
| - "phpstan": "./vendor/bin/phpstan analyse src --level 7", |
52 |
| - "tests": "./vendor/bin/phpunit --configuration phpunit.xml --debug --verbose --debug", |
53 |
| - "coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html ./coverage --debug --verbose --debug", |
54 |
| - "cs-check": "./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run", |
55 |
| - "cs-fix": "./vendor/bin/php-cs-fixer fix --allow-risky=yes", |
56 |
| - "pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 7 && ./vendor/bin/phpunit --configuration phpunit.xml --verbose" |
| 58 | + "phpstan": "./vendor/bin/phpstan analyse src --level 9", |
| 59 | + "tests": "./vendor/bin/phpunit --configuration phpunit.xml --verbose --debug", |
| 60 | + "coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html ./coverage --verbose --debug", |
| 61 | + "cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run", |
| 62 | + "cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes", |
| 63 | + "pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 9 && ./vendor/bin/phpunit --configuration phpunit.xml --verbose" |
57 | 64 | },
|
58 | 65 | "config": {
|
59 | 66 | "optimize-autoloader": true
|
|
0 commit comments