forked from fa/breadcrumb-the-shire
- Upgrade phpstan/phpstan 1.12 → 2.1 - Add tomasvotruba/unused-public 2.2 for automatic dead code detection - Generate baseline (486 existing findings) to keep CI green - Remove stale @phpstan-ignore annotation in login page (ternary.alwaysFalse) - New code is fully checked against PHPStan 2 + unused-public rules Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"name": "mintyphp/mintyphp",
|
|
"description": "A refreshingly different PHP web framework that is easy to learn",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Maurits van der Schee",
|
|
"email": "maurits@vdschee.nl",
|
|
"homepage": "https://www.tqdev.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.5",
|
|
"mintyphp/core": "*",
|
|
"phpmailer/phpmailer": "^7.0",
|
|
"dompdf/dompdf": "^3.1",
|
|
"endroid/qr-code": "^6.0",
|
|
"league/commonmark": "^2.8",
|
|
"opis/json-schema": "^2.6"
|
|
},
|
|
"require-dev": {
|
|
"mintyphp/tools": "*",
|
|
"mintyphp/debugger": "*",
|
|
"phpunit/phpunit": "*",
|
|
"phpstan/phpstan": "^2.1",
|
|
"icanhazstring/composer-unused": "^0.9.6",
|
|
"friendsofphp/php-cs-fixer": "^3.66",
|
|
"tomasvotruba/unused-public": "^2.2"
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"MintyPHP\\Tests\\": "tests/",
|
|
"MintyPHP\\Tests\\Module\\Audit\\": "modules/audit/tests/Module/Audit/",
|
|
"MintyPHP\\Tests\\Module\\Helpdesk\\": "modules/helpdesk/tests/Module/Helpdesk/"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"MintyPHP\\": "core/",
|
|
"MintyPHP\\Module\\Audit\\": "modules/audit/lib/Module/Audit/",
|
|
"MintyPHP\\Module\\Helpdesk\\": "modules/helpdesk/lib/Module/Helpdesk/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"cs:check": "php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --diff --verbose",
|
|
"cs:fix": "php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.dist.php --verbose"
|
|
}
|
|
}
|