WithoutTimestampsPropertyToWithoutTimestampsAttributeRector

Changes model timestamps = false property to use the WithoutTimestamps attribute

 use Illuminate\Database\Eloquent\Model;
+use Illuminate\Database\Eloquent\Attributes\WithoutTimestamps;

+#[WithoutTimestamps]
 class EventLog extends Model
 {
-    public $timestamps = false;
 }

Configure your rector.php:

<?php

use RectorLaravel\Rector\Class_\WithoutTimestampsPropertyToWithoutTimestampsAttributeRector;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withRules([
        WithoutTimestampsPropertyToWithoutTimestampsAttributeRector::class,
    ]);