diff --git a/CHANGELOG.md b/CHANGELOG.md index f995c83..6a99d72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this ### Changed * Update to PHPUnit 11 +* Update to PHPStan 1.11 ### Deprecated * *Nothing* diff --git a/composer.json b/composer.json index 261e987..7b81974 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ }, "require-dev": { "devster/ubench": "^2.1", - "phpstan/phpstan": "^1.10", - "phpstan/phpstan-phpunit": "^1.3", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-phpunit": "^1.4", "phpunit/phpunit": "^11.1", "roave/security-advisories": "dev-master", "shlinkio/php-coding-standard": "~2.3.0", diff --git a/docker-compose.override.yml.dist b/docker-compose.override.yml.dist index 4a667f1..f823f01 100644 --- a/docker-compose.override.yml.dist +++ b/docker-compose.override.yml.dist @@ -1,5 +1,3 @@ -version: '3' - services: shlink_installer_php: user: 1000:1000 diff --git a/docker-compose.yml b/docker-compose.yml index 9220c3a..b0fcb7d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3' - services: shlink_installer_php: container_name: shlink_installer_php diff --git a/phpstan.neon b/phpstan.neon index 88060ed..ce86abc 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,5 +2,5 @@ includes: - vendor/phpstan/phpstan-phpunit/extension.neon - vendor/phpstan/phpstan-phpunit/rules.neon parameters: - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false + ignoreErrors: + - identifier: missingType.iterableValue diff --git a/src/Config/ConfigOptionsManager.php b/src/Config/ConfigOptionsManager.php index f91a3bc..10f1aeb 100644 --- a/src/Config/ConfigOptionsManager.php +++ b/src/Config/ConfigOptionsManager.php @@ -6,6 +6,9 @@ use Laminas\ServiceManager\AbstractPluginManager; +/** + * @extends AbstractPluginManager + */ class ConfigOptionsManager extends AbstractPluginManager implements ConfigOptionsManagerInterface { protected $instanceOf = Option\ConfigOptionInterface::class; // phpcs:ignore