Skip to content

Commit a0df196

Browse files
committed
chore: moves to phpstan v2
1 parent d7e1d52 commit a0df196

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"license": "MIT",
1414
"require": {
1515
"php": "^8.2",
16-
"pestphp/pest": "^3.0.0",
16+
"pestphp/pest": "^3.7.5",
1717
"pestphp/pest-plugin": "^3.0.0"
1818
},
1919
"autoload": {
@@ -25,7 +25,7 @@
2525
]
2626
},
2727
"require-dev": {
28-
"pestphp/pest-dev-tools": "^3.0.0"
28+
"pestphp/pest-dev-tools": "^3.4.0"
2929
},
3030
"minimum-stability": "dev",
3131
"prefer-stable": true,

phpstan.neon

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
includes:
2-
- vendor/phpstan/phpstan-strict-rules/rules.neon
3-
- vendor/ergebnis/phpstan-rules/rules.neon
4-
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
5-
61
parameters:
72
level: max
83
paths:
94
- src
105

11-
checkMissingIterableValueType: true
12-
checkGenericClassInNonGenericObjectType: false
136
reportUnmatchedIgnoredErrors: true

src/Example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* @internal
1111
*/
12-
trait Example
12+
trait Example // @phpstan-ignore-line
1313
{
1414
/**
1515
* Example description.

0 commit comments

Comments
 (0)