Skip to content

Commit 2721ed1

Browse files
author
dan
committed
Updated generic, updated docs
1 parent 060f8a0 commit 2721ed1

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
includes:
2-
#stricter checks
3-
- ../../../../../vendor/phpstan/phpstan-strict-rules/rules.neon
4-
5-
#phpunit specific checks
6-
# - ../vendor/phpstan/phpstan-phpunit/extension.neon
7-
# - ../vendor/phpstan/phpstan-phpunit/rules.neon

docs/tools/phpstan.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,10 @@ parameters:
3737

3838
The strict rules are brought in as a dependency and configured by default
3939

40-
To disable them, you need to setup your own config for PHPStan and remove this from your config file
40+
PHPQA now uses the PHPStan extension loader - at the time of writing it is not clear how to disable auto loaded extensions.
41+
Instead (for now) you will need to ignore specific rule failures instead of trying to disable the strict rule set.
4142

42-
```php
43-
includes:
44-
- ../vendor/phpstan/phpstan-strict-rules/rules.neon
45-
46-
```
47-
see [the main PHPSTan docs](https://github.com/phpstan/phpstan-strict-rules) for more information
43+
See [the main PHPSTan docs](https://github.com/phpstan/phpstan-strict-rules) for more information
4844

4945
#### Supressing Errors
5046

0 commit comments

Comments
 (0)