Skip to content

DictionaryWord CRUD

DictionaryWord CRUD #4

Triggered via pull request March 4, 2024 14:14
Status Failure
Total duration 1m 38s
Artifacts

phpstan.yml

on: pull_request
php82-laravel-latest-phpstan-postgres
1m 25s
php82-laravel-latest-phpstan-postgres
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
php82-laravel-latest-phpstan-postgres: src/Services/DictionaryWordService.php#L34
PHPDoc tag @var has invalid value ($dictionaryWord DictionaryWord): Unexpected token "$dictionaryWord", expected type at offset 9
php82-laravel-latest-phpstan-postgres: src/Services/DictionaryWordService.php#L35
Parameter #1 $dictionaryWord of method EscolaLms\Dictionaries\Services\DictionaryWordService::syncCategories() expects EscolaLms\Dictionaries\Models\DictionaryWord, Illuminate\Database\Eloquent\Model given.
php82-laravel-latest-phpstan-postgres: src/Services/DictionaryWordService.php#L37
Method EscolaLms\Dictionaries\Services\DictionaryWordService::create() should return EscolaLms\Dictionaries\Models\DictionaryWord but returns Illuminate\Database\Eloquent\Model.
php82-laravel-latest-phpstan-postgres: src/Services/DictionaryWordService.php#L43
PHPDoc tag @var has invalid value ($dictionaryWord DictionaryWord): Unexpected token "$dictionaryWord", expected type at offset 9
php82-laravel-latest-phpstan-postgres: src/Services/DictionaryWordService.php#L44
Parameter #1 $dictionaryWord of method EscolaLms\Dictionaries\Services\DictionaryWordService::syncCategories() expects EscolaLms\Dictionaries\Models\DictionaryWord, Illuminate\Database\Eloquent\Model given.
php82-laravel-latest-phpstan-postgres: src/Services/DictionaryWordService.php#L46
Method EscolaLms\Dictionaries\Services\DictionaryWordService::update() should return EscolaLms\Dictionaries\Models\DictionaryWord but returns Illuminate\Database\Eloquent\Model.
php82-laravel-latest-phpstan-postgres
Process completed with exit code 1.
php82-laravel-latest-phpstan-postgres
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
php82-laravel-latest-phpstan-postgres
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/