Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a35a0e1

Browse files
Merge pull request #294 from php-school/05-09-remove_temporary_solution_mapper
Remove temporary solution mapper
2 parents 5345e8b + 1383e65 commit a35a0e1

File tree

4 files changed

+1
-156
lines changed

4 files changed

+1
-156
lines changed

‎src/Solution/DirectorySolution.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public function __construct(string $directory, string $entryPoint, array $exclus
8888
*/
8989
public static function fromDirectory(string $directory, array $exclusions = [], $entryPoint = 'solution.php'): self
9090
{
91-
$directory = InTempSolutionMapper::mapDirectory($directory);
9291
return new self($directory, $entryPoint, array_merge($exclusions, ['composer.lock', 'vendor']));
9392
}
9493

‎src/Solution/InTempSolutionMapper.php‎

Lines changed: 0 additions & 58 deletions
This file was deleted.

‎src/Solution/SingleFileSolution.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(string $file)
3838
*/
3939
public static function fromFile(string $file): self
4040
{
41-
return new self(InTempSolutionMapper::mapFile($file));
41+
return new self($file);
4242
}
4343

4444
/**

‎test/Solution/InTempSolutionMapperTest.php‎

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /