Remove trailing whitespace at the end of non-blank lines.
--- Original
+++ New
<?php
-$a = 1;
+$a = 1;
The rule is part of the following rule sets:
- Fixer class: PhpCsFixer\Fixer\Whitespace\NoTrailingWhitespaceFixer
- Test class: PhpCsFixer\Tests\Fixer\Whitespace\NoTrailingWhitespaceFixerTest
The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.