Skip to content

make compatible with L12 #1187

make compatible with L12

make compatible with L12 #1187

Triggered via push February 14, 2025 14:03
Status Failure
Total duration 56s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: src/Attributes/Validation/ValidationAttribute.php#L1
Ignored error pattern #^Parameter \#1 \$time of static method Carbon\\Carbon\:\:parse\(\) expects DateTimeInterface\|string\|null, int given\.$# in path /home/runner/work/laravel-data/laravel-data/src/Attributes/Validation/ValidationAttribute.php was not matched in reported errors.
phpstan: src/Concerns/EnumerableMethods.php (in context of class Spatie/LaravelData/DataCollection)#L133
Method Spatie\LaravelData\DataCollection::values() should return static(Spatie\LaravelData\DataCollection<int, TValue>) but returns $this(Spatie\LaravelData\DataCollection<TKey of (int|string), TValue>).
phpstan: src/CursorPaginatedDataCollection.php#L1
Ignored error pattern #^PHPDoc tag @return with type Spatie\\LaravelData\\CursorPaginatedDataCollection\<TKey of \(int\|string\), TValue\> is not subtype of native type static\(Spatie\\LaravelData\\CursorPaginatedDataCollection\<TKey of \(int\|string\), TValue\>\)\.$# in path /home/runner/work/laravel-data/laravel-data/src/CursorPaginatedDataCollection.php was not matched in reported errors.
phpstan: src/CursorPaginatedDataCollection.php#L70
Method Spatie\LaravelData\CursorPaginatedDataCollection::through() should return static(Spatie\LaravelData\CursorPaginatedDataCollection<TKey of (int|string), TValue>) but returns $this(Spatie\LaravelData\CursorPaginatedDataCollection<TKey of (int|string), TValue>).
phpstan: src/DataCollection.php#L1
Ignored error pattern #^PHPDoc tag @return with type Spatie\\LaravelData\\DataCollection\<int, TValue\> is not subtype of native type static\(Spatie\\LaravelData\\DataCollection\<TKey of \(int\|string\), TValue\>\)\.$# in path /home/runner/work/laravel-data/laravel-data/src/DataCollection.php was not matched in reported errors.
phpstan: src/PaginatedDataCollection.php#L1
Ignored error pattern #^PHPDoc tag @return with type Spatie\\LaravelData\\PaginatedDataCollection\<TKey of \(int\|string\), TValue\> is not subtype of native type static\(Spatie\\LaravelData\\PaginatedDataCollection\<TKey of \(int\|string\), TValue\>\)\.$# in path /home/runner/work/laravel-data/laravel-data/src/PaginatedDataCollection.php was not matched in reported errors.
phpstan: src/PaginatedDataCollection.php#L69
Method Spatie\LaravelData\PaginatedDataCollection::through() should return static(Spatie\LaravelData\PaginatedDataCollection<TKey of (int|string), TValue>) but returns $this(Spatie\LaravelData\PaginatedDataCollection<TKey of (int|string), TValue>).
phpstan: src/Support/Partials/ForwardsToPartialsDefinition.php (in context of class Spatie/LaravelData/CursorPaginatedDataCollection)#L21
Property object{includePartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, excludePartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, onlyPartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, exceptPartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null}::$includePartials is not writable.
phpstan: src/Support/Partials/ForwardsToPartialsDefinition.php (in context of class Spatie/LaravelData/CursorPaginatedDataCollection)#L32
Property object{includePartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, excludePartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, onlyPartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, exceptPartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null}::$includePartials is not writable.
phpstan: src/Support/Partials/ForwardsToPartialsDefinition.php (in context of class Spatie/LaravelData/CursorPaginatedDataCollection)#L43
Property object{includePartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, excludePartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, onlyPartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null, exceptPartials: Spatie\LaravelData\Support\Partials\PartialsCollection|null}::$excludePartials is not writable.
phpstan
Cache not found for keys: Linux-php-8.4.3-composer-locked-e0c0d9d1f47c77b400da392f016178bbc25ec71d81d61b0dc3b426e8090c1318, Linux-php-8.4.3-composer-locked-