Bump JetBrains/qodana-action from 2024.2 to 2024.3 #1465
Annotations
10 errors and 1 warning
Run phpstan:
src/Interfaces/Wallet.php#L169
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Bavix\Wallet\Models\Transaction> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
|
Run phpstan:
src/Interfaces/Wallet.php#L180
Generic type Illuminate\Database\Eloquent\Relations\MorphMany<Bavix\Wallet\Models\Transaction> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\MorphMany: TRelatedModel, TDeclaringModel
|
Run phpstan:
src/Interfaces/Wallet.php#L187
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Bavix\Wallet\Models\Transfer> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
|
Run phpstan:
src/Interfaces/Wallet.php#L194
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Bavix\Wallet\Models\Transfer> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
|
Run phpstan:
src/Models/Transaction.php#L1
Ignored error pattern #^Method Bavix\\Wallet\\Models\\Transaction\:\:wallet\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Wallet, Bavix\\Wallet\\Models\\Transaction\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<TRelatedModel of Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transaction\)\>\.$# in path /home/runner/work/laravel-wallet/laravel-wallet/src/Models/Transaction.php was not matched in reported errors.
|
Run phpstan:
src/Models/Transaction.php#L90
Method Bavix\Wallet\Models\Transaction::payable() should return Illuminate\Database\Eloquent\Relations\MorphTo<Illuminate\Database\Eloquent\Model, Bavix\Wallet\Models\Transaction> but returns Illuminate\Database\Eloquent\Relations\MorphTo<Illuminate\Database\Eloquent\Model, $this(Bavix\Wallet\Models\Transaction)>.
|
Run phpstan:
src/Models/Transaction.php#L98
Method Bavix\Wallet\Models\Transaction::wallet() should return Illuminate\Database\Eloquent\Relations\BelongsTo<Bavix\Wallet\Models\Wallet, Bavix\Wallet\Models\Transaction> but returns Illuminate\Database\Eloquent\Relations\BelongsTo<Illuminate\Database\Eloquent\Model, $this(Bavix\Wallet\Models\Transaction)>.
|
Run phpstan:
src/Models/Transfer.php#L1
Ignored error pattern #^Method Bavix\\Wallet\\Models\\Transfer\:\:deposit\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Transaction, Bavix\\Wallet\\Models\\Transfer\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<TRelatedModel of Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transfer\)\>\.$# in path /home/runner/work/laravel-wallet/laravel-wallet/src/Models/Transfer.php was not matched in reported errors.
|
Run phpstan:
src/Models/Transfer.php#L1
Ignored error pattern #^Method Bavix\\Wallet\\Models\\Transfer\:\:from\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Wallet, Bavix\\Wallet\\Models\\Transfer\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<TRelatedModel of Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transfer\)\>\.$# in path /home/runner/work/laravel-wallet/laravel-wallet/src/Models/Transfer.php was not matched in reported errors.
|
Run phpstan:
src/Models/Transfer.php#L1
Ignored error pattern #^Method Bavix\\Wallet\\Models\\Transfer\:\:to\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<Bavix\\Wallet\\Models\\Wallet, Bavix\\Wallet\\Models\\Transfer\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<TRelatedModel of Illuminate\\Database\\Eloquent\\Model, \$this\(Bavix\\Wallet\\Models\\Transfer\)\>\.$# in path /home/runner/work/laravel-wallet/laravel-wallet/src/Models/Transfer.php was not matched in reported errors.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading