Skip to content

Added auth and user scaffolding to skeleton app #271

Added auth and user scaffolding to skeleton app

Added auth and user scaffolding to skeleton app #271

Triggered via pull request August 20, 2023 21:16
Status Failure
Total duration 51s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
InvalidArgument: src/Database/Components/DatabaseSeederComponent.php#L33
src/Database/Components/DatabaseSeederComponent.php:33:13: InvalidArgument: Argument 1 of App\Database\GlobalDatabaseSeeder::__construct expects App\Database\IDatabaseSeeder, but list<App\Database\IDatabaseSeeder> provided (see https://psalm.dev/004)
MismatchingDocblockPropertyType: src/Database/GlobalDatabaseSeeder.php#L13
src/Database/GlobalDatabaseSeeder.php:13:15: MismatchingDocblockPropertyType: Parameter App\Database\GlobalDatabaseSeeder::$databaseSeeders has wrong type 'App\Database\IDatabaseSeeder', should be 'array<array-key, mixed>' (see https://psalm.dev/264)
MismatchingDocblockParamType: src/Database/GlobalDatabaseSeeder.php#L13
src/Database/GlobalDatabaseSeeder.php:13:15: MismatchingDocblockParamType: Parameter $databaseSeeders has wrong type 'App\Database\IDatabaseSeeder', should be 'array<array-key, mixed>' (see https://psalm.dev/141)
RawObjectIteration: src/Database/GlobalDatabaseSeeder.php#L24
src/Database/GlobalDatabaseSeeder.php:24:18: RawObjectIteration: Possibly undesired iteration over regular object App\Database\IDatabaseSeeder (see https://psalm.dev/111)
MixedAssignment: src/Database/GlobalDatabaseSeeder.php#L24
src/Database/GlobalDatabaseSeeder.php:24:44: MixedAssignment: Unable to determine the type that $databaseSeeder is being assigned to (see https://psalm.dev/032)
MixedMethodCall: src/Database/GlobalDatabaseSeeder.php#L25
src/Database/GlobalDatabaseSeeder.php:25:30: MixedMethodCall: Cannot determine the type of $databaseSeeder when calling method seed (see https://psalm.dev/015)
MismatchingDocblockReturnType: src/Users/IUserService.php#L33
src/Users/IUserService.php:33:16: MismatchingDocblockReturnType: Docblock has incorrect return type 'App\Users\User', should be 'array<array-key, mixed>' (see https://psalm.dev/142)
PHP 8.2 - prefer-stable
Process completed with exit code 2.
PHP 8.2 - prefer-stable
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/