diff --git a/composer.json b/composer.json index 459c4293..fb66bdc3 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,12 @@ "composer-runtime-api": ">=2.1", "godruoyi/php-snowflake": "^3.1.1", "guzzlehttp/guzzle": "^7.9.2", - "hunzhiwange/framework": "^2.0.2", + "hunzhiwange/framework": "dev-master", "nesbot/carbon": "^3.8.2", "nyholm/psr7": "^1.8.2", "spiral/dumper": "^2.14.1", "spiral/roadrunner": "^2.12.1", - "symfony/psr-http-message-bridge": "^7.1.6" + "symfony/psr-http-message-bridge": "^7.2.0" }, "require-dev": { "codedungeon/php-cli-colors": "^1.12.2", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 3781e3dd..0a753252 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -46,6 +46,11 @@ parameters: - '#[\S\s]+Swoole[\S\s]+\.#' - '#[\S\s]+throws checked exception ValueError but it\''s missing from the PHPDoc @throws tag\.#' - '#Constructor of class [\S\s]+ has an unused parameter [\S\s]+\.#' + - '#Trait [\S\s]+ is used zero times and is not analysed\.#' + - '#implements generic interface#' + - '#extends generic class#' + - '#with generic class#' + - '#always evaluate to true#' exceptions: uncheckedExceptionClasses: - 'PHPStan\ShouldNotHappenException'