-
Notifications
You must be signed in to change notification settings - Fork 941
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c9ea49
commit 8792a95
Showing
1 changed file
with
119 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,187 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$x \\(array\\<string, mixed\\>\\) does not accept string\\.$#" | ||
message: '#^Property OpenApi\\Annotations\\AbstractAnnotation\:\:\$x \(array\<string, mixed\>\) does not accept string\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: Examples/processors/schema-query-parameter/SchemaQueryParameter.php | ||
|
||
- | ||
message: "#^Attribute class JetBrains\\\\PhpStorm\\\\ArrayShape does not exist\\.$#" | ||
message: '#^Attribute class JetBrains\\PhpStorm\\ArrayShape does not exist\.$#' | ||
identifier: attribute.notFound | ||
count: 1 | ||
path: Examples/using-links-php81/User.php | ||
|
||
- | ||
message: "#^Access to an undefined property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$description\\.$#" | ||
message: '#^Call to function method_exists\(\) with ReflectionProperty and ''isPromoted'' will always evaluate to true\.$#' | ||
identifier: function.alreadyNarrowedType | ||
count: 1 | ||
path: src/Analysers/AttributeAnnotationFactory.php | ||
|
||
- | ||
message: '#^Call to function method_exists\(\) with ReflectionClass\<object\> and ''isEnum'' will always evaluate to true\.$#' | ||
identifier: function.alreadyNarrowedType | ||
count: 1 | ||
path: src/Analysers/ReflectionAnalyser.php | ||
|
||
- | ||
message: '#^Access to an undefined property OpenApi\\Annotations\\AbstractAnnotation\:\:\$description\.$#' | ||
identifier: property.notFound | ||
count: 1 | ||
path: src/Annotations/AbstractAnnotation.php | ||
|
||
- | ||
message: "#^Access to an undefined property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$summary\\.$#" | ||
message: '#^Access to an undefined property OpenApi\\Annotations\\AbstractAnnotation\:\:\$summary\.$#' | ||
identifier: property.notFound | ||
count: 1 | ||
path: src/Annotations/AbstractAnnotation.php | ||
|
||
- | ||
message: "#^Variable \\$name might not be defined\\.$#" | ||
message: '#^Call to function property_exists\(\) with OpenApi\\Annotations\\AbstractAnnotation and ''_context'' will always evaluate to true\.$#' | ||
identifier: function.alreadyNarrowedType | ||
count: 1 | ||
path: src/Annotations/AbstractAnnotation.php | ||
|
||
- | ||
message: '#^Variable \$name might not be defined\.$#' | ||
identifier: variable.undefined | ||
count: 2 | ||
path: src/Annotations/Components.php | ||
|
||
- | ||
message: "#^Variable \\$type might not be defined\\.$#" | ||
message: '#^Variable \$type might not be defined\.$#' | ||
identifier: variable.undefined | ||
count: 1 | ||
path: src/Annotations/Components.php | ||
|
||
- | ||
message: "#^Property OpenApi\\\\Annotations\\\\Flow\\:\\:\\$scopes \\(array\\) does not accept stdClass\\.$#" | ||
message: '#^Property OpenApi\\Annotations\\Flow\:\:\$scopes \(array\) does not accept stdClass\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/Annotations/Flow.php | ||
|
||
- | ||
message: "#^Access to an undefined property object\\:\\:\\$enum\\.$#" | ||
message: '#^Method OpenApi\\Processors\\AugmentParameters\:\:extractVarTypeAndDescription\(\) should return array\<string, string\|null\> but returns array\<int\|string, string\|null\>\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Annotations/Schema.php | ||
path: src/Processors/AugmentParameters.php | ||
|
||
- | ||
message: "#^Property OpenApi\\\\Annotations\\\\Schema\\:\\:\\$properties \\(array\\<OpenApi\\\\Annotations\\\\Property\\>\\) does not accept string\\.$#" | ||
message: '#^Strict comparison using \!\=\= between false and string will always evaluate to true\.$#' | ||
identifier: notIdentical.alwaysTrue | ||
count: 1 | ||
path: src/Processors/AugmentParameters.php | ||
|
||
- | ||
message: '#^Method OpenApi\\Processors\\AugmentProperties\:\:extractVarTypeAndDescription\(\) should return array\<string, string\|null\> but returns array\<int\|string, string\|null\>\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Processors/AugmentProperties.php | ||
|
||
- | ||
message: '#^Strict comparison using \!\=\= between false and string will always evaluate to true\.$#' | ||
identifier: notIdentical.alwaysTrue | ||
count: 1 | ||
path: src/Processors/AugmentProperties.php | ||
|
||
- | ||
message: '#^Property OpenApi\\Annotations\\Schema\:\:\$properties \(array\<OpenApi\\Annotations\\Property\>\) does not accept string\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/Processors/AugmentSchemas.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$annotation of method OpenApi\\\\Processors\\\\DocBlockDescriptions\\:\\:description\\(\\) expects OpenApi\\\\Annotations\\\\Operation\\|OpenApi\\\\Annotations\\\\Parameter\\|OpenApi\\\\Annotations\\\\Schema, OpenApi\\\\Annotations\\\\AbstractAnnotation given\\.$#" | ||
message: '#^Method OpenApi\\Processors\\DocBlockDescriptions\:\:extractVarTypeAndDescription\(\) should return array\<string, string\|null\> but returns array\<int\|string, string\|null\>\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Processors/DocBlockDescriptions.php | ||
|
||
- | ||
message: '#^Parameter \#1 \$annotation of method OpenApi\\Processors\\DocBlockDescriptions\:\:description\(\) expects OpenApi\\Annotations\\Operation\|OpenApi\\Annotations\\Parameter\|OpenApi\\Annotations\\Schema, OpenApi\\Annotations\\AbstractAnnotation given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Processors/DocBlockDescriptions.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$annotation of method OpenApi\\\\Processors\\\\DocBlockDescriptions\\:\\:summaryAndDescription\\(\\) expects OpenApi\\\\Annotations\\\\Operation\\|OpenApi\\\\Annotations\\\\Parameter\\|OpenApi\\\\Annotations\\\\Schema, OpenApi\\\\Annotations\\\\AbstractAnnotation given\\.$#" | ||
message: '#^Parameter \#1 \$annotation of method OpenApi\\Processors\\DocBlockDescriptions\:\:summaryAndDescription\(\) expects OpenApi\\Annotations\\Operation\|OpenApi\\Annotations\\Parameter\|OpenApi\\Annotations\\Schema, OpenApi\\Annotations\\AbstractAnnotation given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Processors/DocBlockDescriptions.php | ||
|
||
- | ||
message: "#^Property OpenApi\\\\Annotations\\\\Schema\\:\\:\\$examples \\(array\\<OpenApi\\\\Annotations\\\\Examples\\>\\) does not accept string\\.$#" | ||
message: '#^Strict comparison using \!\=\= between false and string will always evaluate to true\.$#' | ||
identifier: notIdentical.alwaysTrue | ||
count: 1 | ||
path: src/Processors/DocBlockDescriptions.php | ||
|
||
- | ||
message: '#^Property OpenApi\\Annotations\\Schema\:\:\$examples \(array\<OpenApi\\Annotations\\Examples\>\) does not accept string\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/Processors/MergeJsonContent.php | ||
|
||
- | ||
message: "#^Property OpenApi\\\\Annotations\\\\Schema\\:\\:\\$examples \\(array\\<OpenApi\\\\Annotations\\\\Examples\\>\\) does not accept string\\.$#" | ||
message: '#^Property OpenApi\\Annotations\\Schema\:\:\$examples \(array\<OpenApi\\Annotations\\Examples\>\) does not accept string\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/Processors/MergeXmlContent.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$callback of function spl_autoload_register expects \\(callable\\(string\\)\\: void\\)\\|null, array\\{Composer\\\\Autoload\\\\ClassLoader, 'findFile'\\} given\\.$#" | ||
message: '#^Parameter \#1 \$callback of function spl_autoload_register expects \(callable\(string\)\: void\)\|null, array\{Composer\\Autoload\\ClassLoader, ''findFile''\} given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: tests/Analysers/ComposerAutoloaderScannerTest.php | ||
|
||
- | ||
message: "#^Access to an undefined property OpenApi\\\\Analysers\\\\AnnotationFactoryInterface\\:\\:\\$reflectors\\.$#" | ||
message: '#^Access to an undefined property OpenApi\\Analysers\\AnnotationFactoryInterface\:\:\$reflectors\.$#' | ||
identifier: property.notFound | ||
count: 2 | ||
path: tests/Analysers/ReflectionAnalyserTest.php | ||
|
||
- | ||
message: "#^Access to an undefined property Reflector\\:\\:\\$name\\.$#" | ||
message: '#^Access to an undefined property Reflector\:\:\$name\.$#' | ||
identifier: property.notFound | ||
count: 1 | ||
path: tests/Analysers/ReflectionAnalyserTest.php | ||
|
||
- | ||
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#" | ||
message: '#^Call to an undefined method ReflectionType\:\:getName\(\)\.$#' | ||
identifier: method.notFound | ||
count: 1 | ||
path: tests/Annotations/AttributesSyncTest.php | ||
|
||
- | ||
message: '#^Method OpenApi\\Tests\\Processors\\AugmentParametersTest\:\:extractVarTypeAndDescription\(\) should return array\<string, string\|null\> but returns array\<int\|string, string\|null\>\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: tests/Processors/AugmentParametersTest.php | ||
|
||
- | ||
message: '#^Strict comparison using \!\=\= between false and string will always evaluate to true\.$#' | ||
identifier: notIdentical.alwaysTrue | ||
count: 1 | ||
path: tests/Processors/AugmentParametersTest.php | ||
|
||
- | ||
message: '#^Method OpenApi\\Tests\\Processors\\AugmentRefsTest\:\:extractVarTypeAndDescription\(\) should return array\<string, string\|null\> but returns array\<int\|string, string\|null\>\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: tests/Processors/AugmentRefsTest.php | ||
|
||
- | ||
message: '#^Strict comparison using \!\=\= between false and string will always evaluate to true\.$#' | ||
identifier: notIdentical.alwaysTrue | ||
count: 1 | ||
path: tests/Processors/AugmentRefsTest.php | ||
|
||
- | ||
message: '#^Method OpenApi\\Tests\\Processors\\DocBlockDescriptionsTest\:\:extractVarTypeAndDescription\(\) should return array\<string, string\|null\> but returns array\<int\|string, string\|null\>\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: tests/Processors/DocBlockDescriptionsTest.php | ||
|
||
- | ||
message: '#^Strict comparison using \!\=\= between false and string will always evaluate to true\.$#' | ||
identifier: notIdentical.alwaysTrue | ||
count: 1 | ||
path: tests/Processors/DocBlockDescriptionsTest.php |