This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan.neon.dist
31 lines (31 loc) · 1.75 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
parameters:
level: max
paths:
- src
- tests
ergebnis:
classesAllowedToBeExtended:
- Lemberg\Draft\Environment\Config\Manager\AbstractConfigManager
- Lemberg\Draft\Environment\Config\Manager\UpdateManager
- Lemberg\Draft\Environment\Config\Install\Step\AbstractInstallStep
- Lemberg\Draft\Environment\Config\Update\Step\AbstractUpdateStep
- Lemberg\Draft\Environment\Config\Update\Step\ExportAllAvailableConfiguration
- Lemberg\Tests\Functional\Draft\Environment\AbstractFunctionalTest
- Lemberg\Tests\Functional\Draft\Environment\Config\Manager\AbstractConfigManagerTest
- Lemberg\Tests\Unit\Draft\Environment\Config\Update\Step\Cleanup30400Test
- Symfony\Component\Filesystem\Filesystem
classesNotRequiredToBeAbstractOrFinal:
- Lemberg\Draft\Environment\Config\Manager\UpdateManager
- Lemberg\Draft\Environment\Config\Update\Step\ExportAllAvailableConfiguration
- Lemberg\Tests\Unit\Draft\Environment\Config\Update\Step\Cleanup30400Test
ignoreErrors:
-
message: '#Method Lemberg\\Draft\\Environment\\Config\\Manager\\AbstractConfigManager::__construct\(\) has parameter \$classLoader with a nullable type declaration.#'
path: src/Config/Manager/AbstractConfigManager.php
-
# See https://github.com/phpstan/phpstan-phpunit/issues/57#issuecomment-575366033
message: '#Return type of call to method PHPUnit\\Framework\\TestCase::createMock\(\) contains unresolvable type.#'
path: tests/Unit/Composer/PluginTest.php
-
message: '#Fetching class constant class of deprecated class Composer\\Autoload\\ClassMapGenerator:\nSince Composer 2\.4\.0 use the composer/class-map-generator package instead#'
path: src/Config/Manager/AbstractConfigManager.php