ttrss/phpstan.neon

34 lines
991 B
Plaintext

parameters:
level: 6
parallel:
maximumNumberOfProcesses: 4
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Constant.*\b(SUBSTRING_FOR_DATE|SCHEMA_VERSION|SELF_USER_AGENT|LABEL_BASE_INDEX|PLUGIN_FEED_BASE_INDEX)\b.*not found#'
- '#Comparison operation ">" between int<1, max> and 0 is always true.#'
- message: '##'
paths:
- lib/*
- vendor/*
- plugins/*/vendor/*
- plugins.local/*/vendor/*
excludePaths:
- node_modules/*
- vendor/**/tests/*
- vendor/**/test/*
- vendor/sebastian/*
- lib/dojo-src/*
- lib/**/tests/*
- lib/**/test/*
- plugins/**/tests/*
- plugins/**/Test/*
- plugins/*/vendor/psr/log/*
- plugins.local/**/tests/*
- plugins/**/test/*
- plugins.local/**/test/*
- plugins.local/*/vendor/intervention/*
- plugins.local/*/vendor/psr/log/*
- plugins.local/cache_s3/vendor/*
paths:
- .