PropertyExistsWithoutAssertRector

Replace removed assertClassHas*Attribute() with property_exists()

-$this->assertClassHasAttribute("Class", "property");
-$this->assertClassHasStaticAttribute("Class", "property");
+$this->assertTrue(property_exists("Class", "property"));
+$this->assertTrue(property_exists("Class", "property"));

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\PHPUnit\PHPUnit100\Rector\MethodCall\PropertyExistsWithoutAssertRector;

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