Skip to content

feat: Allow schema generator to use labels for naming #266

feat: Allow schema generator to use labels for naming

feat: Allow schema generator to use labels for naming #266

Triggered via pull request December 11, 2023 10:14
Status Failure
Total duration 2m 26s
Artifacts

ci.yml

on: pull_request
Matrix: Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build and Test (8.3): src/AttributeGenerator/ConfigurationAttributeGenerator.php#L29
Cannot call method getUri() on ApiPlatform\SchemaGenerator\Schema\Rdf\RdfGraph|null.
Build and Test (8.3): src/CardinalitiesExtractor.php#L57
Call to an undefined method ApiPlatform\SchemaGenerator\Schema\Rdf\RdfResource::isBNode().
Build and Test (8.3): src/CardinalitiesExtractor.php#L61
Call to an undefined method ApiPlatform\SchemaGenerator\Schema\Rdf\RdfResource::getUri().
Build and Test (8.3): src/CardinalitiesExtractor.php#L66
Method ApiPlatform\SchemaGenerator\CardinalitiesExtractor::extract() should return array<string, string> but returns array<int|string, string>.
Build and Test (8.3): src/CardinalitiesExtractor.php#L78
Call to an undefined method ApiPlatform\SchemaGenerator\Schema\Rdf\RdfResource::get().
Build and Test (8.3): src/CardinalitiesExtractor.php#L79
Call to an undefined method ApiPlatform\SchemaGenerator\Schema\Rdf\RdfResource::get().
Build and Test (8.3): src/CardinalitiesExtractor.php#L92
Call to an undefined method ApiPlatform\SchemaGenerator\Schema\Rdf\RdfResource::isA().
Build and Test (8.3): src/CardinalitiesExtractor.php#L95
Call to an undefined method ApiPlatform\SchemaGenerator\Schema\Rdf\RdfResource::isA().
Build and Test (8.3): src/CardinalitiesExtractor.php#L99
Call to an undefined method ApiPlatform\SchemaGenerator\Schema\Rdf\RdfResource::getUri().
Build and Test (8.3): src/CardinalitiesExtractor.php#L107
Parameter #1 $id of method ApiPlatform\SchemaGenerator\GoodRelationsBridge::extractCardinality() expects string, string|null given.