Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
parameters:
checkExplicitMixedMissingReturn: true
checkPhpDocMissingReturn: true
reportUnmatchedIgnoredErrors: false
excludes_analyse:
- %rootDir%/../../../lib/internal/Magento/Framework/ObjectManager/Test/Unit/*
- %rootDir%/../../../*/_files/*
- %rootDir%/../../../dev/tests/*/Fixtures/*
- %rootDir%/../../../dev/tests/*/tmp/*
- %rootDir%/../../../dev/tests/*/_generated/*
- %rootDir%/../../../pub/*
autoload_directories:
- %rootDir%/../../../dev/tests/static/framework/tests/unit/testsuite/Magento
- %rootDir%/../../../dev/tests/integration/framework/tests/unit/testsuite/Magento
- %rootDir%/../../../dev/tests/api-functional/_files/Magento
autoload_files:
- %rootDir%/../../../dev/tests/static/framework/autoload.php
- %rootDir%/../../../dev/tests/integration/framework/autoload.php
- %rootDir%/../../../dev/tests/api-functional/framework/autoload.php
- %rootDir%/../../../dev/tests/setup-integration/framework/autoload.php
- %rootDir%/../../../dev/tests/static/framework/Magento/PhpStan/autoload.php
ignoreErrors:
# Ignore PHPStan\Rules\Classes\UnusedConstructorParametersRule
- '#Constructor of class [a-zA-Z0-9\\_]+ has an unused parameter#'
# Ignore setCustomErrorHandler function not found in bootstrap files
- '#Function setCustomErrorHandler not found#'
# Ignore 'return statement is missing' error when 'void' is present in return type list
- '#Method (?:.*?) should return (?:.*?)void(?:.*?) but return statement is missing.#'
# Ignore constants, defined dynamically.
- '#Constant TESTS_WEB_API_ADAPTER not found.#'
- '#Constant TESTS_BASE_URL not found.#'
- '#Constant TESTS_XDEBUG_ENABLED not found.#'
- '#Constant TESTS_XDEBUG_SESSION not found.#'
- '#Constant INTEGRATION_TESTS_DIR not found.#'
- '#Constant MAGENTO_MODULES_PATH not found.#'
- '#Constant TESTS_MODULES_PATH not found.#'
- '#Constant TESTS_INSTALLATION_DB_CONFIG_FILE not found.#'
- '#Constant T_[A-Z_]+ not found.#'
checkExplicitMixedMissingReturn: true
checkPhpDocMissingReturn: true
reportUnmatchedIgnoredErrors: false
excludes_analyse:
- %rootDir%/../../../lib/internal/Magento/Framework/ObjectManager/Test/Unit/*
- %rootDir%/../../../*/_files/*
- %rootDir%/../../../dev/tests/*/Fixtures/*
- %rootDir%/../../../dev/tests/*/tmp/*
- %rootDir%/../../../dev/tests/*/_generated/*
- %rootDir%/../../../pub/*
autoload_directories:
- %rootDir%/../../../dev/tests/static/framework/tests/unit/testsuite/Magento
- %rootDir%/../../../dev/tests/integration/framework/tests/unit/testsuite/Magento
- %rootDir%/../../../dev/tests/api-functional/_files/Magento
autoload_files:
- %rootDir%/../../../dev/tests/static/framework/autoload.php
- %rootDir%/../../../dev/tests/integration/framework/autoload.php
- %rootDir%/../../../dev/tests/api-functional/framework/autoload.php
- %rootDir%/../../../dev/tests/setup-integration/framework/autoload.php
- %rootDir%/../../../dev/tests/static/framework/Magento/PhpStan/autoload.php
ignoreErrors:
# Ignore PHPStan\Rules\Classes\UnusedConstructorParametersRule
- '#Constructor of class [a-zA-Z0-9\\_]+ has an unused parameter#'
# Ignore setCustomErrorHandler function not found in bootstrap files
- '#Function setCustomErrorHandler not found#'
# Ignore 'return statement is missing' error when 'void' is present in return type list
- '#Method (?:.*?) should return (?:.*?)void(?:.*?) but return statement is missing.#'
# Ignore constants, defined dynamically.
- '#Constant TESTS_WEB_API_ADAPTER not found.#'
- '#Constant TESTS_BASE_URL not found.#'
- '#Constant TESTS_XDEBUG_ENABLED not found.#'
- '#Constant TESTS_XDEBUG_SESSION not found.#'
- '#Constant INTEGRATION_TESTS_DIR not found.#'
- '#Constant MAGENTO_MODULES_PATH not found.#'
- '#Constant TESTS_MODULES_PATH not found.#'
- '#Constant TESTS_INSTALLATION_DB_CONFIG_FILE not found.#'
- '#Constant T_[A-Z_]+ not found.#'


services:
Expand Down