Skip to content

Commit 5b6fca3

Browse files
authored
Fixed paths and names
1 parent 6d13a4c commit 5b6fca3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/Extension/Phiremock.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
use Mcustiel\Phiremock\Codeception\Extension\Config;
2626
use Mcustiel\Phiremock\Codeception\Extension\PhiremockProcessManager;
2727
use Mcustiel\Phiremock\Codeception\Extension\ReadinessCheckerFactory;
28-
use Mcustiel\Phiremock\Codeception\Extension\Phiremock72;
29-
use Mcustiel\Phiremock\Codeception\Extension\Phiremock74p;
28+
use Mcustiel\Phiremock\Codeception\Extension\PhiremockPHP72;
29+
use Mcustiel\Phiremock\Codeception\Extension\PhiremockPHP74p;
3030

3131
class Phiremock extends CodeceptionExtension
3232
{
@@ -46,9 +46,9 @@ public function __construct(
4646
PhiremockProcessManager $process = null
4747
) {
4848
if (version_compare(PHP_VERSION, '7.4.0') >= 0) {
49-
$this->instance = new Phiremock74p($config, $options, $process);
49+
$this->instance = new PhiremockPHP74p($config, $options, $process);
5050
} else {
51-
$this->instance = new Phiremock72($config, $options, $process);
51+
$this->instance = new PhiremockPHP72($config, $options, $process);
5252
}
5353
}
5454

src/Extension/PhiremockPHP72.php renamed to src/PhiremockExtension/PhiremockPHP72.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with phiremock-codeception-extension. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
namespace Codeception\Extension;
19+
namespace Mcustiel\Phiremock\Codeception\Extension;
2020

2121
use Codeception\Event\SuiteEvent;
2222
use Codeception\Exception\ConfigurationException;
@@ -26,7 +26,7 @@
2626
use Mcustiel\Phiremock\Codeception\Extension\PhiremockProcessManager;
2727
use Mcustiel\Phiremock\Codeception\Extension\ReadinessCheckerFactory;
2828

29-
class Phiremock72 extends CodeceptionExtension
29+
class PhiremockPHP72 extends CodeceptionExtension
3030
{
3131
/** @var array */
3232
public static $events = [

src/Extension/PhiremockPHP74p.php renamed to src/PhiremockExtension/PhiremockPHP74p.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* along with phiremock-codeception-extension. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
namespace Codeception\Extension;
19+
namespace Mcustiel\Phiremock\Codeception\Extension;
2020

2121
use Codeception\Event\SuiteEvent;
2222
use Codeception\Exception\ConfigurationException;
@@ -26,7 +26,7 @@
2626
use Mcustiel\Phiremock\Codeception\Extension\PhiremockProcessManager;
2727
use Mcustiel\Phiremock\Codeception\Extension\ReadinessCheckerFactory;
2828

29-
class Phiremock74p extends CodeceptionExtension
29+
class PhiremockPHP74p extends CodeceptionExtension
3030
{
3131
/** @var array */
3232
public static array $events = [

0 commit comments

Comments
 (0)