Exakat 0.11.5 is out, right after the excellent Darkmira Tour Brazil. Although it delayed the Monday publication, it also gave a list of good ideas and some time in the airport to work on it. So, this version is featuring a new report, called ‘Dependency wheel’, and four new analysis: Avoid typehinting with classes, Could […]
exakat 0.11.4 review Exakat 0.11.4 is out, right during Code Europe : meet us in Wroclaw and Warsaw! This version features two new analyzers : ‘Only variable can be passed by reference’ is partially handled by PHP at lint time, and static analysis goes a lot further. Also, some functions may omit return when their […]
Exakat 0.11.3 review Exakat 0.11.3 is out. This version focuses on speed gains, stability and adds 4 new analysis. As for news, there is now support for the sphinx and grpc extensions. Exakat also reports ‘randomly sorted arrays’, multiple catch on try and the alternative tags consistence. More insights for your code. Randomly sorted arrays […]
Exakat 0.11.2 review Exakat 0.11.2 is out. It is a stability release: exakat was run on 800 projects during the week, to weed out some rare situations and keep all the analysis running on any kind of code. This is how we decided to add a new analysis: empty regex. Also this week, the ‘difference […]
Arrays forever Ever since I started using PHP, arrays have always been my friend. They are versatile, they have a wide range of functions, and they are easy to use. I kept using them versions after versions, and even with PHP 7.2, I still rely on them a lot. Over the years, classes have also […]
Exakat 0.10.7 (Immortal Antelope Power) ships with a lot of behind the scene works, and little to show. This is now becoming a classic: we need to collect a lot of data from frameworks or PHP, store them by version, and generate… a boolean. All that work for so little. But, in the end, it […]
Exakat 0.10.6 (immortal elk power) is finally here. The main feature of the major speed increase, so that alone is worth upgrading to this version. In the same time, a lot of ground work has been done, and six new analyzers are made available. Major speed increase Two upgrades have been made on the Exakat […]
Exakat 0.10.5 review Exakat 0.10.5 (code name : immortal of tiger power) shipped with no less than six new analyzers and a major upgrade of the Zend Framework report. Here is the exakat 0.10.5 review. Could be callable argument Exakat now reports arguments that may be type-hinted with callable. Callable covers every form of callbacks […]
First step with exakat ‘One must review code to live, rather than live to review code’. Reviewing code is part of everyday’s coding life, and it should be kept just what is it : a short trip back to the code that teaches us about what we did. There are three kinds of teaching in code […]
PHP likes to sort. Of course, there is sort(), ksort() and all the cousins. But, PHP actually sorts too much. My first encounter with the problem is the infamous array_unique(). Now, this is also affecting glob() and scandir(). I’m looking for others. Until then, check your code. array_unique() is also sorting array_unique() collects distinct values […]
Prevent multiple PHP scripts at the same time Like everything, it all started from a simple problem : how to prevent multiple PHP scripts at the same time. And turned into an odyssey of learning, full of evil traps and inglorious victories. In the end, it works, that’s the most satisfying and it possibly matters to […]