o0h/cakephp-37-rector

This package is abandoned and no longer maintained. No replacement package was suggested.

Auto fixer for CakePHP Fixtures import declaration to migrate CakePHP 3.7.x.

0.9.3 2019-03-21 14:12 UTC

This package is auto-updated.

Last update: 2022-02-01 13:15:45 UTC


README

Rector for migration cakephp app to 3.7

Install

composer reuqire --dev o0h/cakephp37-rector

Setup

Set rector.yaml like bellow.

parameters:
  autoload_paths:
    - './vendor/autoload.php'
    - './tests/bootstrap.php'
services:
    O0h\CakePHP37Rector\Rector\FixtureName\SnakeToCamel: ~

Run

vendor/bin/rector process .

See also