Hi everybody!
Since a while I'm using PHP Mess Detector for some of my plugins. It does a particular good job at finding unused local variables and parameters, which are sometimes a relict of refactoring, or simply the result of sloppiness or some trickery. It seems to me that it's best to remove such unused entities to make the code simpler and clearer.
Therefore I suggest to adopt PHP Mess Detector for the core and the internal plugins, only checking the `unused` rules for now. The proposed patch will add it to the dev requirements and also makes a respective Phing target (`mess`) available. Furthermore it removes the detected unused variables and parameters.
Adopt PHP Mess Detector
Adopt PHP Mess Detector
Christoph M. Becker – Plugins for CMSimple_XH
Re: Adopt PHP Mess Detector
This is a improvement of the development environment!
What's the step-by-step action to update the named? Just run "composer update" on the command line? Or is there another install necessary (update Wiki)?
regards
manu
What's the step-by-step action to update the named? Just run "composer update" on the command line? Or is there another install necessary (update Wiki)?
regards
manu
Re: Adopt PHP Mess Detector
At first you have to apply the patch, then run `composer update` and then you can do `phing mess`. I'll update the Wiki after the vote has finished and this item has been accepted.manu wrote:What's the step-by-step action to update the named? Just run "composer update" on the command line? Or is there another install necessary (update Wiki)?
Christoph M. Becker – Plugins for CMSimple_XH