Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests-Only] Fix phpstan.neon after phpstan 0.12.33 release #37709

Merged
merged 1 commit into from
Jul 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@ parameters:
bootstrapFiles:
- %currentWorkingDirectory%/lib/base.php
excludes_analyse:
- %currentWorkingDirectory%/core/templates/*
- %currentWorkingDirectory%/core/routes.php
- %currentWorkingDirectory%/core/ajax/update.php
- %currentWorkingDirectory%/apps/*/tests*
- %currentWorkingDirectory%/apps/*/appinfo/routes.php
- %currentWorkingDirectory%/apps/*/composer/*
- %currentWorkingDirectory%/apps/*/3rdparty/*
- %currentWorkingDirectory%/apps/files_external/ajax/oauth2.php
- %currentWorkingDirectory%/apps/files_external/lib/Lib/Storage/Google.php
- %currentWorkingDirectory%/apps/files_external/lib/Lib/Storage/SMB.php
- %currentWorkingDirectory%/settings/templates/*
- %currentWorkingDirectory%/settings/routes.php
ignoreErrors:
- '#Undefined variable: \$OC_[a-zA-Z0-9\\_]+#'
- '#Undefined variable: \$vendor#'
- '#Instantiated class Test\\Util\\User\\Dummy not found.#'
# errors below are to be addressed by own pull requests - non trivial changes required
- '#Unsafe usage of new static().#'
- '#Unsafe usage of new static\(\).#'
- '#Cannot instantiate interface OCP\\Files\\ObjectStore\\IObjectStore.#'
- '#Instantiated class OCA\\Encryption\\Crypto\\Crypt not found.#'
- '#Instantiated class OCA\\Encryption\\Util not found.#'
Expand Down