Remove annotation based schema-query-parameter
processor example in favour of the attribute version
#648
static-analysis.yml
on: pull_request
static-analysis
23s
Annotations
9 errors
static-analysis:
Examples/processors/schema-query-parameter/SchemaQueryParameter.php#L49
Strict comparison using === between array<OpenApi\Annotations\Property> and '@OA\\Generator:…' will always evaluate to false.
|
static-analysis:
Examples/processors/schema-query-parameter/SchemaQueryParameter.php#L53
Strict comparison using === between array<OpenApi\Annotations\Parameter> and '@OA\\Generator:…' will always evaluate to false.
|
static-analysis:
Examples/processors/schema-query-parameter/SchemaQueryParameter.php#L56
Else branch is unreachable because ternary operator condition is always true.
|
static-analysis:
Examples/processors/schema-query-parameter/SchemaQueryParameter.php#L81
Property OpenApi\Annotations\AbstractAnnotation::$x (array<string, mixed>) does not accept string.
|
static-analysis
Ignored error pattern #^Else branch is unreachable because ternary operator condition is always true\.$# in path /home/runner/work/swagger-php/swagger-php/Examples/processors/schema-query-parameter-attributes/SchemaQueryParameter.php was not matched in reported errors.
|
static-analysis
Ignored error pattern #^Property OpenApi\\Annotations\\AbstractAnnotation\:\:\$x \(array\<string, mixed\>\) does not accept string\.$# in path /home/runner/work/swagger-php/swagger-php/Examples/processors/schema-query-parameter-attributes/SchemaQueryParameter.php was not matched in reported errors.
|
static-analysis
Ignored error pattern #^Strict comparison using \=\=\= between array\<OpenApi\\Annotations\\Parameter\> and '@OA\\\\Generator\:…' will always evaluate to false\.$# in path /home/runner/work/swagger-php/swagger-php/Examples/processors/schema-query-parameter-attributes/SchemaQueryParameter.php was not matched in reported errors.
|
static-analysis
Ignored error pattern #^Strict comparison using \=\=\= between array\<OpenApi\\Annotations\\Property\> and '@OA\\\\Generator\:…' will always evaluate to false\.$# in path /home/runner/work/swagger-php/swagger-php/Examples/processors/schema-query-parameter-attributes/SchemaQueryParameter.php was not matched in reported errors.
|
static-analysis
Process completed with exit code 1.
|