Skip to content

Commit

Permalink
[DX] Remove non-PHP file formatting based on editorconfig, rather let…
Browse files Browse the repository at this point in the history
… external coding standard tools handle the file format (#2378)
  • Loading branch information
TomasVotruba committed May 27, 2022
1 parent 30b5b53 commit 37df55a
Show file tree
Hide file tree
Showing 39 changed files with 0 additions and 1,190 deletions.
4 changes: 0 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@
"composer/semver": "^3.3",
"composer/xdebug-handler": "^3.0",
"doctrine/inflector": "^2.0",
"ergebnis/json-printer": "^3.2",
"helmich/typo3-typoscript-parser": "^2.4.1",
"idiosyncratic/editorconfig": "^0.1.3",
"myclabs/php-enum": "^1.8",
"nette/utils": "^3.2.7",
"nikic/php-parser": "^4.13.2",
"ondram/ci-detector": "^4.1",
"phpstan/phpdoc-parser": "^1.5.1",
"phpstan/phpstan": "^1.7.1",
"phpstan/phpstan-phpunit": "^1.0",
"psr/log": "^2.0",
"react/child-process": "^0.6.4",
"react/event-loop": "^1.3",
"react/socket": "^1.11",
Expand Down
8 changes: 0 additions & 8 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
use Composer\Semver\VersionParser;
use Doctrine\Inflector\Inflector;
use Doctrine\Inflector\Rules\English\InflectorFactory;
use Ergebnis\Json\Printer\Printer;
use Ergebnis\Json\Printer\PrinterInterface;
use Idiosyncratic\EditorConfig\EditorConfig;
use OndraM\CiDetector\CiDetector;
use PhpParser\BuilderFactory;
use PhpParser\Lexer;
Expand Down Expand Up @@ -217,9 +214,4 @@

$services->set(DynamicSourceLocatorProvider::class)
->factory([service(PHPStanServicesFactory::class), 'createDynamicSourceLocatorProvider']);

$services->set(EditorConfig::class);

$services->set(Printer::class);
$services->alias(PrinterInterface::class, Printer::class);
};
2 changes: 0 additions & 2 deletions easy-ci.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Rector\Core\NodeManipulator\MethodCallManipulator;
use Rector\Defluent\NodeAnalyzer\SameClassMethodCallAnalyzer;
use Rector\DependencyInjection\NodeManipulator\PropertyConstructorInjectionManipulator;
use Rector\FileFormatter\Contract\Formatter\FileFormatterInterface;
use Rector\FileSystemRector\Parser\FileInfoParser;
use Rector\Naming\Contract\AssignVariableNameResolverInterface;
use Rector\Naming\Contract\Guard\ConflictingNameGuardInterface;
Expand Down Expand Up @@ -64,7 +63,6 @@
AbstractTestCase::class,
PHPStanServicesFactory::class,
OutputStyleInterface::class,
FileFormatterInterface::class,
MethodCallManipulator::class,
AssignVariableNameResolverInterface::class,
// fix later - rector-symfony
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions packages-tests/FileFormatter/ValueObject/Fixture/xml_line_feed.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 37df55a

Please sign in to comment.