Method fossilisation

Method fossilisation Fossilisation happens when things get harder to update. It is a process, more than a final state. In particular, it happens to methods when the signature is shared across multiple classes. With interfaces and inheritance, changing some of the elements of a method’s signature means refactoring the code in several other locations. The […]

Exakat 1.9.9 Review

Exakat 1.9.9 Review Exakat focuses on automated updates this week : two new reports (and sections) provide recommendations to use Rector and Php-cs-fixer for fixing, en masse, issues found during an audit. Also, no less than 9 new rules were added to Exakat, and a new inventory for mbstring encoding.  The Exakat 1.9.9 review is the best […]

Exakat 1.9.8 Review

Exakat 1.9.8 Review This week, Exakat upgrades the presentation of the inventories. It refactored the method definition detection, and added new rule for hiding parameters and wrong case. Several modernisations were applied, in particular to the ‘Insufficient typehint’ rule. Coding is inherently risky, and it helps to readd the Exakat 1.9.7 review. Upgraded Inventories Code […]

Exakat 1.9.5 Review

Exakat 1.9.5 includes analysis that prevents code from decaying, or warn you early about it : useless type checks thanks to Typehint, non-implemented interfaces, incompatible signatures with PHP 7.3, wrong expectations with interface typehints. Also, PHP 7.4 migration was upgraded with the upcoming change of bit shift precedence versus concatenation. And, Ambassador reports typehints for […]

Exakat 1.9.4 Review

Exakat 1.9.4 has a new harvest of new code reviews to make PHP code better and better : rules for PHP 7.4, whose Compatibility PHP 7.4 ruleset now has 21 rules; rules for backward compatibility; inventory of structures nesting and dimensions for arrays; rules for ?? and . precedence. We also introduced a new report, ‘Stubs’.  There […]

Exakat 1.9.3 Review

Exakat 1.9.3 Review

Exakat 1.9.3 reviews the maximum of your code to PHP 7.4. The Compatibility PHP 7.4 ruleset now has 20 rules covering the next PHP version. Exakat also checks situations that may generate over 60 different types of PHP messages : remove them and free your logs!  Live, laugh, and Exakat 1.9.3 Review. PHP migration review to PHP […]

Classic Code Review for PHP Classes

Classic Code Review for PHP Classes Classes help organise the code by breaking it into smaller components, that combined together to build powerful applications. Property definitions, abstract classes, local variables and identical methods are all code smells that evolve directly inside large repositories with many classes.  Here some common code smells that arise in OOP […]

Exakat 1.8.6 Review

Exakat 1.8.6 Review Exakat 1.8.6 is a performance version. First, Exakat moved to Tinkergraph 3.4.2, using the latest and brightest of the graph database. Several analyses were refactored for faster processing, then the Query engine was optimized to skip side queries when possible. And finally, we’re working on loading time, both directly and with the […]