-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tooling and dependency versions (#1691)
- Loading branch information
1 parent
faf0bb4
commit 2d36530
Showing
17 changed files
with
129 additions
and
54 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
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
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
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
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,106 +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: "#^Result of && is always true\\.$#" | ||
message: '#^Attribute class JetBrains\\PhpStorm\\ArrayShape does not exist\.$#' | ||
identifier: attribute.notFound | ||
count: 1 | ||
path: Examples/processors/sort-components/SortComponents.php | ||
path: Examples/using-links-php81/User.php | ||
|
||
- | ||
message: "#^Attribute class JetBrains\\\\PhpStorm\\\\ArrayShape does not exist\\.$#" | ||
message: '#^Call to function method_exists\(\) with ReflectionProperty and ''isPromoted'' will always evaluate to true\.$#' | ||
identifier: function.alreadyNarrowedType | ||
count: 1 | ||
path: Examples/using-links-php81/User.php | ||
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: "#^Call to function array_key_exists\\(\\) with string and array\\{\\} will always evaluate to false\\.$#" | ||
message: '#^Access to an undefined property OpenApi\\Annotations\\AbstractAnnotation\:\:\$description\.$#' | ||
identifier: property.notFound | ||
count: 1 | ||
path: src/Analysers/TokenScanner.php | ||
path: src/Annotations/AbstractAnnotation.php | ||
|
||
- | ||
message: "#^Access to an undefined property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$description\\.$#" | ||
message: '#^Access to an undefined property OpenApi\\Annotations\\AbstractAnnotation\:\:\$summary\.$#' | ||
identifier: property.notFound | ||
count: 1 | ||
path: src/Annotations/AbstractAnnotation.php | ||
|
||
- | ||
message: "#^Access to an undefined property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$summary\\.$#" | ||
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\\.$#" | ||
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: "#^Call to function is_array\\(\\) with bool\\|OpenApi\\\\Annotations\\\\AdditionalProperties will always evaluate to false\\.$#" | ||
message: '#^Strict comparison using \!\=\= between false and string will always evaluate to true\.$#' | ||
identifier: notIdentical.alwaysTrue | ||
count: 1 | ||
path: src/Processors/AugmentSchemas.php | ||
path: src/Processors/AugmentParameters.php | ||
|
||
- | ||
message: "#^Property OpenApi\\\\Annotations\\\\Schema\\:\\:\\$properties \\(array\\<OpenApi\\\\Annotations\\\\Property\\>\\) does not accept string\\.$#" | ||
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/AugmentSchemas.php | ||
path: src/Processors/AugmentProperties.php | ||
|
||
- | ||
message: "#^Result of && is always false\\.$#" | ||
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\.$#' | ||
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: '#^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\\.$#" | ||
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 |
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
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,8 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="4.23.0@f1fe6ff483bf325c803df9f510d09a03fd796f88"> | ||
<file src="src/Serializer.php"> | ||
<ReservedWord occurrences="1"> | ||
<code>Yaml::parse($contents)</code> | ||
</ReservedWord> | ||
</file> | ||
</files> | ||
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0"/> |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.