Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilyapokamestov/drupalfixer
Checks and fixes Drupal deprecated code.
https://github.com/ilyapokamestov/drupalfixer
drupal drupal-8 drupal-9 fixer
Last synced: about 1 month ago
JSON representation
Checks and fixes Drupal deprecated code.
- Host: GitHub
- URL: https://github.com/ilyapokamestov/drupalfixer
- Owner: IlyaPokamestov
- License: gpl-2.0
- Created: 2019-10-08T05:19:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-03T16:56:07.000Z (about 5 years ago)
- Last Synced: 2024-11-14T15:13:54.181Z (3 months ago)
- Topics: drupal, drupal-8, drupal-9, fixer
- Language: PHP
- Size: 155 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DrupalFixer
Checks and fixes Drupal deprecated code.**[IMPORTANT] This project is an experiment to figure out how is complex to implement automatically migration
of deprecated Drupal7/8 code blocks which are going to be removed in Drupal 9.**Manual checks of the results are required.
## Contributing
Please [follow this guide](/docs/CONTRIBUTION.md) to understand how this project is working and how you can contribute into it.
## Requirements
* PHP >=7.1
## Installation
### Composer
To get the latest master version of this project you can install it via composer:
```
php myapp/composer.phar create-project dario_swain/drupal-fixer -s dev
cd drupal-fixer
vendor/bin/rector -V
```After this you should get Rector version in console like:
```
Rector v0.5.16
```### Build From Source
- Clone or fork and clone this repository.
- Run ```composer install```
- That's it you can use Rector via ```vendor/bin/rector -V```## Usage
```
php ../../vendor/bin/rector -c ../../configs/drupal-9-deprecations.yaml process -a vendor/autoload.php modules/contrib/simple_amp/src/ --dry-run```
## License[GPL v2](LICENSE)
## Issues
Submit issues and feature requests here: https://github.com/DarioSwain/DrupalFixer/issues.
### Known Issues
---