composer-cleanup-plugin icon indicating copy to clipboard operation
composer-cleanup-plugin copied to clipboard

Fix missing constants in ScriptEvents in composer v2

Open kranack opened this issue 4 years ago • 1 comments

  • Composer v2 no longer uses constants in getSubscribedEvents method

This fix the error reported in #26 by @budziam

kranack avatar Nov 15 '20 17:11 kranack

ping @barryvdh

staabm avatar Sep 29 '21 15:09 staabm

I see you changed the package name on both master and the PR branch, but it doesn't seem published on packagist

Could you publish it and reset the PR branch to the previous commit?

Tofandel avatar Aug 02 '23 19:08 Tofandel

@Tofandel I only changed the package name on my branch because I needed to use the package with composer v2. I could publish it on packagist but there's already some existing forks that already works with composer v2 (https://github.com/avto-dev/composer-cleanup-plugin as an example)

kranack avatar Aug 05 '23 15:08 kranack

Thanks!

barryvdh avatar Aug 05 '23 15:08 barryvdh