PrivatizeFinalClassPropertyRector

Change property to private if possible

 final class SomeClass
 {
-    protected $value;
+    private $value;
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;

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

Other rules in the Privatization set