Implement lint

This commit is contained in:
2026-08-27 12:45:30 +02:00
parent 171db88400
commit 17009b641f
41 changed files with 70402 additions and 580 deletions
+8
View File
@@ -13,9 +13,13 @@
}
],
"require": {
"php": ">=8.5",
"franzz/objects": "dev-vue",
"phpmailer/phpmailer": "^7.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.75"
},
"autoload": {
"psr-4": {
"Franzz\\Livetrail\\": "lib/",
@@ -24,5 +28,9 @@
"files": [
"config/settings.php"
]
},
"scripts": {
"lint": "php-cs-fixer fix --dry-run --diff",
"lint-fix": "php-cs-fixer fix"
}
}