includes: - vendor/szepeviktor/phpstan-wordpress/extension.neon - types/php/index.neon parameters: level: 10 paths: - nelio-ab-testing.php - class-nelio-ab-testing.php - cache-salting.php - admin - includes - public - premium bootstrapFiles: - vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php - php-stubs/nelio-ab-testing.php - php-stubs/compat.php - php-stubs/phpunit.php stubFiles: - php-stubs/nelio-ab-testing-settings.php - php-stubs/wordpress.php excludePaths: - php-stubs/phpunit.php - php-stubs/nelio-ab-testing.php - tests/bootstrap.php reportUnmatchedIgnoredErrors: false ignoreErrors: - '#Call to an undefined method WC_Session::has_session\(\).#' - '#Parameter \#1 \$callback of function array_map expects .callable.mixed.: mixed..null, .absint. given.#' - '#Parameter \#1 \$str of function sanitize_text_field expects string, mixed given.#' - '#Parameter \#1 \$maybeint of function absint expects array.bool.float.int.resource.string.null, mixed given.#' - '#Parameter \#1 \$text of function esc_attr expects string, int given.#' - '#Parameter \#1 \$text of function esc_html expects string, float.int given.#' - '#Parameter \#1 \$text of function esc_html expects string, float given.#' - '#Parameter \#1 \$text of function esc_html expects string, int given.#' - '#Property WooCommerce::\$session \(WC_Session\) in empty\(\) is not falsy.#' - identifier: constructor.unusedParameter paths: - php-stubs/* - identifier: return.missing paths: - php-stubs/* - identifier: throws.notThrowable paths: - php-stubs/* - identifier: missingType.return paths: - tests/*