-
Reiter, Christoph authored
This way the phpunit dependencies can be pinned.
Reiter, Christoph authoredThis way the phpunit dependencies can be pinned.
This project manages its dependencies using Composer.
Learn more
composer.json 2.99 KiB
{
"name": "dbp/relay-server-template",
"type": "project",
"license": "AGPL-3.0-or-later",
"require": {
"php": ">=7.3",
"dbp/relay-auth-bundle": "^0.1.4",
"dbp/relay-core-bundle": "^0.1.22",
"symfony/apache-pack": "^1.0",
"symfony/console": "^5.4",
"symfony/dotenv": "^5.4",
"symfony/flex": "^1.11",
"symfony/framework-bundle": "^5.4",
"symfony/monolog-bundle": "^3.5",
"symfony/yaml": "^5.4"
},
"config": {
"preferred-install": {
"dbp/*": "source",
"*": "dist"
},
"sort-packages": true,
"platform": {
"php": "7.3"
}
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"vendor/dbp/relay-core-bundle/bin/move-core-bundle.php": "php-script",
"vendor/dbp/relay-core-bundle/bin/disable-database-url.php": "php-script"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
],
"test": [
"@php vendor/bin/phpunit"
],
"coverage": [
"@php vendor/bin/phpunit --coverage-html _coverage"
],
"phpstan": [
"@php vendor/bin/phpstan analyze --ansi"
],
"psalm": [
"@php vendor/bin/psalm"
],
"lint": [
"@composer run cs",
"@composer run phpstan",
"@composer run psalm"
],
"cs-fix": [
"@php vendor/bin/php-cs-fixer --ansi fix"
],
"cs": [
"@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "^5.4",
"endpoint": [
"flex://defaults",
"https://api.github.com/repos/digital-blueprint/symfony-recipes/contents/index.json?ref=flex/main"
]
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.0.2",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^9",
"symfony/browser-kit": "^5.4",
"symfony/debug-bundle": "^5.4",
"symfony/http-client": "^5.4",
"symfony/phpunit-bridge": "^5.4",
"symfony/stopwatch": "^5.4",
"symfony/var-dumper": "^5.4",
"symfony/web-profiler-bundle": "^5.4",
"vimeo/psalm": "^4.2.1"
}
}