You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

103 lines
3.2 KiB

{
"type": "project",
"license": "MIT",
"require": {
"php": "7.4.*",
"ext-apcu": "^5.1",
"ext-ctype": "*",
"ext-iconv": "*",
"symfony/console": "5.2.*",
"symfony/dotenv": "5.2.*",
"symfony/flex": "^1.3.1",
"symfony/framework-bundle": "5.2.*",
"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",
"ergebnis/composer-normalize": "^2.13",
"friendsofphp/php-cs-fixer": "^2.18",
"roave/security-advisories": "dev-master",
"codeception/module-rest": "^1.2"
},
"config": {
"apcu-autoloader": true,
"cache-files-ttl": 7776000,
"discard-changes": true,
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
}
},
"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",
"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",
"php vendor/bin/php-cs-fixer fix --cache-file=var/php-cs-fixer/.php-cs.cache .php_cs"
],
"test:api": [
"@codecept build -q",
"@codecept run api"
],
"test:acceptance": [
"@codecept build -q",
"@codecept run acceptance"
],
"test:unit": [
"@codecept build -q",
"@codecept run unit --no-rebuild --coverage-html --coverage-text --no-colors"
],
"prepare": [
"@json-cs-fix",
"@php-cs-fix",
"@test:unit",
"@test:api",
"@test:acceptance"
]
}
}