Critical PHP security release (PHP2Shell): what TYPO3 site owners must do now
Security
PHP-CS-Fixer is one of the most popular automatic code review tool. For better TYPO3 quality, Do you want to implement PHP Lint Code Review in your TYPO3 projects? Follow these steps.
// Globally install PHP-CS-Fixer
composer global require friendsofphp/php-cs-fixer @stable
// Accessible php-cs-fixer command
export PATH="$PATH:$HOME/.composer/vendor/bin"
// Verify the installation
php-cs-fixer --version // Automatically Fix PHP Code
php-cs-fixer fix --dry-run --config=.php_cs --diff
// Composer based Fix PHP Code
php /home/nitsan/.composer/vendor/bin/php-cs-fixer fix --dry-run --config=.php_cs --diff
Keval Pandya
TYPO3 Team Leader at NITSAN and T3Planet, Love TYPO3!
More From Author