Skip to content

Commit

Permalink
Bump PHP version for tools
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC committed Sep 18, 2022
1 parent cf1f3c2 commit 7a32ad7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.1'
tools: php-cs-fixer, cs2pr

- name: PHP Coding Standards Fixer
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.1'
tools: phpstan

- name: Install dependencies
Expand Down
15 changes: 10 additions & 5 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ parameters:
bootstrapFiles:
- phpstan-autoload.php
ignoreErrors:
-
message: '#^Call to an undefined method ReflectionClass\:\:getAttributes\(\)\.$#'
count: 1
path: src/ConfigurationProvider/AttributeConfigurationProvider.php

-
message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:addDefaultsIfNotSet\(\)\.$#'
count: 1
Expand All @@ -30,3 +25,13 @@ parameters:
message: '#^Call to an undefined method Monolog\\Handler\\HandlerInterface\:\:setFormatter\(\)\.$#'
count: 1
path: src/HandlerFactory/AbstractHandlerFactory.php

-
message: '#^Parameter \#1 \$record of method Symfony\\Bridge\\Monolog\\Handler\\ConsoleHandler\:\:handle\(\) expects Monolog\\LogRecord, array\<string, array\|DateTimeImmutable\|int\|string\> given\.$#'
count: 1
path: src/Handler/ConsoleHandler.php

-
message: '#^Parameter \#1 \$record of method Symfony\\Bridge\\Monolog\\Handler\\ConsoleHandler\:\:isHandling\(\) expects Monolog\\LogRecord, array\<string, int\> given\.$#'
count: 1
path: src/Handler/ConsoleHandler.php

0 comments on commit 7a32ad7

Please sign in to comment.