Sign inSign up

ruudboon/phalcon-rector

By ruudboon

•Updated about 6 years ago

Docker containers with Phalcon and Rector installed for easily scanning your project.

Image
0

1.0K

ruudboon/phalcon-rector repository overview

Docker containers with Phalcon and Rector installed for easily scanning your project.

Create a rector.yml file in the root of your project containing the directories that need to be scanned and the directories that need to be autoloaded.

For example:

parameters:
  paths:
    - 'app'
    - 'public'
  autoload_paths:
    - 'app'

Phalcon 3.4 -> Phalcon 4

Run inside your project:

docker run -v $(pwd):/project ruudboon/phalcon-rector:php73-v3_to_v4

You will get an overview of suggested changes. If you want to apply these changes by rector run:

docker run -v $(pwd):/project ruudboon/phalcon-rector:php73-v3_to_v4 process --set phalcon40

PHP 7.4 - Phalcon 4

Need to check if your interfaces align and you are 7.4 compatible?

Run:

docker run -v $(pwd):/project ruudboon/phalcon-rector:php74-v4 process --set php74

Tag summary

Content type

Image

Digest

Size

69.4 MB

Last updated

about 6 years ago

docker pull ruudboon/phalcon-rector:php73-v3_to_v4