Skip to content

Remove the deprecated ProcessorInterface #767

Remove the deprecated ProcessorInterface

Remove the deprecated ProcessorInterface #767

Triggered via pull request January 15, 2025 19:57
Status Failure
Total duration 39s
Artifacts

static-analysis.yml

on: pull_request
static-analysis
28s
static-analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
static-analysis: src/Analysers/AttributeAnnotationFactory.php#L28
Call to function method_exists() with ReflectionProperty and 'isPromoted' will always evaluate to true.
static-analysis: src/Analysers/ReflectionAnalyser.php#L93
Call to function method_exists() with ReflectionClass<object> and 'isEnum' will always evaluate to true.
static-analysis: src/Annotations/AbstractAnnotation.php#L784
Call to function property_exists() with OpenApi\Annotations\AbstractAnnotation and '_context' will always evaluate to true.
static-analysis: src/Annotations/Schema.php#L1
Ignored error pattern #^Access to an undefined property object\:\:\$enum\.$# in path /home/runner/work/swagger-php/swagger-php/src/Annotations/Schema.php was not matched in reported errors.
static-analysis: src/Processors/Concerns/DocblockTrait.php (in context of class OpenApi/Processors/AugmentParameters)#L165
Strict comparison using !== between false and string will always evaluate to true.
static-analysis: src/Processors/Concerns/DocblockTrait.php (in context of class OpenApi/Processors/AugmentParameters)#L183
Method OpenApi\Processors\AugmentParameters::extractVarTypeAndDescription() should return array<string, string|null> but returns array<int|string, string|null>.
static-analysis: src/Processors/Concerns/DocblockTrait.php (in context of class OpenApi/Processors/AugmentProperties)#L165
Strict comparison using !== between false and string will always evaluate to true.
static-analysis: src/Processors/Concerns/DocblockTrait.php (in context of class OpenApi/Processors/AugmentProperties)#L183
Method OpenApi\Processors\AugmentProperties::extractVarTypeAndDescription() should return array<string, string|null> but returns array<int|string, string|null>.
static-analysis: src/Processors/Concerns/DocblockTrait.php (in context of class OpenApi/Processors/DocBlockDescriptions)#L165
Strict comparison using !== between false and string will always evaluate to true.
static-analysis: src/Processors/Concerns/DocblockTrait.php (in context of class OpenApi/Processors/DocBlockDescriptions)#L183
Method OpenApi\Processors\DocBlockDescriptions::extractVarTypeAndDescription() should return array<string, string|null> but returns array<int|string, string|null>.
static-analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636