After having worked with gerrit for years, I have finally decided to be a
good citizen and instead of submitting a patch, finding out that Gerritbot
has found issues with it, and re-submitting the patch (and thereby,
generating very long chains of patch sets), I should test my code using
phpcs and phpunit before submitting it :)
The problem is phpunit gives me a lot of errors all the time (see
https://phabricator.wikimedia.org/T175397 ). So I thought I should ask more
experienced developers: how do you test your code before submitting the
patch?
Thanks,
Huji