Blog - Codestyle

Setup PHP-CS-Fixer

Hello! Today I would like to share PHP-CS-Fixer configuration for PHP project. PHP-CS-Fixer is used for automated code formatting based on specific rules, for example, PSR standards.

PHP-CS-Fixer would help to improve code quality. Following code quality standards would make project code base better for understanding and simplify development in general. It also would optimize code review process.

Prevent composer soft dependencies

Hello, everyone! Today, I would like to talk about a tool for tracking transitive dependencies called ComposerRequireChecker.

PHPStan configuration example

Hello everyone! Today, I would like to share an example of setting up a static analysis tool for PHP - PHPStan.

The tool itself probably needs no introduction. I have used it in one of my projects and was satisfied with it. PHPStan helps maintain the code in good condition, and it is particularly good at finding typing errors. Sometimes it can be a bit pedantic, but ultimately, it's all for the best.