DistributedProofreaders / dproofreaders

Distributed Proofreaders is a web application intended to ease the process of converting public domain books into e-texts.
https://www.pgdp.net
GNU General Public License v2.0
46 stars 28 forks source link

Update php-cs-fixer to 3.57.1 #1214

Closed bpfoley closed 1 month ago

bpfoley commented 1 month ago

After a looong review process and a couple of fast followup fixes, this introduces parallel linting.

On an M2 MacBook Pro (using 12 cores) lint times go from 16.5s to 2.1s.

On TEST (using 2 cores on a very underpowered AWS instance) lint times go from 16.8s to 15.6s.

This speeds up CI tests on GitHub somewhat (unscientifically a before and after CI run goes from ~85s to ~55s), and as long as it doesn't break anyone's development workflow, shouldn't need any additional testing.