eventsauce / rector-0-to-1
Rector rules for upgrading EventSauce from 0.8 to 1.0
Fund package maintenance!
frankdejonge
Requires
- rector/rector: ^0.10.3
Requires (Dev)
- eventsauce/eventsauce: ^0.8.2
- league/flysystem: ^2.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-11 03:31:18 UTC
README
This package provides a rector configuration to help you migrate from version 0.8 to version 1.0. All the interface changes, renamed, and added return types have been taken care of.
Usage
composer require --dev eventsauce/rector-0-to-1
Now use the `` function in your rector configuration:
<?php use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return static function (ContainerConfigurator $containerConfigurator): void { upgradeEventSauceFrom0to1($containerConfigurator); // your other rector configuration settings };