Overview for 'tomasvotruba'
Written by Tomáš Votruba
/ Original link
on Jul. 25, 2022
The PHP downgrades are a thing. Most beneficial for package developers who want to move forward to the latest PHP features but also want to keep easy access to the broad PHP community and legacy projects. The downgrade of a tool is a no-brainer - we downgrade the whole tool including vendor, and we…
Written by Tomáš Votruba
/ Original link
on Jul. 18, 2022
If you have not switched your Symfony configs from YAML to PHP, there no better time like present. This month we tested the ConfigTransformer to its limit. It had to deal with edge-cases from Symfony 2.8 all the way through Symfony 3.4. With features that were removed for years. As a result, we add…
Written by Tomáš Votruba
/ Original link
on Jul. 4, 2022
This bold question has been around PHP Internet for many years... at least since 2008. In 2017 I added dead public method sniff to Symplify Coding Standard. It runs on bare PHP tokens without any type or AST, so the capability was limited. Yet it was able to detect a few unused methods. Now, 5 year…
Written by Tomáš Votruba
/ Original link
on Jun. 27, 2022
In the previous post, we set on journey of fails with ups and downs. Well, mostly downs. I'm trying to be honest about the blind path process behind the final published work. We made it through heaven and hell. Now we're rested and back to continue. Can we smoke render twig templates, or shall we…
Written by Tomáš Votruba
/ Original link
on Jun. 20, 2022
In previous post, we explored the "whys" for Twig Smoke Rendering. Today we will set on the journey towards this tool and mainly. Get ready for failure, demotivation, and despair. As with every new invention, the fuel can make us faster or burn us to death.
Written by Tomáš Votruba
/ Original link
on Jun. 13, 2022
Two weeks ago our upgrade team started to upgrade Twig 1 to 2 and Latte 2 to 3 for two clients. There was no test that covers the templates, just a few integration ones that might have invoked a few % of happy paths render. Not good enough. We need a CI test to be sure templates are working. I had…