Skip to content

Commit

Permalink
[Autoload] Remove src/core_namespace_aliases.php (#5476)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored Jan 17, 2024
1 parent fb6241f commit 6d0abe7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 227 deletions.
1 change: 0 additions & 1 deletion bin/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ public function loadIfExistsAndNotLoadedYet(string $filePath): void
$autoloadIncluder->autoloadProjectAutoloaderFile();
$autoloadIncluder->autoloadRectorInstalledAsGlobalDependency();
$autoloadIncluder->autoloadFromCommandLine();
$autoloadIncluder->loadIfExistsAndNotLoadedYet(__DIR__ . '/../src/core_namespace_aliases.php');

$rectorConfigsResolver = new RectorConfigsResolver();

Expand Down
4 changes: 0 additions & 4 deletions src/Testing/PHPUnit/AbstractRectorTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ private function includePreloadFilesAndScoperAutoload(): void
if (\file_exists(__DIR__ . '/../../../vendor/scoper-autoload.php')) {
require_once __DIR__ . '/../../../vendor/scoper-autoload.php';
}

if (\file_exists(__DIR__ . '/../../core_namespace_aliases.php')) {
require_once __DIR__ . '/../../core_namespace_aliases.php';
}
}

private function doTestFileMatchesExpectedContent(
Expand Down
222 changes: 0 additions & 222 deletions src/core_namespace_aliases.php

This file was deleted.

0 comments on commit 6d0abe7

Please sign in to comment.