Skip to content

Commit

Permalink
Merge pull request #222 from acelaya-forks/feature/update-phpstan
Browse files Browse the repository at this point in the history
Update to PHPStan 1.11
  • Loading branch information
acelaya authored Jul 3, 2024
2 parents b078bfc + 3a17737 commit f7e3343
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.override.yml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
shlink_installer_php:
user: 1000:1000
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
shlink_installer_php:
container_name: shlink_installer_php
Expand Down
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions src/Config/ConfigOptionsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

use Laminas\ServiceManager\AbstractPluginManager;

/**
* @extends AbstractPluginManager<Option\ConfigOptionInterface>
*/
class ConfigOptionsManager extends AbstractPluginManager implements ConfigOptionsManagerInterface
{
protected $instanceOf = Option\ConfigOptionInterface::class; // phpcs:ignore
Expand Down

0 comments on commit f7e3343

Please sign in to comment.