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;

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to