ContributionStore uses a typed class constant (PHP 8.3+), but composer.json still allowed 8.2. PHPStan 2.3 reads the constraint and fails on it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "haylan/git-contribution-graph",
|
|
"description": "Unified contribution graph SVG for GitHub, GitLab and Gitea",
|
|
"type": "project",
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": ">=8.3",
|
|
"monolog/monolog": "^3.10",
|
|
"symfony/cache": "7.4.*",
|
|
"symfony/console": "7.4.*",
|
|
"symfony/flex": "^2",
|
|
"symfony/framework-bundle": "7.4.*",
|
|
"symfony/http-client": "7.4.*",
|
|
"symfony/monolog-bundle": "^4.0",
|
|
"symfony/runtime": "7.4.*",
|
|
"symfony/yaml": "7.4.*"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"GitContributionGraph\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"GitContributionGraph\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"phpstan/phpstan": "^2.2",
|
|
"phpunit/phpunit": "^11.5",
|
|
"symfony/phpunit-bridge": "^7.4"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"symfony/flex": true,
|
|
"symfony/runtime": true
|
|
}
|
|
},
|
|
"extra": {
|
|
"symfony": {
|
|
"allow-contrib": false,
|
|
"require": "7.4.*"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"phpstan": "phpstan analyse --memory-limit=512M"
|
|
}
|
|
}
|