Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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

---