Exakat 1.5.4 review

Exakat 1.5.4 Review Exakat 1.5.4 is an under-the-hood upgrade. On the visible side, we added a check for unreachable class constants, since class constant got their visibility option; refrain from self in interfaces, as they behave unexpectedly, and should have destructor, for long-running PHP applications. On the hidden side, many refactoring have been applied, and […]

Exakat 1.5.3 review

Exakat 1.5.3 Review Exakat 1.5.4 add more after-coding review for your code : after suggesting upgrading visibility on properties, it now checks class candidates for final and abstract keyword. As you can guess, a class won’t be a candidate for them at the same time. We also include more review of generators, including the PHP […]

Exakat 1.4.9 Review

Exakat 1.4.9 Review Exakat 1.4.9 follows the preparation of PHP 7.3 : we added a lot of new rules to get ready for the upcoming version. There was already 9 available checks, but more are coming in. The most interesting of it is that they close edge cases that will benefit other versions : avoid […]

The Land Where PHP Uses eval()

The Land Where PHP Uses eval() It is 2018, and the PHP world useseval() in more than 28% of every PHP code source. It is repeatedly reported as a security issue and a performance bottleneck, and a memory hazard. Yet, we can’t get rid of it. It seems reasonable to think that most of eval […]

Exakat 1.4.6 review

Exakat 1.4.6 review Exakat 1.4.6 is mostly made up of bug fixes. A number of edges cases were discovered last week and eradicated : they provide greater stability to the engine. So we took more time to augment the documentation, providing real code case and related PHP error messages that Exakat helps avoid. Error messages […]

Exakat 1.4.5 review

Exakat 1.4.5 review Exakat 1.4.5 brings two new reports, and a new analyzer. It also packs a lot of incremental updates. The reports are work-in-progress : the Manual report, which documents your code; and the Weekly report, which brings the community together to hunt for bugs. The new analyzer suggests some default value for argument, […]

Exakat 1.4.4 review

Exakat 1.4.4 review This week’s version includes a lot of under-the-hood work. We have worked on eliminating several internal analysis, such as ‘Used Classes’, which provides the basis for ‘Unused Classes’ : Unused classes are classes that are not used (sic), and used classes comes in a surprising number of situations : new, ::, use, […]

EPIC : Exakat PHP Index of Coding (August 2018)

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 […]

Versions impact on PHP code bases

As PHP evolves With the upcoming PHP 7.3, the question of the next migration is back on our tables. We’ll hear a strange mix of begging to move to the new versions for features and security, mixed with a constant threatening that some old versions will soon be unmaintained or worse. Indeed, there is versions […]