Skip to content

Commit 4a8f211

Browse files
authored
Bump phpstan/phpstan to ^2.0 (#150)
* [Composer] Bump phpstan/phpstan to ^2.0 * [PHPStan] Regenerated PHPStan baseline
1 parent 7be71cf commit 4a8f211

File tree

3 files changed

+4434
-2198
lines changed

3 files changed

+4434
-2198
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
"symfony/http-client": "^5.3",
5858
"symfony/browser-kit": "^5.3",
5959
"justinrainbow/json-schema": "^5.2",
60-
"phpstan/phpstan": "^1.10",
61-
"phpstan/phpstan-symfony": "^1.3",
62-
"phpstan/phpstan-phpunit": "^1.3",
63-
"phpstan/phpstan-webmozart-assert": "^1.2"
60+
"phpstan/phpstan": "^2.0",
61+
"phpstan/phpstan-symfony": "^2.0",
62+
"phpstan/phpstan-phpunit": "^2.0",
63+
"phpstan/phpstan-webmozart-assert": "^2.0"
6464
},
6565
"config": {
6666
"allow-plugins": {

phpstan-baseline-7.4.neon

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,27 @@ parameters:
4444
message: "#^Parameter \\#2 \\$newvalue of function ini_set expects string, int given\\.$#"
4545
count: 2
4646
path: tests/lib/Output/Generator/FieldTypeHashGeneratorBaseTest.php
47+
48+
-
49+
message: '#^Access to an undefined property DOMNode\:\:\$data\.$#'
50+
identifier: property.notFound
51+
count: 1
52+
path: src/lib/Input/Handler/Xml.php
53+
54+
-
55+
message: '#^Access to an undefined property DOMNode\:\:\$tagName\.$#'
56+
identifier: property.notFound
57+
count: 1
58+
path: src/lib/Input/Handler/Xml.php
59+
60+
-
61+
message: '#^Access to an undefined property DOMNode\:\:\$wholeText\.$#'
62+
identifier: property.notFound
63+
count: 1
64+
path: src/lib/Input/Handler/Xml.php
65+
66+
-
67+
message: '#^Parameter \#1 \$domElement of method Ibexa\\Rest\\Input\\Handler\\Xml\:\:parseFieldTypeHash\(\) expects DOMElement, DOMNode given\.$#'
68+
identifier: argument.type
69+
count: 1
70+
path: src/lib/Input/Handler/Xml.php

0 commit comments

Comments
 (0)