{ "type": "project", "license": "MIT", "require": { "php": "7.4.*", "ext-apcu": "5.1.*", "ext-ctype": "7.4.*", "ext-iconv": "7.4.*", "symfony/console": "5.2.*", "symfony/dotenv": "5.2.*", "symfony/flex": "^1.3.1", "symfony/framework-bundle": "5.2.*", "symfony/monolog-bundle": "^3.6", "symfony/yaml": "5.2.*" }, "replace": { "symfony/polyfill-ctype": "*", "symfony/polyfill-iconv": "*", "symfony/polyfill-php72": "*" }, "require-dev": { "codeception/codeception": "^4.1", "codeception/module-asserts": "^1.3", "codeception/module-phpbrowser": "^1.0", "codeception/module-rest": "^1.2", "ergebnis/composer-normalize": "^2.13", "friendsofphp/php-cs-fixer": "^2.18", "php-parallel-lint/php-parallel-lint": "^1.2", "roave/security-advisories": "dev-master" }, "config": { "apcu-autoloader": true, "cache-files-ttl": 7776000, "discard-changes": true, "optimize-autoloader": true, "preferred-install": { "*": "dist" }, "sort-packages": true }, "extra": { "composer-normalize": { "indent-size": 4, "indent-style": "space" }, "symfony": { "allow-contrib": false, "require": "5.2.*" } }, "autoload": { "psr-4": { "App\\": "src/" } }, "autoload-dev": { "psr-4": { "App\\Tests\\": "tests/", "App\\Tests\\Helper\\": "tests/_support/Helper", "App\\Tests\\_generated\\": "tests/_support/_generated" } }, "minimum-stability": "stable", "prefer-stable": true, "scripts": { "post-install-cmd": [ "@auto-scripts" ], "post-update-cmd": [ "@auto-scripts" ], "auto-scripts": { "cache:clear": "symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd" }, "codecept": "codecept -c tests/codeception.yml", "json-cs-fix": "composer normalize", "lint:php": [ "parallel-lint --no-progress --no-colors --blame ./bin/console", "parallel-lint --no-progress --no-colors --blame ./config/bundles.php", "parallel-lint --no-progress --no-colors --blame ./config/preload.php", "parallel-lint --no-progress --no-colors --blame ./public/index.php", "parallel-lint --no-progress --no-colors --blame ./src", "parallel-lint --no-progress --no-colors --blame ./tests/_support/Helper", "parallel-lint --no-progress --no-colors --blame ./tests/_support/AcceptanceTester.php", "parallel-lint --no-progress --no-colors --blame ./tests/_support/ApiTester.php", "parallel-lint --no-progress --no-colors --blame ./tests/_support/UnitTester.php", "parallel-lint --no-progress --no-colors --blame ./tests/acceptance", "parallel-lint --no-progress --no-colors --blame ./tests/api", "parallel-lint --no-progress --no-colors --blame ./tests/unit", "parallel-lint --no-progress --no-colors --blame ./.php_cs" ], "lint:yaml": [ "bin/console --quiet --no-debug l:yaml ./config/packages", "bin/console --quiet --no-debug l:yaml ./config/routes", "bin/console --quiet --no-debug l:yaml ./config/routes.yaml", "bin/console --quiet --no-debug l:yaml ./config/services.yaml", "bin/console --quiet --no-debug l:yaml ./tests/acceptance.suite.yml", "bin/console --quiet --no-debug l:yaml ./tests/api.suite.yml", "bin/console --quiet --no-debug l:yaml ./tests/codeception.yml", "bin/console --quiet --no-debug l:yaml ./tests/unit.suite.yml" ], "php-cs-fix": [ "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache bin/console", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache config/bundles.php", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache config/preload.php", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache public/index.php", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache src", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/_support/Helper", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/_support/AcceptanceTester.php", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/_support/ApiTester.php", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/_support/UnitTester.php", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/acceptance", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/api", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache tests/unit", "php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache .php_cs" ], "prepare-request": [ "@json-cs-fix", "@lint:yaml", "@lint:php", "@lint:container", "@php-cs-fix", "@test:unit", "@test:api", "@test:acceptance" ], "test:acceptance": [ "@codecept build -q", "@codecept run acceptance" ], "test:api": [ "@codecept build -q", "@codecept run api" ], "test:unit": [ "@codecept build -q", "@codecept run unit --no-rebuild --coverage-html --coverage-text --no-colors" ] } }