mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 23:59:51 +01:00
We want to release version 3.0 as fresh as possible, without having to maintain backward compatibility with the previous versions. Because that version will be on for some time, we decided it will be best to support only PHP version 8.5 or higher. Acked-by: Alexandre Gomes Gaigalas <alganet@gmail.com>
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
parameters:
|
|
fileExtensions:
|
|
- php
|
|
- phpt
|
|
ignoreErrors:
|
|
-
|
|
# Why: SimpleXMLElement is weird and doesn't implement anything ArrayAccess-like
|
|
message: '/Instanceof between mixed and SimpleXMLElement will always evaluate to false\./'
|
|
path: library/Rules/ArrayVal.php
|
|
- message: '/Call to an undefined method .+::(skip|throws)\(\)/'
|
|
path: tests/feature
|
|
- message: '/Call to an undefined method .+::expectException\(\)/'
|
|
path: tests/Pest.php
|
|
- message: '/Undefined variable: \$this/'
|
|
path: tests/feature/Rules/SizeTest.php
|
|
- message: '/Undefined variable: \$this/'
|
|
path: tests/Pest.php
|
|
- message: '/Method .+\\TestingStringifier::stringify\(\) never returns null so it can be removed from the return type./'
|
|
path: tests/library/Message/TestingStringifier.php
|
|
- message: '/Parameter #1 \$messages of class .+\\ArrayTranslator constructor expects array<string, string>, array<string, int> given./'
|
|
path: tests/unit/Message/Translator/ArrayTranslatorTest.php
|
|
- message: '/Access to an undefined property PHPUnit\\Framework\\TestCase/'
|
|
path: tests/feature/Rules/SizeTest.php
|
|
level: 8
|
|
treatPhpDocTypesAsCertain: false
|
|
paths:
|
|
- library/
|
|
- tests/
|