Skip to content

Update "revision" to "version" to maintain consistency #9

Update "revision" to "version" to maintain consistency

Update "revision" to "version" to maintain consistency #9

Triggered via push January 12, 2025 23:34
Status Failure
Total duration 47s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: config/rewind.php#L56
Class App\Models\User not found.
phpstan: src/Exceptions/InvalidConfigurationException.php#L9
Unsafe usage of new static().
phpstan: src/Models/RewindVersion.php#L34
PHPDoc type array of property AvocetShores\LaravelRewind\Models\RewindVersion::$fillable is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
phpstan: src/Models/RewindVersion.php#L47
PHPDoc type array of property AvocetShores\LaravelRewind\Models\RewindVersion::$casts is not covariant with PHPDoc type array<string, string> of overridden property Illuminate\Database\Eloquent\Model::$casts.
phpstan: src/Services/RewindManager.php#L34
Call to an undefined method Illuminate\Database\Eloquent\Model::versions().
phpstan: src/Services/RewindManager.php#L60
Call to an undefined method Illuminate\Database\Eloquent\Model::versions().
phpstan: src/Services/RewindManager.php#L83
Call to an undefined method Illuminate\Database\Eloquent\Model::versions().
phpstan: src/Services/RewindManager.php#L103
Call to an undefined method Illuminate\Database\Eloquent\Model::versions().
phpstan: src/Services/RewindManager.php#L120
Access to an undefined property Illuminate\Database\Eloquent\Model::$disableRewindEvents.
phpstan: src/Services/RewindManager.php#L129
Access to an undefined property Illuminate\Database\Eloquent\Model::$current_version.
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636