|
4 | 4 | "description": "Add barcodes to your products using this plugin", |
5 | 5 | "license": "MIT", |
6 | 6 | "require": { |
7 | | - "php": ">=7.3", |
| 7 | + "php": ">=7.4", |
8 | 8 | "doctrine/persistence": "^1.3 || ^2.0", |
9 | 9 | "setono/doctrine-orm-batcher-bundle": "^0.3.1", |
10 | 10 | "sylius/sylius": "^1.3", |
11 | | - "symfony/config": "^4.4 || ^5.0", |
12 | | - "symfony/event-dispatcher": "^4.4 || ^5.0", |
13 | | - "symfony/messenger": "^4.4 || ^5.0", |
| 11 | + "symfony/config": "^4.4 || ^5.4", |
| 12 | + "symfony/event-dispatcher": "^4.4 || ^5.4", |
| 13 | + "symfony/event-dispatcher-contracts": "^1.0 || ^2.0 || ^3.0", |
| 14 | + "symfony/messenger": "^4.4 || ^5.4", |
14 | 15 | "thecodingmachine/safe": "^1.0", |
15 | 16 | "violuke/php-barcodes": "^1.0" |
16 | 17 | }, |
|
20 | 21 | "behat/mink-browserkit-driver": "^1.3", |
21 | 22 | "behat/mink-extension": "^2.2", |
22 | 23 | "behat/mink-selenium2-driver": "^1.3", |
23 | | - "ergebnis/composer-normalize": "^2.0", |
24 | 24 | "friends-of-behat/page-object-extension": "^0.3", |
25 | 25 | "friends-of-behat/suite-settings-extension": "^1.0", |
26 | 26 | "friends-of-behat/symfony-extension": "^2.0", |
27 | 27 | "friends-of-behat/variadic-extension": "^1.1", |
28 | 28 | "lakion/mink-debug-extension": "^1.2.3", |
29 | 29 | "phpspec/phpspec": "^6.1", |
30 | | - "phpstan/phpstan": "^0.12", |
31 | | - "phpstan/phpstan-doctrine": "^0.12", |
32 | | - "phpstan/phpstan-strict-rules": "^0.12", |
33 | | - "phpstan/phpstan-webmozart-assert": "^0.12", |
34 | 30 | "phpunit/phpunit": "^8.3", |
35 | 31 | "roave/security-advisories": "dev-latest", |
36 | 32 | "sensiolabs/security-checker": "^5.0", |
37 | | - "sylius-labs/coding-standard": "^3.1", |
| 33 | + "setono/code-quality-pack": "^2.1.3", |
38 | 34 | "symfony/browser-kit": "^4.4 || ^5.0", |
39 | 35 | "symfony/debug-bundle": "^4.4 || ^5.0", |
40 | 36 | "symfony/dotenv": "^4.4 || ^5.0", |
41 | 37 | "symfony/intl": "^4.4 || ^5.0", |
42 | 38 | "symfony/web-profiler-bundle": "^4.4 || ^5.0", |
43 | | - "symfony/web-server-bundle": "^4.4 || ^5.0", |
44 | | - "thecodingmachine/phpstan-safe-rule": "^1.0" |
| 39 | + "symfony/web-server-bundle": "^4.4 || ^5.0" |
45 | 40 | }, |
46 | 41 | "config": { |
47 | 42 | "sort-packages": true, |
48 | 43 | "allow-plugins": { |
49 | 44 | "symfony/thanks": true, |
50 | | - "ergebnis/composer-normalize": true |
| 45 | + "ergebnis/composer-normalize": true, |
| 46 | + "dealerdirect/phpcodesniffer-composer-installer": false |
51 | 47 | } |
52 | 48 | }, |
53 | 49 | "extra": { |
|
72 | 68 | "@checks", |
73 | 69 | "@tests" |
74 | 70 | ], |
75 | | - "analyse": "vendor/bin/phpstan analyse -c phpstan.neon -l max src/", |
| 71 | + "analyse": "psalm", |
76 | 72 | "assets": [ |
77 | 73 | "@ensure-assets-installed", |
78 | 74 | "@ensure-assets-compiled" |
|
82 | 78 | "SYMFONY_ENV=test composer ensure-env-copied", |
83 | 79 | "vendor/bin/behat --tags=\"~@javascript\" --no-interaction --format=progress" |
84 | 80 | ], |
85 | | - "check-style": "vendor/bin/ecs check src/ spec/", |
| 81 | + "check-style": "ecs check", |
86 | 82 | "checks": [ |
87 | 83 | "composer validate --strict", |
88 | 84 | "composer normalize --dry-run", |
|
101 | 97 | "ensure-env-test-copied": "(cd tests/Application && ([[ -f .env.test.local ]] || cp .env.test .env.test.local))", |
102 | 98 | "ensure-schema-updated": "composer ensure-env-copied && (cd tests/Application && bin/console doctrine:schema:update --force -e ${SYMFONY_ENV:-'dev'})", |
103 | 99 | "ensure-vendors-installed": "[[ -f vendor/autoload.php ]] || php -d memory_limit=-1 /usr/local/bin/composer install", |
104 | | - "fix-style": "vendor/bin/ecs check src/ spec/ --fix", |
| 100 | + "fix-style": "ecs check --fix", |
105 | 101 | "fixtures": [ |
106 | 102 | "@ensure-database-ready", |
107 | 103 | "(cd tests/Application && bin/console sylius:fixtures:load --no-interaction -e ${SYMFONY_ENV:-'dev'})" |
|
0 commit comments