Exakat 1.1.3 review I always marvel at the power of small upgrades: improve 1% every day, and you’ll be 30 times better at the end of the year. Add a new analysis every week, and you’ll soon face 400 checks on your code. Since last review, we added the ‘Global Local Variable’ and the ‘Useless […]
Exakat 1.1.1 review With the new year 2018, we though it was time to dive into a significant upgrade, and so we did. We changed the internal storage of tokens from strings to dictionary: that means less memory consumption, less token manipulations et more speed. It also shifts complexity from one part of the application […]
PHP assertions and their usage PHP has a clever native debugging tool : the PHP assertions. In a nutshell, assertions are a functioncall to assert(), that triggers an error when a condition is not satisfied. <?php $a = 1; assert($a === 1, ‘$a is not 1’); assert($a === 2, ‘$a is not 1’); ?> Unlike debugging […]
Les outils d’analyse statique et leur pratique Mardi 16 janvier 2018, à 10h00 (CET), je présente un webinar consacré aux outils d’analyse statique et leur pratique. Durant 30 minutes, nous abordons le fonctionnement interne d’un moteur d’analyse, les motifs de code qu’il permet d’identifier. Nous verrons comment utiliser les performances impressionnantes de l’analyse statique dans le […]
Exakat 1.0.11 review Happy new year 2018 to you all, code reviewers. The final versions for Exakat in 2017 were small upgrades: we took advantage of the end of the year to remove some bugs, and fix some long waiting tasks. So, in the end, it is the most stable version of Exakat that starts […]
Exakat 1.0.8 review Exakat 1.0.8 is published during the #phpadvent 2017 event on twitter. Every day, get a new tip on how to make your PHP code better. For that, Exakat keeps improving, and we have a wealth of new analysis and bug fixes for this new version. Exakat doctor reports JAVA_HOME and JAVA_OPTIONS for […]
Exakat 1.0.6 review Long life to the first Exakat version for December 2017. While we have started a #phpadvent calendar with our favorite analysis and their impact in the code, we keep on packing new reviews in the Exakat engine. This week, we have two new analysis : never used parameters, and avoid using boolean […]
PHP Advent calendar With PHP 7.2 out of the oven, literally yesterday, and the final month of the year starting, it is time for a PHP advent calendar. Every day until the 25th of December, we’ll reveal a new smelly treat. Yes, smelly treat, like a code smell. Common anti-patterns in PHP code leads to […]
Exakat PHP Index of coding Not using @ is the poster child of good practices. It’s also looked upon, as an impossible goal. Did you know that the @ operator is only merely used by 50% of PHP applications ? Same for parenthesis with include and co : don’t use them, like 50% of the […]
Exakat 1.0.5 review The last Exakat version for November 2017 has been published. This time, it contains a good list of upgrades and fixes, and no less than three new analysis and a new report : regex validation, call parent:: first and uncommon environment variables. The reports are inventories, presenting any email, URL, SQL or $_GET index […]
Exakat 1.0.4 review Exakat 1.0.4 is out, in time to help migrate to PHP 7.2. November 30th, the next great version of PHP will be published. It is now time to review your PHP code. So, this week, we worked hard to finish the impressive line of update that PHP 7.2 is offering. In the […]