- Add friendsofphp/php-cs-fixer to require-dev - Create .php-cs-fixer.dist.php configured for @PSR12 ruleset - Add php-cs-fixer dry-run step to CI pipeline - Auto-fix existing PSR-12 violations - Document code style tooling in readme.md
84 lines
2.1 KiB
JSON
84 lines
2.1 KiB
JSON
{
|
|
"type": "project",
|
|
"license": "MIT",
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true,
|
|
"require": {
|
|
"php": ">=8.4",
|
|
"ext-ctype": "*",
|
|
"ext-iconv": "*",
|
|
"bacon/bacon-qr-code": "^3.1.1",
|
|
"runtime/frankenphp-symfony": "^1.0.0",
|
|
"spomky-labs/otphp": "^11.4.2",
|
|
"symfony/cache": "7.4.*",
|
|
"symfony/console": "7.4.*",
|
|
"symfony/flex": "^2.11",
|
|
"symfony/framework-bundle": "7.4.*",
|
|
"symfony/mime": "7.4.*",
|
|
"symfony/rate-limiter": "7.4.*",
|
|
"symfony/runtime": "7.4.*",
|
|
"symfony/twig-bundle": "7.4.*",
|
|
"symfony/uid": "7.4.*",
|
|
"symfony/yaml": "7.4.*"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"php-http/discovery": true,
|
|
"symfony/flex": true,
|
|
"symfony/runtime": true
|
|
},
|
|
"bump-after-update": true,
|
|
"sort-packages": true
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"App\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"replace": {
|
|
"symfony/polyfill-ctype": "*",
|
|
"symfony/polyfill-iconv": "*",
|
|
"symfony/polyfill-php72": "*",
|
|
"symfony/polyfill-php73": "*",
|
|
"symfony/polyfill-php74": "*",
|
|
"symfony/polyfill-php80": "*",
|
|
"symfony/polyfill-php81": "*",
|
|
"symfony/polyfill-php82": "*"
|
|
},
|
|
"scripts": {
|
|
"auto-scripts": {
|
|
"cache:clear": "symfony-cmd",
|
|
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
|
},
|
|
"post-install-cmd": [
|
|
"@auto-scripts"
|
|
],
|
|
"post-update-cmd": [
|
|
"@auto-scripts"
|
|
]
|
|
},
|
|
"conflict": {
|
|
"symfony/symfony": "*"
|
|
},
|
|
"extra": {
|
|
"runtime": {
|
|
"class": "Runtime\\FrankenPhpSymfony\\Runtime"
|
|
},
|
|
"symfony": {
|
|
"allow-contrib": false,
|
|
"require": "7.4.*"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "*",
|
|
"phpunit/phpunit": "^13.2",
|
|
"symfony/browser-kit": "7.4.*",
|
|
"symfony/css-selector": "7.4.*"
|
|
}
|
|
}
|