Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awoimbee/sf4_updater
Helper for migrating from symfony 3 to symfony 4. Scans and removes deprecations
https://github.com/awoimbee/sf4_updater
symfony symfony3
Last synced: about 2 months ago
JSON representation
Helper for migrating from symfony 3 to symfony 4. Scans and removes deprecations
- Host: GitHub
- URL: https://github.com/awoimbee/sf4_updater
- Owner: awoimbee
- Archived: true
- Created: 2019-10-28T16:58:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-14T13:45:05.000Z (over 4 years ago)
- Last Synced: 2024-09-26T04:01:52.261Z (about 2 months ago)
- Topics: symfony, symfony3
- Language: Rust
- Homepage:
- Size: 138 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sf4_updater
Helper for migrating from symfony 3 to symfony 4. Scans and removes deprecations (symfony 3.4 to 4 upgrade)I think the usage is self explanatory:
```
$ cargo build --release
$ ./target/release/sf4_updater --help
myapp 0.2
Arthur W.
Helps you to update your sf3 project to sf4 & higherUSAGE:
sf4_updater [FLAGS] [OPTIONS]FLAGS:
-A, --dealias_getrepo Transformer: dialias `getRopository()` statements
-B, --rm_get Transformer: remove `container->get()` statements
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-c, --conf_file Conf. file to use
-y, --controllers_yml Path to file where controllers conf will be written
-C, --dealias_paths Transformer: 1: moe templates 2: update contrls paths
-r, --project_root Path to your symfony project
-w, --work_dir Dir under which modifications will be done```
This was written for a company, on company time (so it's not the prettiest).