PHP 8.0 Significant Incompatibilities Forecast

PHP 8.0 incompatibilities forecast

Which are the PHP 8.0 Significant Incompatibilities to expect? PHP 8.0 is around the corner, with major applications starting their move to have compatible code by early December 2020. This is the case of WordPress, Laravel, or PHP-CS-Fixer. Exakat is all ready, both for running on PHP 8.0, and auditing PHP 8 code. What about […]

Configuring Rules in Exakat

Configuring Exakat with Rules

Configuring Rules in Exakat Exakat default installation is tailored for discovery : it is made so as to give a broad view over the engine’s possibilities. As your experience grows, a more refined configuration is needed to adapt the results to the style of the development team. This tutorial helps your configuring rules in Exakat. […]

PHP 8.0 named parameters and variadic

Named arguments and variadic in PHP 8 PHP 8.0 introduces the named arguments. This is an extension of the current positional syntax. Named arguments removes some of the limitations. It also modernizes the way methods are called with an arbitrary number of arguments, with the spread operator. Let’s see what is happening with named arguments […]

I scream, you scream, we all scream for @ no scream operator

I scream, you scream, we all scream for @ @, no scream operator, is a classic PHP operator, meant to suppress error displays locally. It is a staple of PHP code, in use in over 65% of PHP repositories : 2 repositories out of 3. Yet, it is widely recommended avoiding using it. Indeed, are […]

Exakat 2.1.9 review

Exakat 2.1.9 Review Exakat 2.1.9 comes loaded with no fewer than 11 new analysis : half of them are for PHP 8.0, and the other half is for code quality. There is now a dedicated report for migration to PHP, with backward incompatibility, and also suggestions. Let’s dive in the Exakat 2.1.9 Review. Migration to […]

Removing Unused Variables Is Good

Removing Unused Variables Is Good My favorite code clean is removing unused variables. This is right : variables that are hosted in the code, yet doing nothing. In fact, they are often toxic and grow bug-prone. Any old enough code source has them, and they tend to grow by the number. Have you ever tried […]

Exakat 2.1.8 review

Exakat 2.1.8 Review Exakat 2.1.8 shines with the last warmth of summer. It is now time to start the resolute road to PHP 8.0 and its surprise incompatibility; or update PHP code stubs with the upcoming attributes. During the trip, we’ll stop observing the new SARIF format, the standard for static analysis tool in PHP […]

Exakat in Github Action

Exakat in Github Action Github Actions is way to automate your software development workflow on github. You can execute actions on your repositories at Github, and resolve issues before merging new code. Exakat integrates smoothly in the Github ecosystem with a dedicated action and its configuration. Let’ install Exakat in Github Action! Getting started Exakat […]

Exakat 2.1.7 Review

Exakat 2.1.7 Review Exakat 2.1.7 is out, with a treasure trove of new features : Exakat for Github Actions is available; PHP 8.0’s new attributes are supported; the typehint suggestion report includes functions, closures and arrow functions, and even more suggestions; new rules to prevent Global Namespace pollution and detect methods that should be defined […]