formwork/composer.json
Giuseppe Criscione 0f87c1b375 Add Rector
2023-12-28 12:44:58 +01:00

44 lines
1.4 KiB
JSON

{
"name": "getformwork/formwork",
"description": "A file-based Content Management System (CMS) to make and manage simple sites",
"type": "project",
"homepage": "https://github.com/getformwork/formwork",
"license": "MIT",
"authors": [
{
"name": "Giuseppe Criscione"
}
],
"autoload": {
"psr-4": {
"Formwork\\": "formwork/src/"
}
},
"require": {
"php": ">=8.1",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-zip": "*",
"symfony/polyfill-ctype": "^1.23",
"symfony/yaml": "^6.2",
"league/commonmark": "^2.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"league/climate": "^3.8",
"symfony/process": "^6.4",
"phpstan/phpstan": "^1.10",
"rector/rector": "^0.18.13"
},
"scripts": {
"fix": "php-cs-fixer fix --config=formwork/.php-cs-fixer.php --cache-file=formwork/.php-cs-fixer.cache --verbose",
"phpstan": "phpstan analyse --configuration=formwork/phpstan.neon",
"phpstan:baseline": "phpstan analyse --configuration=formwork/phpstan.neon --generate-baseline=formwork/phpstan-baseline.neon",
"rector": "rector --config=formwork/.rector.php",
"serve": "php bin/serve"
}
}