Update dependency phpstan/phpdoc-parser to v2 #183
Annotations
10 errors and 1 warning
Run make psalm:
../../src/Gatherer/Client.php#L19
../../src/Gatherer/Client.php:19:18: RedundantConditionGivenDocblockType: Docblock-defined type array<array-key, cebe\openapi\spec\Server> for $spec->servers is always isset (see https://psalm.dev/156)
|
Run make psalm:
../../src/Gatherer/Client.php#L19
../../src/Gatherer/Client.php:19:36: DocblockTypeContradiction: Cannot resolve types for $spec->servers with docblock-defined type array<array-key, cebe\openapi\spec\Server> and !isset assertion (see https://psalm.dev/155)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L40
../../src/Gatherer/CompositSchema.php:40:18: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $schema of type cebe\openapi\spec\Reference|cebe\openapi\spec\Schema|null (see https://psalm.dev/082)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L40
../../src/Gatherer/CompositSchema.php:40:18: UndefinedPropertyFetch: Instance property cebe\openapi\spec\Reference::$properties is not defined (see https://psalm.dev/039)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L40
../../src/Gatherer/CompositSchema.php:40:18: PossiblyNullIterator: Cannot iterate over nullable var mixed|null (see https://psalm.dev/097)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L47
../../src/Gatherer/CompositSchema.php:47:21: RedundantConditionGivenDocblockType: Docblock-defined type array<array-key, string> for $schema->required is always isset (see https://psalm.dev/156)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L47
../../src/Gatherer/CompositSchema.php:47:42: DocblockTypeContradiction: Cannot resolve types for $schema->required with docblock-defined type array<array-key, string> and !isset assertion (see https://psalm.dev/155)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L64
../../src/Gatherer/CompositSchema.php:64:39: PossiblyNullArgument: Argument 1 of property_exists cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L71
../../src/Gatherer/CompositSchema.php:71:22: RedundantConditionGivenDocblockType: Docblock-defined type array<array-key, mixed> for $property->enum is always isset (see https://psalm.dev/156)
|
Run make psalm:
../../src/Gatherer/CompositSchema.php#L71
../../src/Gatherer/CompositSchema.php:71:41: DocblockTypeContradiction: Cannot resolve types for $property->enum with docblock-defined type array<array-key, mixed> and !isset assertion (see https://psalm.dev/155)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading