https://github.com/owncloud/core
Raw File
Tip revision: d60c7d066b481b11ae9c28b0b922bcfaecb42b18 authored by Juergen Weigert on 25 February 2023, 09:56:20 UTC
prepare 10.12
Tip revision: d60c7d0
phpstan.neon
parameters:
  bootstrapFiles:
    - %currentWorkingDirectory%/lib/base.php
  excludePaths:
    analyseAndScan:
      - %currentWorkingDirectory%/core/ajax/update.php
      - %currentWorkingDirectory%/apps/*/tests*
      - %currentWorkingDirectory%/settings/templates/*
    analyse:
      - %currentWorkingDirectory%/apps/*/composer/*
      - %currentWorkingDirectory%/apps/*/3rdparty/*
  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\(\).#'
    - '#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