https://github.com/owncloud/core
Raw File
Tip revision: 33981656192753dfee8ede2f12c7185eb14f3cb4 authored by Juan Pablo Villafáñez on 23 October 2023, 10:21:54 UTC
Add more unit tests
Tip revision: 3398165
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#'
    # errors below are to be addressed by own pull requests - non trivial changes required
    - '#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