Berlin is a city renowned for its vibrant culture and rich history, but has also become a hub for craft beer enthusiasts. As a homebrewer, my passion for beer makes me want to learn the stories and craft behind each brew. So in 2025, I decided to go on a mission: Experience every brewery tour [ ]
Did you know that PHPStorm (or any other Jetbrains IDE) can run inspections from command line and generate XML files for the results? This is a great hidden feature of those IDEs and machine-readable output means it can be somehow integrated with a continuous integration (CI) process. So let s do this! Inspection Profile First thing [ ]
Recently at my company we re pushing for more automated testing and one of the metrics we re looking at is, of course, code coverage. Although I m not a big fan of code coverage as a metric, it at least gives you a general idea how well you re doing. If you ve worked with PHPUnit before, you definitely [ ]
Earlier this year I took over that project at my new company. A project, that existed for many years and has been continuously growing. My first impression, it was missing some love recently. The repository was cluttered by many files, that could assumed to be dead code. Unfortunately, you never know. Although I felt the [ ]
Today I wanted to have buttons for some Git features in my PHPStorm toolbar. Unfortunatley it doesn t have icons for all the essential Git features, which results in empty buttons. Doesn t look very nice. So I created some icons on my own. Use them if you like. Classic Fetch (Small Light, Small Dark, Big Light [ ]
Recently I was working on a project with FOSUserBundle. It was best choice instead of implementing the whole user system from scratch. Unfortunately, after a while it became clear, that the bundle doesn t fulfil all of my requirements and therefore I had to make some modifications. I ve found the solutions not to be totally obvious, [ ]
Are you tired of typing php [PATH]/composer.phar on the console all the time? Wouldn t it be easier to just type composer and you re done? Fortunately this isn t very hard to configure. Save the composer.phar file to some folder, e.g. somewhere in your Program Files folder. I assume it s C:\Program Files\Composer in this little tutorial. Add [ ]
When working regularly with Sonata bundles, you ve might come accross their MediaBundle, which integrates a media management module. You certainly recognized that there is something different in the list view: A tabbed navigation to filter media items. This is how it looks like in the current 2.3 branch: Screenshot of the Sonata Demo I think [ ]
Here are some custom made tasks for Capistrano, which might be helpful in the Symfony2 context. First, some cache clearing tasks, that don t clear the whole cache but only translations or the Twig template cache. namespace :foo do # Clear only translation cache task :clear_translation_cache do now = Time.now timestamp = now.strftime("%Y%m%d%H%M%S") run "[ -d [ ]
Unit testing is great! But sometimes there are situations where it can become really tough to write proper tests for your code. One of these situations is when your code doesn t work totally predictable, when it has some kind of randomness in it, that is intended. Then you usually have one of those functions in [ ]