eventsauce/rector-0-to-1

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: 2024-10-11 03:20:17 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
};