Skip to content

Commit c4bc28b

Browse files
committed
Put Phpake class inside the Phpake namespace
1 parent d66830a commit c4bc28b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

bin/phpake

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ foreach ($autoload_candidates as $candidate) {
2121
}
2222
unset($autoload_candidates);
2323

24+
use Phpake\Phpake;
2425
use Phpake\PhpakeFile;
2526

2627
try {

src/Phpake.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<?php
22

3+
namespace Phpake;
4+
35
use Symfony\Component\Console\Application;
46
use Symfony\Component\Console\Input\InputInterface;
57
use Symfony\Component\Console\Input\ArgvInput;
68
use Symfony\Component\Console\Output\OutputInterface;
79
use Symfony\Component\Console\Output\ConsoleOutput;
810
use Phpake\Commands\ExecCommand;
9-
use Phpake\PhpakeFile;
1011

1112
/**
1213
* A make-like built on PHP.

test/PhpakeTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use PHPUnit\Framework\TestCase;
4+
use Phpake\Phpake;
45

56
/**
67
* @covers Phpake

0 commit comments

Comments
 (0)