Zend Rector
This project contains Rector rules to update your code from old Zend to not-so-old Zend.
Install
Install rector and this package:
composer require rector/rector --dev
composer require revenkroz/zend-rector --dev
Use Sets
Add set to your rector.php
:
use Rector\Config\RectorConfig;
use Revenkroz\ZendRector\Set\ZendSetList;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->sets([
ZendSetList::ZEND_3,
]);
};