|
11 | 11 | "license": "MIT",
|
12 | 12 | "require": {
|
13 | 13 | "php": "^7.2",
|
| 14 | + "psr/event-dispatcher": "^1.0", |
14 | 15 | "setono/tag-bag-bundle": "^1.0",
|
15 | 16 | "sylius/sylius": "^1.3.0",
|
16 |
| - "thecodingmachine/safe": "^0.1.14" |
17 |
| - }, |
18 |
| - "conflict": { |
19 |
| - "friends-of-behat/symfony-extension": ">=2.0.5 <= 2.0.8", |
20 |
| - "symfony/browser-kit": "4.1.8", |
21 |
| - "symfony/dependency-injection": "4.1.8", |
22 |
| - "symfony/doctrine-bridge": "4.3.0", |
23 |
| - "symfony/dom-crawler": "4.1.8", |
24 |
| - "symfony/routing": "4.1.8", |
25 |
| - "symfony/symfony": "4.1.8" |
| 17 | + "thecodingmachine/safe": "^0.1.16" |
26 | 18 | },
|
27 | 19 | "require-dev": {
|
28 | 20 | "behat/behat": "^3.4",
|
|
34 | 26 | "friends-of-behat/suite-settings-extension": "^1.0",
|
35 | 27 | "friends-of-behat/symfony-extension": "^2.0",
|
36 | 28 | "friends-of-behat/variadic-extension": "^1.1",
|
| 29 | + "korbeil/phpstan-generic-rules": "^0.2.1", |
37 | 30 | "lakion/mink-debug-extension": "^1.2.3",
|
38 | 31 | "localheinz/composer-normalize": "^1.1",
|
39 | 32 | "phpspec/phpspec": "^5.0",
|
40 |
| - "phpstan/phpstan-doctrine": "^0.10", |
41 |
| - "phpstan/phpstan-shim": "^0.10", |
42 |
| - "phpstan/phpstan-symfony": "^0.10", |
43 |
| - "phpstan/phpstan-webmozart-assert": "^0.10", |
44 |
| - "phpunit/phpunit": "^7.0", |
| 33 | + "phpstan/phpstan": "^0.11", |
| 34 | + "phpstan/phpstan-doctrine": "^0.11", |
| 35 | + "phpstan/phpstan-strict-rules": "^0.11", |
| 36 | + "phpstan/phpstan-webmozart-assert": "^0.11", |
| 37 | + "phpunit/phpunit": "^8.0", |
45 | 38 | "roave/security-advisories": "dev-master",
|
46 | 39 | "sensiolabs/security-checker": "^5.0",
|
47 | 40 | "setono/sylius-tag-bag-plugin": "^1.0",
|
48 |
| - "sylius-labs/coding-standard": "^2.0", |
| 41 | + "sylius-labs/coding-standard": "^3.1", |
49 | 42 | "symfony/browser-kit": "^3.4 || ^4.1",
|
50 | 43 | "symfony/debug-bundle": "^3.4 || ^4.1",
|
51 | 44 | "symfony/dotenv": "^4.2",
|
52 | 45 | "symfony/intl": "^3.4 || ^4.1",
|
53 | 46 | "symfony/web-profiler-bundle": "^3.4 || ^4.1",
|
54 |
| - "symfony/web-server-bundle": "^3.4 || ^4.1" |
| 47 | + "symfony/web-server-bundle": "^3.4 || ^4.1", |
| 48 | + "thecodingmachine/phpstan-safe-rule": "^0.1" |
55 | 49 | },
|
56 | 50 | "config": {
|
57 | 51 | "sort-packages": true
|
|
74 | 68 | },
|
75 | 69 | "prefer-stable": true,
|
76 | 70 | "scripts": {
|
77 |
| - "analyse": [ |
78 |
| - "@ensure-test-container-exists", |
79 |
| - "./vendor/bin/phpstan analyse -c phpstan.neon -l max src" |
80 |
| - ], |
| 71 | + "analyse": "vendor/bin/phpstan analyse -c phpstan.neon -l max src", |
81 | 72 | "check-style": "vendor/bin/ecs check --ansi spec src",
|
82 |
| - "ensure-test-container-exists": "[[ -f tests/Application/var/cache/test/ApplicationTests_Setono_SyliusFacebookTrackingPlugin_Application_KernelTestDebugContainer.xml ]] || (cd tests/Application && php -d memory_limit=-1 bin/console cache:clear --env=test)", |
83 | 73 | "fix-style": "vendor/bin/ecs check --ansi spec src --fix",
|
84 | 74 | "phpspec": "vendor/bin/phpspec run --ansi",
|
85 | 75 | "phpunit": "vendor/bin/phpunit",
|
|
0 commit comments