diff --git a/CHANGELOG.md b/CHANGELOG.md index cd83f0c..1ebe0c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org). +## [Unreleased] +### Added +* *Nothing* + +### Changed +* Update to PHPStan 2.0 + +### Deprecated +* *Nothing* + +### Removed +* *Nothing* + +### Fixed +* *Nothing* + + ## [4.2.0] - 2024-11-09 ### Added * Add new `DatabaseTestCase::createRepository()` protected method to create default or custom repositories without duplicating code. diff --git a/composer.json b/composer.json index e02823a..789cd43 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "symfony/process": "^7.1" }, "require-dev": { - "phpstan/phpstan": "^1.12", + "phpstan/phpstan": "^2.0", "roave/security-advisories": "dev-master", "shlinkio/php-coding-standard": "~2.4.0" }, @@ -43,7 +43,7 @@ ], "cs": "phpcs", "cs:fix": "phpcbf", - "stan": "phpstan analyse src --level=8" + "stan": "phpstan analyse" }, "scripts-descriptions": { "ci": "Alias for \"cs\" and \"stan\"", diff --git a/phpstan.neon b/phpstan.neon index 715b4d1..bfdd142 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,3 +1,6 @@ parameters: + level: 9 + paths: + - src ignoreErrors: - identifier: missingType.iterableValue