lint/php-5.5
Upgrade to PHP 5.5: code a newer PHP removes, deprecates or does better.
no-class-magic-constant
Change __CLASS__ to self::class
In the lint-recommended preset and every stricter one. In Rector’s rector/php55 set. Safe fix. Runs only when [php] version is 5.5 or later.
prefer-self-over-get-called-class
Change get_called_class() to self::class on final class
In the lint-strict preset. In Rector’s rector/php55 set. Unsafe fix: it can change behavior. Runs only when [php] version is 5.5 or later.
prefer-static-over-get-called-class
Change get_called_class() to static::class on non-final class
In the lint-recommended preset and every stricter one. In Rector’s rector/php55 set. Safe fix. Runs only when [php] version is 5.5 or later.