diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e25115..24e8d9c 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 1.11 + +### Deprecated +* *Nothing* + +### Removed +* *Nothing* + +### Fixed +* *Nothing* + + ## [4.0.0] - 2024-03-09 ### Added * [#37](https://github.com/shlinkio/shlink-ip-geolocation/issues/37) Create a new `Shlinkio\Shlink\IpGeolocation\GeoLite2\GeoLite2ReaderFactory` service which can be used to generate `GeoIp2\Database\Reader` instances on the fly. diff --git a/composer.json b/composer.json index 502f3c2..fb6d968 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,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.0", "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 48a339b..2c2f146 100644 --- a/docker-compose.override.yml.dist +++ b/docker-compose.override.yml.dist @@ -1,5 +1,3 @@ -version: '3' - services: shlink_ip_geolocation_php: user: 1000:1000 diff --git a/docker-compose.yml b/docker-compose.yml index 30e2713..e16f7c8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3' - services: shlink_ip_geolocation_php: container_name: shlink_ip_geolocation_php diff --git a/phpstan.neon b/phpstan.neon index ee419a2..ce86abc 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,4 +2,5 @@ includes: - vendor/phpstan/phpstan-phpunit/extension.neon - vendor/phpstan/phpstan-phpunit/rules.neon parameters: - checkMissingIterableValueType: false + ignoreErrors: + - identifier: missingType.iterableValue