diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index af27cea62..29d301c44 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -14,9 +14,9 @@ jobs: strategy: matrix: include: - - php-versions: "7.4" - php-versions: "8.0" - php-versions: "8.1" + - php-versions: "8.2" stable: true runs-on: ubuntu-latest diff --git a/composer.json b/composer.json index f420713e2..025396ce2 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "twitter/bootstrap": "Twitter bootstrap assets" }, "require": { - "php": "^7.4 || ~8.0.0 || ~8.1.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "laminas/laminas-escaper": "^2.9", "laminas/laminas-form": "^3.1", "laminas/laminas-i18n": "^2.13", @@ -37,16 +37,16 @@ "laminas/laminas-view": "^2.16" }, "require-dev": { - "laminas/laminas-component-installer": "^2.6", + "laminas/laminas-component-installer": "^3.0", "laminas/laminas-modulemanager": "^2.11", "laminas/laminas-mvc": "^3.3", "mikey179/vfsstream": "^1.6", "pcov/clobber": "^2.0", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.3", "phpunit/phpunit": "^9.5.11", - "slam/phpstan-laminas-framework": "^0.12", + "slam/phpstan-laminas-framework": "^1.0", "spatie/phpunit-snapshot-assertions": "^4.2.13", "squizlabs/php_codesniffer": "^3.6" }, diff --git a/phpstan.neon b/phpstan.neon index d875b5966..82be33fd9 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,8 +1,7 @@ parameters: - ignoreErrors: - - '/Call to an undefined method Laminas\\View\\Helper\\AbstractHelper::/' + treatPhpDocTypesAsCertain: false laminasframework: serviceManagerLoader: tests/phpstan.php excludePaths: - src/DocumentationGenerator/UsagePage/Prettifier/SourceFile.php - - src/DocumentationGenerator/UsagePage/Prettifier/PhpPrettifier.php \ No newline at end of file + - src/DocumentationGenerator/UsagePage/Prettifier/PhpPrettifier.php