PHPnews.io

Overview for 'tomasvotruba'



How to Scope Your PHP Tool in 10 Steps

Written by Tomáš Votruba / Original link on Jul. 8, 2021

Do you know PHPStan, ECS, Monorepo Builder, PHPUnit, Config Transformer or Rector? In the previous post, we explored why are these tools scoped, where scoping makes sense and where not so much. Do you maintain a PHP tool that runs in the command line? Today we'll look at 10 steps on how you can sco…


Why do we Scope PHP Tools

Written by Tomáš Votruba / Original link on Jul. 5, 2021

Do you know PHPStan, ECS, Monorepo Builder, PHPUnit, Config Transformer or Rector? What do they have in common? They're PHP tools you install with composer and then run in your command line. Hm, what else? They're all scoped with help of php-scoper. Do you want to make your tool resistant to any co…