Drop redundant method_exists checks
#1180
static-analysis.yml
on: pull_request
static-analysis
30s
Annotations
6 errors
|
static-analysis
Process completed with exit code 1.
|
|
static-analysis:
src/Type/TypeInfoTypeResolver.php#L0
Ignored error pattern #^Call to function method_exists\(\) with ReflectionProperty and 'isPromoted' will always evaluate to true\.$# (function.alreadyNarrowedType) in path /home/runner/work/swagger-php/swagger-php/src/Type/TypeInfoTypeResolver.php was not matched in reported errors.
|
|
static-analysis:
src/Type/LegacyTypeResolver.php#L0
Ignored error pattern #^Call to function method_exists\(\) with ReflectionProperty and 'isPromoted' will always evaluate to true\.$# (function.alreadyNarrowedType) in path /home/runner/work/swagger-php/swagger-php/src/Type/LegacyTypeResolver.php was not matched in reported errors.
|
|
static-analysis:
src/Analysers/ReflectionAnalyser.php#L0
Ignored error pattern #^Call to function method_exists\(\) with ReflectionClass\<object\> and 'isEnum' will always evaluate to true\.$# (function.alreadyNarrowedType) in path /home/runner/work/swagger-php/swagger-php/src/Analysers/ReflectionAnalyser.php was not matched in reported errors.
|
|
static-analysis:
src/Analysers/AttributeAnnotationFactory.php#L52
Call to an undefined method Reflector::getAttributes().
|
|
static-analysis:
src/Analysers/AttributeAnnotationFactory.php#L0
Ignored error pattern #^Call to function method_exists\(\) with ReflectionProperty and 'isPromoted' will always evaluate to true\.$# (function.alreadyNarrowedType) in path /home/runner/work/swagger-php/swagger-php/src/Analysers/AttributeAnnotationFactory.php was not matched in reported errors.
|