Skip to content

[TMP][WiP] IBX-8470: Upgraded codebase to Symfony 6 #219

[TMP][WiP] IBX-8470: Upgraded codebase to Symfony 6

[TMP][WiP] IBX-8470: Upgraded codebase to Symfony 6 #219

Triggered via pull request December 16, 2024 11:39
Status Failure
Total duration 40s
Artifacts

ci.yaml

on: pull_request
Matrix: Run code style check
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 10 warnings
Run code style check (8.3)
Process completed with exit code 1.
Unit tests (8.3): src/lib/DataLoader/SearchContentLoader.php#L1
Ignored error pattern #^Method Ibexa\\GraphQL\\DataLoader\\SearchContentLoader\:\:count\(\) should return int but returns int\|null\.$# in path /home/runner/work/graphql/graphql/src/lib/DataLoader/SearchContentLoader.php was not matched in reported errors.
Unit tests (8.3): src/lib/DataLoader/SearchContentLoader.php#L1
Ignored error pattern #^Method Ibexa\\GraphQL\\DataLoader\\SearchContentLoader\:\:find\(\) should return array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content\> but returns array\<Ibexa\\Contracts\\Core\\Repository\\Values\\ValueObject\>\.$# in path /home/runner/work/graphql/graphql/src/lib/DataLoader/SearchContentLoader.php was not matched in reported errors.
Unit tests (8.3): src/lib/DataLoader/SearchContentLoader.php#L80
Method Ibexa\GraphQL\DataLoader\SearchContentLoader::count() should return int but returns int<0, max>|null.
Unit tests (8.3): src/lib/DataLoader/SearchLocationLoader.php#L1
Ignored error pattern #^Method Ibexa\\GraphQL\\DataLoader\\SearchLocationLoader\:\:count\(\) should return int but returns int\|null\.$# in path /home/runner/work/graphql/graphql/src/lib/DataLoader/SearchLocationLoader.php was not matched in reported errors.
Unit tests (8.3): src/lib/DataLoader/SearchLocationLoader.php#L1
Ignored error pattern #^Method Ibexa\\GraphQL\\DataLoader\\SearchLocationLoader\:\:find\(\) should return array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Location\> but returns array\<Ibexa\\Contracts\\Core\\Repository\\Values\\ValueObject\>\.$# in path /home/runner/work/graphql/graphql/src/lib/DataLoader/SearchLocationLoader.php was not matched in reported errors.
Unit tests (8.3): src/lib/DataLoader/SearchLocationLoader.php#L116
Method Ibexa\GraphQL\DataLoader\SearchLocationLoader::count() should return int but returns int<0, max>|null.
Unit tests (8.3): src/lib/Resolver/LocationGuesser/CurrentSiteLocationProvider.php#L1
Ignored error pattern #^Parameter \#1 \$location of method Ibexa\\GraphQL\\Resolver\\LocationGuesser\\ObjectStorageLocationList\:\:addLocation\(\) expects Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Location, Ibexa\\Contracts\\Core\\Repository\\Values\\ValueObject given\.$# in path /home/runner/work/graphql/graphql/src/lib/Resolver/LocationGuesser/CurrentSiteLocationProvider.php was not matched in reported errors.
Unit tests (8.3)
Process completed with exit code 1.
Run code style check (8.3): src/lib/Resolver/ItemResolver.php#L1
Found violation(s) of type: no_unused_imports
Run code style check (8.3): src/lib/Resolver/ItemResolver.php#L1
Found violation(s) of type: header_comment
Run code style check (8.3): src/lib/Resolver/ItemResolver.php#L1
Found violation(s) of type: blank_lines_before_namespace
Run code style check (8.3): src/lib/Relay/PageAwareConnection.php#L1
Found violation(s) of type: function_declaration
Run code style check (8.3): src/lib/Relay/PageAwareConnection.php#L1
Found violation(s) of type: is_null
Run code style check (8.3): src/lib/Relay/PageAwareConnection.php#L1
Found violation(s) of type: static_lambda
Run code style check (8.3): src/lib/Relay/PageAwareConnection.php#L1
Found violation(s) of type: no_unused_imports
Run code style check (8.3): src/lib/Relay/PageAwareConnection.php#L1
Found violation(s) of type: blank_line_before_statement
Run code style check (8.3): src/lib/Relay/PageAwareConnection.php#L1
Found violation(s) of type: header_comment
Run code style check (8.3): src/lib/Relay/PageAwareConnection.php#L1
Found violation(s) of type: blank_lines_before_namespace