This repository was archived by the owner on Mar 1, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
30 lines (25 loc) · 1.56 KB
/
phpstan.neon
File metadata and controls
30 lines (25 loc) · 1.56 KB
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
includes:
# - vendor/pepakriz/phpstan-exception-rules/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
parameters:
autoload_directories:
- %currentWorkingDirectory%/src
excludes_analyse:
- %currentWorkingDirectory%/src/Automatic/Prefetcher/CurlDownloader.php
- %currentWorkingDirectory%/src/Automatic/Prefetcher/ComposerRepository.php
- %currentWorkingDirectory%/src/Automatic/Prefetcher/ParallelDownloader.php
- %currentWorkingDirectory%/src/Automatic/Prefetcher/Prefetcher.php
- %currentWorkingDirectory%/src/Automatic/Prefetcher/TruncatedComposerRepository.php
ignoreErrors:
# QuestionInstallationManager
- '#\$package of method Composer\\Package\\Version\\VersionSelector\:\:findRecommendedRequireVersion\(\) expects Composer\\Package\\PackageInterface, Composer\\Package\\PackageInterface\|true given#'
# ScriptExtender
- '#Parameter \#1 \$stream of class Symfony\\Component\\Console\\Output\\StreamOutput constructor expects resource, resource\|false given#'
- '#Call to an undefined method Composer\\DependencyResolver\\Operation\\OperationInterface\:\:getPackage#'
# Automatic
- '#does not call parent constructor from Composer\\Repository\\ComposerRepository#'