Skip to content

Commit 705deb8

Browse files
committed
Simplify namespace
1 parent dca08ec commit 705deb8

File tree

12 files changed

+21
-21
lines changed

12 files changed

+21
-21
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"autoload": {
2525
"psr-4": {
26-
"Revolt\\EventLoop\\Adapter\\React\\": "src"
26+
"Revolt\\EventLoop\\React\\": "src"
2727
},
2828
"files": [
2929
"src/bootstrap.php",
@@ -32,7 +32,7 @@
3232
},
3333
"autoload-dev": {
3434
"psr-4": {
35-
"Revolt\\EventLoop\\Adapter\\React\\": "test",
35+
"Revolt\\EventLoop\\React\\": "test",
3636
"React\\Tests\\EventLoop\\": "vendor/react/event-loop/tests"
3737
}
3838
},

src/Internal/EventLoopAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React\Internal;
3+
namespace Revolt\EventLoop\React\Internal;
44

55
use React\EventLoop\LoopInterface;
66
use React\EventLoop\TimerInterface;

src/Internal/Timer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React\Internal;
3+
namespace Revolt\EventLoop\React\Internal;
44

55
use React\EventLoop\TimerInterface;
66

src/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
use React\EventLoop\Loop;
4-
use Revolt\EventLoop\Adapter\React\Internal\EventLoopAdapter;
4+
use Revolt\EventLoop\React\Internal\EventLoopAdapter;
55

66
/**
77
* @psalm-suppress InternalMethod

test/EvTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React;
3+
namespace Revolt\EventLoop\React;
44

55
use React\EventLoop\LoopInterface;
66
use Revolt\EventLoop;
7-
use Revolt\EventLoop\Adapter\React\Internal\EventLoopAdapter;
7+
use Revolt\EventLoop\React\Internal\EventLoopAdapter;
88

99
class EvTest extends Test
1010
{

test/EvTimerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React;
3+
namespace Revolt\EventLoop\React;
44

55
use React\EventLoop\LoopInterface;
66
use Revolt\EventLoop;
7-
use Revolt\EventLoop\Adapter\React\Internal\EventLoopAdapter;
7+
use Revolt\EventLoop\React\Internal\EventLoopAdapter;
88

99
class EvTimerTest extends TimerTest
1010
{

test/EventTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React;
3+
namespace Revolt\EventLoop\React;
44

55
use React\EventLoop\LoopInterface;
66
use Revolt\EventLoop;

test/EventTimerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React;
3+
namespace Revolt\EventLoop\React;
44

55
use React\EventLoop\LoopInterface;
66
use Revolt\EventLoop;
7-
use Revolt\EventLoop\Adapter\React\Internal\EventLoopAdapter;
7+
use Revolt\EventLoop\React\Internal\EventLoopAdapter;
88

99
class EventTimerTest extends TimerTest
1010
{

test/Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React;
3+
namespace Revolt\EventLoop\React;
44

55
use React\EventLoop\LoopInterface;
66
use React\Tests\EventLoop\AbstractLoopTest;
77
use Revolt\EventLoop;
8-
use Revolt\EventLoop\Adapter\React\Internal\EventLoopAdapter;
9-
use Revolt\EventLoop\Adapter\React\Internal\Timer;
108
use Revolt\EventLoop\Driver;
119
use Revolt\EventLoop\Driver\StreamSelectDriver;
10+
use Revolt\EventLoop\React\Internal\EventLoopAdapter;
11+
use Revolt\EventLoop\React\Internal\Timer;
1212
use Revolt\EventLoop\UnsupportedFeatureException;
1313

1414
class Test extends AbstractLoopTest

test/TimerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Revolt\EventLoop\Adapter\React;
3+
namespace Revolt\EventLoop\React;
44

55
use React\EventLoop\LoopInterface;
66
use React\Tests\EventLoop\Timer\AbstractTimerTest;
77
use Revolt\EventLoop;
8-
use Revolt\EventLoop\Adapter\React\Internal\EventLoopAdapter;
8+
use Revolt\EventLoop\React\Internal\EventLoopAdapter;
99

1010
class TimerTest extends AbstractTimerTest
1111
{

0 commit comments

Comments
 (0)