https://github.com/ruudboon/phalcon-docker-rector
CMD Line php docker container for running rector
https://github.com/ruudboon/phalcon-docker-rector
Last synced: 3 months ago
JSON representation
CMD Line php docker container for running rector
- Host: GitHub
- URL: https://github.com/ruudboon/phalcon-docker-rector
- Owner: ruudboon
- License: bsd-3-clause
- Created: 2020-01-05T08:07:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-09T13:43:05.000Z (over 5 years ago)
- Last Synced: 2025-03-19T05:34:04.683Z (3 months ago)
- Language: Dockerfile
- Size: 16.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phalcon + Rector in docker
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
```