[web-php] master: Enhancement: Enable no_trailing_whitespace fixer

From: Date: Mon, 11 Jul 2022 18:01:24 +0000
Subject: [web-php] master: Enhancement: Enable no_trailing_whitespace fixer
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-30340@lists.php.net to get a copy of this message
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: cmb69 Date: 2022-07-11T19:54:57+02:00 Commit: https://github.com/php/web-php/commit/1b3e0e41c4b3f8863fb6d9a138a9ebf471b390a1 Raw diff: https://github.com/php/web-php/commit/1b3e0e41c4b3f8863fb6d9a138a9ebf471b390a1.diff Enhancement: Enable no_trailing_whitespace fixer Closes GH-636. Changed paths: M .php-cs-fixer.php Diff: diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index b2d69e0e8..50c3e1ae4 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -9,6 +9,8 @@ ->in(__DIR__) ->name(__FILE__); -$config->setRules([]); +$config->setRules([ + 'no_trailing_whitespace' => true, +]); return $config;

« previous php.webmaster (#30340) next »