Browse Source

minor #1732 move fixer classes from level subdirs to thematic subdirs (gharlan, keradus)

This PR was merged into the 2.0-dev branch.

Discussion
----------

move fixer classes from level subdirs to thematic subdirs

Do we want to remove the level subdirs (contrib/psr1/psr2/symfony)?

Commits
-------

19e4ad3 Move array fixer classes to new namespace
5de5794 move fixer classes from level subdirs to type subdirs
Dariusz Ruminski 9 years ago
parent
commit
11088fbb81

+ 1 - 1
src/Fixer/Contrib/EchoToPrintFixer.php → src/Fixer/Alias/EchoToPrintFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Contrib;
+namespace PhpCsFixer\Fixer\Alias;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Tokens;

+ 1 - 1
src/Fixer/Contrib/EregToPregFixer.php → src/Fixer/Alias/EregToPregFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Contrib;
+namespace PhpCsFixer\Fixer\Alias;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Tokens;

+ 1 - 1
src/Fixer/Symfony/NoAliasFunctionsFixer.php → src/Fixer/Alias/NoAliasFunctionsFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Symfony;
+namespace PhpCsFixer\Fixer\Alias;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Tokens;

+ 1 - 1
src/Fixer/Symfony/PrintToEchoFixer.php → src/Fixer/Alias/PrintToEchoFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Symfony;
+namespace PhpCsFixer\Fixer\Alias;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Tokens;

+ 1 - 1
src/Fixer/Contrib/AlignDoubleArrowFixer.php → src/Fixer/ArrayNotation/AlignDoubleArrowFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Contrib;
+namespace PhpCsFixer\Fixer\ArrayNotation;
 
 use PhpCsFixer\AbstractAlignFixer;
 use PhpCsFixer\Tokenizer\Tokens;

+ 1 - 1
src/Fixer/Symfony/DoubleArrowNoMultilineWhitespaceFixer.php → src/Fixer/ArrayNotation/DoubleArrowNoMultilineWhitespaceFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Symfony;
+namespace PhpCsFixer\Fixer\ArrayNotation;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Token;

+ 1 - 1
src/Fixer/Contrib/LongArraySyntaxFixer.php → src/Fixer/ArrayNotation/LongArraySyntaxFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Contrib;
+namespace PhpCsFixer\Fixer\ArrayNotation;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Token;

+ 1 - 1
src/Fixer/Symfony/NoTrailingCommaInSinglelineArrayFixer.php → src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Symfony;
+namespace PhpCsFixer\Fixer\ArrayNotation;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Tokens;

+ 1 - 1
src/Fixer/Symfony/NoWhitespaceBeforeCommaInArrayFixer.php → src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Symfony;
+namespace PhpCsFixer\Fixer\ArrayNotation;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Tokens;

+ 1 - 1
src/Fixer/Contrib/ShortArraySyntaxFixer.php → src/Fixer/ArrayNotation/ShortArraySyntaxFixer.php

@@ -10,7 +10,7 @@
  * with this source code in the file LICENSE.
  */
 
-namespace PhpCsFixer\Fixer\Contrib;
+namespace PhpCsFixer\Fixer\ArrayNotation;
 
 use PhpCsFixer\AbstractFixer;
 use PhpCsFixer\Tokenizer\Tokens;

Some files were not shown because too many files changed in this diff