I am trying to update my Magento to 2.4.7-p5 and I am getting this error during the update process after running composer update
:
Cannot declare class
DealerdirectComposerPluginInstallersPHPCodeSnifferPlugin, because
the name is already in use in
vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php
on line 35
Using composer 2.2 … what could be the reason and how can I solve this?
Thanks