|
| 1 | +{ |
| 2 | + "name": "sulu/product-bundle", |
| 3 | + "type": "symfony-bundle", |
| 4 | + "description": "Sulu Product Bundle", |
| 5 | + "license": "MIT", |
| 6 | + "require": { |
| 7 | + "php": "^8.2", |
| 8 | + "cmsig/seal": "^0.12", |
| 9 | + "doctrine/collections": "^2.0", |
| 10 | + "doctrine/orm": "^3.0", |
| 11 | + "sulu/messenger": "^1.0", |
| 12 | + "sulu/sulu": "~3.0", |
| 13 | + "symfony/config": "^7.0", |
| 14 | + "symfony/dependency-injection": "^7.0", |
| 15 | + "symfony/event-dispatcher": "^7.0", |
| 16 | + "symfony/http-foundation": "^7.0", |
| 17 | + "symfony/http-kernel": "^7.0", |
| 18 | + "symfony/messenger": "^7.0", |
| 19 | + "symfony/routing": "^7.0", |
| 20 | + "symfony/security-core": "^7.0", |
| 21 | + "symfony/serializer": "^7.0", |
| 22 | + "symfony/translation-contracts": "^3.0", |
| 23 | + "symfony/uid": "^7.0", |
| 24 | + "twig/twig": "^3.0", |
| 25 | + "webmozart/assert": "^1.0" |
| 26 | + }, |
| 27 | + "require-dev": { |
| 28 | + "ext-filter": "*", |
| 29 | + "handcraftedinthealps/code-coverage-checker": "^0.2.1", |
| 30 | + "jangregor/phpstan-prophecy": "^2.0", |
| 31 | + "php-cs-fixer/shim": "^3.14", |
| 32 | + "phpspec/prophecy": "^1.0", |
| 33 | + "phpspec/prophecy-phpunit": "^2.0", |
| 34 | + "phpstan/phpstan": "^2.0", |
| 35 | + "phpstan/phpstan-doctrine": "^2.0", |
| 36 | + "phpstan/phpstan-phpunit": "^2.0", |
| 37 | + "phpstan/phpstan-symfony": "^2.0", |
| 38 | + "phpstan/phpstan-webmozart-assert": "^2.0", |
| 39 | + "phpunit/phpunit": "^11.0", |
| 40 | + "rector/rector": "^2.0", |
| 41 | + "shipmonk/composer-dependency-analyser": "^1.0", |
| 42 | + "spaze/phpstan-disallowed-calls": "^4.7", |
| 43 | + "symfony/browser-kit": "^8.0", |
| 44 | + "symfony/console": "^7.0", |
| 45 | + "symfony/dotenv": "^7.0", |
| 46 | + "symfony/framework-bundle": "^7.0", |
| 47 | + "cmsig/seal-memory-adapter": "^0.12.10" |
| 48 | + }, |
| 49 | + "autoload": { |
| 50 | + "psr-4": { |
| 51 | + "Sulu\\Product\\": "src/" |
| 52 | + } |
| 53 | + }, |
| 54 | + "autoload-dev": { |
| 55 | + "psr-4": { |
| 56 | + "Sulu\\Product\\Tests\\": "tests/", |
| 57 | + "Sulu\\Content\\Tests\\": "vendor/sulu/sulu/packages/content/tests/" |
| 58 | + } |
| 59 | + }, |
| 60 | + "scripts": { |
| 61 | + "bootstrap-test-environment": [ |
| 62 | + "@php tests/Application/bin/console.php doctrine:database:drop --if-exists --force --env test", |
| 63 | + "@php tests/Application/bin/console.php doctrine:database:create --env test", |
| 64 | + "@php tests/Application/bin/console.php doctrine:schema:update --force --complete --env test" |
| 65 | + ], |
| 66 | + "test": "@php vendor/bin/phpunit", |
| 67 | + "test-with-coverage": "@php vendor/bin/phpunit --coverage-php tests/reports/coverage.php --coverage-html tests/reports/html --log-junit tests/reports/junit.xml", |
| 68 | + "check-coverage": "@php vendor/bin/code-coverage-checker \"tests/reports/coverage.php\" \"line\" \"100.00\"", |
| 69 | + "lint": [ |
| 70 | + "@lint-composer", |
| 71 | + "@lint-composer-dependencies", |
| 72 | + "@lint-doctrine", |
| 73 | + "@lint-container", |
| 74 | + "@lint-yaml", |
| 75 | + "@lint-rector", |
| 76 | + "@php-cs", |
| 77 | + "@phpstan" |
| 78 | + ], |
| 79 | + "fix": [ |
| 80 | + "@rector", |
| 81 | + "@php-cs-fix" |
| 82 | + ], |
| 83 | + "phpstan": [ |
| 84 | + "@php tests/Application/bin/console.php cache:warmup --env test", |
| 85 | + "@php vendor/bin/phpstan analyse" |
| 86 | + ], |
| 87 | + "php-cs": "@php vendor/bin/php-cs-fixer fix --verbose --diff --dry-run", |
| 88 | + "php-cs-fix": "@php vendor/bin/php-cs-fixer fix", |
| 89 | + "lint-rector": [ |
| 90 | + "Composer\\Config::disableProcessTimeout", |
| 91 | + "@php tests/Application/bin/console.php cache:warmup --env test", |
| 92 | + "@php vendor/bin/rector process --dry-run" |
| 93 | + ], |
| 94 | + "rector": [ |
| 95 | + "Composer\\Config::disableProcessTimeout", |
| 96 | + "@php vendor/bin/rector process" |
| 97 | + ], |
| 98 | + "lint-composer": "@composer validate --strict", |
| 99 | + "lint-composer-dependencies": "@php vendor/bin/composer-dependency-analyser", |
| 100 | + "lint-doctrine": "@php tests/Application/bin/console.php doctrine:schema:validate --skip-sync --env test", |
| 101 | + "lint-container": "@php tests/Application/bin/console.php lint:container --env test", |
| 102 | + "lint-yaml": "@php tests/Application/bin/console.php lint:yaml tests/Application/config --env test" |
| 103 | + }, |
| 104 | + "config": { |
| 105 | + "allow-plugins": { |
| 106 | + "php-http/discovery": true |
| 107 | + } |
| 108 | + } |
| 109 | +} |
0 commit comments