eventsauce/rector-0-to-1

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Rector rules for upgrading EventSauce from 0.8 to 1.0

dev-main 2021-06-10 19:35 UTC

This package is auto-updated.

Last update: 2021-09-10 20:20:29 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
};