https://github.com/owncloud/core
Raw File
Tip revision: ca3d76e5960d498831e54b37c256c005affb8af5 authored by Thomas Müller on 22 October 2019, 12:50:25 UTC
No X-Frame-Options for debugging purpose
Tip revision: ca3d76e
phpstan.neon
parameters:
  bootstrap: %currentWorkingDirectory%/lib/base.php
  autoload_directories:
    - %currentWorkingDirectory%/apps/files_sharing/appinfo/Migrations
    - %currentWorkingDirectory%/apps/dav/appinfo/Migrations
    - %currentWorkingDirectory%/apps/federatedfilesharing/appinfo/Migrations
    - %currentWorkingDirectory%/apps/files_external/appinfo/Migrations
    - %currentWorkingDirectory%/apps/files_external/lib
    - %currentWorkingDirectory%/apps/files_external/3rdparty
    - %currentWorkingDirectory%/apps/files_sharing/appinfo/Migrations
    - %currentWorkingDirectory%/apps/files_trashbin/appinfo/Migrations
    - %currentWorkingDirectory%/core/Migrations
    - %currentWorkingDirectory%/tests/lib/Util/User
  excludes_analyse:
    - %currentWorkingDirectory%/core/templates/*
    - %currentWorkingDirectory%/core/routes.php
    - %currentWorkingDirectory%/core/register_command.php
    - %currentWorkingDirectory%/core/ajax/update.php
    - %currentWorkingDirectory%/core/ajax/share.php
    - %currentWorkingDirectory%/apps/*/tests*
    - %currentWorkingDirectory%/apps/*/templates/*
    - %currentWorkingDirectory%/apps/*/appinfo/routes.php
    - %currentWorkingDirectory%/apps/*/composer/*
    - %currentWorkingDirectory%/apps/*/3rdparty/*
    - %currentWorkingDirectory%/apps/files_external/3rdparty/aws-sdk-php/Symfony/Component/ClassLoader/Tests/Fixtures/Apc/fallback/Namespaced/FooBar.php
    - %currentWorkingDirectory%/apps/files_sharing/ajax/shareinfo.php
    - %currentWorkingDirectory%/settings/templates/*
    - %currentWorkingDirectory%/settings/routes.php
    # specific app excludes
    # eventually move into app directories and use neon includes for better separation
    - %currentWorkingDirectory%/apps/dav/bin
  ignoreErrors:
    - '#Undefined variable: \$OC_[a-zA-Z0-9\\_]+#'
    - '#Undefined variable: \$vendor#'
    - '#Undefined variable: \$baseuri#'
    - '#Instantiated class OC_Theme not found.#'
    # errors below are to be addressed by own pull requests - non trivial changes required
    - '#OCA\\DAV\\Connector\\Sabre\\ObjectTree::__construct\(\) does not call parent constructor from Sabre\\DAV\\Tree.#'
    - '#OC\\Files\\ObjectStore\\NoopScanner::__construct\(\) does not call parent constructor from OC\\Files\\Cache\\Scanner.#'
    - '#OC\\Files\\Cache\\Wrapper\\CacheWrapper::__construct\(\) does not call parent constructor from OC\\Files\\Cache\\Cache.#'
    - '#Anonymous function has an unused use \$folder.#'
    - '#Result of function rewinddir \(void\) is used.#'
    - '#Instantiated class OCA\\Encryption\\Crypto\\Crypt not found.#'
    - '#Instantiated class OCA\\Encryption\\Util not found.#'
    - '#Instantiated class OCA\\Encryption\\KeyManager not found.#'
    - '#Instantiated class OCA\\Encryption\\Session not found.#'
    - '#Instantiated class OCA\\Encryption\\Recovery not found.#'

back to top