Installe friendsofphp/php-cs-fixer en require-dev, configure le style PSR-12 avec guillemets simples et alignement des =>, et formate les fichiers PHP existants. Ajoute la config VS Codium pour le format on save. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
42 lines
911 B
JSON
42 lines
911 B
JSON
{
|
|
"name": "getkirby/plainkit",
|
|
"description": "Kirby Plainkit",
|
|
"type": "project",
|
|
"keywords": [
|
|
"kirby",
|
|
"cms",
|
|
"plainkit"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Bastian Allgeier",
|
|
"email": "bastian@getkirby.com",
|
|
"homepage": "https://getkirby.com"
|
|
}
|
|
],
|
|
"homepage": "https://getkirby.com",
|
|
"support": {
|
|
"email": "support@getkirby.com",
|
|
"forum": "https://forum.getkirby.com",
|
|
"source": "https://github.com/getkirby/plainkit"
|
|
},
|
|
"require": {
|
|
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
|
|
"getkirby/cms": "^5.2"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"getkirby/composer-installer": true
|
|
},
|
|
"optimize-autoloader": true
|
|
},
|
|
"scripts": {
|
|
"start": [
|
|
"Composer\\Config::disableProcessTimeout",
|
|
"@php -S localhost:8000 kirby/router.php"
|
|
]
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^3.95"
|
|
}
|
|
}
|