Aeliot-Tm / php-cs-fixer-baseline

Simple baseline for PHP CS Fixer
MIT License
1 stars 2 forks source link

Add compatibility with bamarni/composer-bin-plugin #28

Open Aeliot-Tm opened 1 week ago

Aeliot-Tm commented 1 week ago

It would be nice to make project compatible with bamarni/composer-bin-plugin. To permit installation in projects with conflict of verdors.

Installation schema:

  1. Enable plugin
    {
       "config": {
           "allow-plugins": {
               "bamarni/composer-bin-plugin": true
           }
       }
    }
  2. Install plugin
    composer require --dev bamarni/composer-bin-plugin
  3. Install this package into vendor-bin
    composer bin pcsf-baseline require --dev aeliot/php-cs-fixer-baseline
  4. Using as usual
    vendor/bin/pcsf-baseline

Soon of all only detection of autoloader should be updated.