Skip to content

Commit fd4238b

Browse files
committed
chore: update phpstan to 2.2.2
1 parent b8b7418 commit fd4238b

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
auto-push: false
4444
gh-pages-branch: benchmark-results
4545
benchmark-data-dir-path: dev/bench
46+
skip-fetch-gh-pages: ${{ github.repository != 'webonyx/graphql-php' }}
4647
alert-threshold: '150%'
4748
# TODO: switch to true once baseline variance is understood
4849
fail-on-alert: false

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"nyholm/psr7": "^1.5",
2424
"phpbench/phpbench": "^1.2",
2525
"phpstan/extension-installer": "^1.1",
26-
"phpstan/phpstan": "2.2.1",
26+
"phpstan/phpstan": "2.2.2",
2727
"phpstan/phpstan-phpunit": "2.0.16",
2828
"phpstan/phpstan-strict-rules": "2.0.11",
2929
"phpunit/phpunit": "^9.5 || ^10.5.21 || ^11",

phpstan-baseline.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ parameters:
5555
path: src/Utils/AST.php
5656

5757
-
58-
message: '#^Variable property access on array\|object\.$#'
58+
message: '#^Variable property access on (array\|)?object\.$#'
5959
identifier: property.dynamicName
6060
count: 1
6161
path: src/Utils/AST.php

0 commit comments

Comments
 (0)