diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d646a25..0186ca8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,11 +8,11 @@ jobs: strategy: matrix: - php: [8.2, 8.3, 8.4] + php: [8.2, 8.3, 8.4, 8.5] steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -30,4 +30,4 @@ jobs: run: phpcs src/ - name: Static analysis - run: phpstan analyze --level=9 src/ + run: phpstan analyze diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..e4d707d --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,6 @@ +parameters: + level: 9 + paths: + - src + ignoreErrors: + - '#Method Codeception\\Util\\XmlStructure::matchElement\(\) should return DOMNode\|null but returns DOMNameSpaceNode\|DOMNode\|null\.#' \ No newline at end of file