Skip to content

Commit d7f0be3

Browse files
committed
[PluginWebpackEncore] Prepare for 2.x:
- Removed GitHub workflow; - Removed static analysis configuration files; - Moved all classes to root folder; - Renamed namespace to Micro\Plugin\WebpackEncore;
1 parent 628d8b3 commit d7f0be3

21 files changed

+49
-272
lines changed

.github/workflows/.editorconfig

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

.github/workflows/ci.yaml

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

.github/workflows/static.yaml

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

.php-cs-fixer.dist.php

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

src/Asset/EntrypointLookup.php renamed to Asset/EntrypointLookup.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace OleksiiBulba\WebpackEncorePlugin\Asset;
12+
namespace Micro\Plugin\WebpackEncore\Asset;
1313

14-
use OleksiiBulba\WebpackEncorePlugin\Exception\EntrypointNotFoundException;
15-
use OleksiiBulba\WebpackEncorePlugin\WebpackEncorePluginConfigurationInterface;
14+
use Micro\Plugin\WebpackEncore\Exception\EntrypointNotFoundException;
15+
use Micro\Plugin\WebpackEncore\WebpackEncorePluginConfigurationInterface;
1616
use Symfony\Component\Serializer\Encoder\DecoderInterface;
1717
use Symfony\Component\Serializer\Encoder\JsonEncoder;
1818
use Symfony\Component\Serializer\Exception\UnexpectedValueException;

src/Asset/EntrypointLookupInterface.php renamed to Asset/EntrypointLookupInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace OleksiiBulba\WebpackEncorePlugin\Asset;
12+
namespace Micro\Plugin\WebpackEncore\Asset;
1313

14-
use OleksiiBulba\WebpackEncorePlugin\Exception\EntrypointNotFoundException;
14+
use Micro\Plugin\WebpackEncore\Exception\EntrypointNotFoundException;
1515

1616
interface EntrypointLookupInterface
1717
{

src/Exception/EntrypointNotFoundException.php renamed to Exception/EntrypointNotFoundException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace OleksiiBulba\WebpackEncorePlugin\Exception;
12+
namespace Micro\Plugin\WebpackEncore\Exception;
1313

1414
class EntrypointNotFoundException extends \InvalidArgumentException
1515
{

src/TagRenderer/TagRenderer.php renamed to TagRenderer/TagRenderer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace OleksiiBulba\WebpackEncorePlugin\TagRenderer;
12+
namespace Micro\Plugin\WebpackEncore\TagRenderer;
1313

14-
use OleksiiBulba\WebpackEncorePlugin\Asset\EntrypointLookupInterface;
14+
use Micro\Plugin\WebpackEncore\Asset\EntrypointLookupInterface;
1515

1616
readonly class TagRenderer implements TagRendererInterface
1717
{

src/TagRenderer/TagRendererInterface.php renamed to TagRenderer/TagRendererInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace OleksiiBulba\WebpackEncorePlugin\TagRenderer;
12+
namespace Micro\Plugin\WebpackEncore\TagRenderer;
1313

1414
interface TagRendererInterface
1515
{

tests/unit/Asset/EntrypointLookupTest.php renamed to Tests/Unit/Asset/EntrypointLookupTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace OleksiiBulba\WebpackEncorePlugin\Tests\Unit\Asset;
12+
namespace Micro\Plugin\WebpackEncore\Tests\Unit\Asset;
1313

14-
use OleksiiBulba\WebpackEncorePlugin\Asset\EntrypointLookup;
15-
use OleksiiBulba\WebpackEncorePlugin\Exception\EntrypointNotFoundException;
16-
use OleksiiBulba\WebpackEncorePlugin\WebpackEncorePluginConfigurationInterface;
14+
use Micro\Plugin\WebpackEncore\Asset\EntrypointLookup;
15+
use Micro\Plugin\WebpackEncore\Exception\EntrypointNotFoundException;
16+
use Micro\Plugin\WebpackEncore\WebpackEncorePluginConfigurationInterface;
1717
use PHPUnit\Framework\MockObject\MockObject;
1818
use PHPUnit\Framework\TestCase;
1919
use Symfony\Component\Serializer\Encoder\JsonDecode;
2020
use Symfony\Component\Serializer\Exception\UnexpectedValueException;
2121

2222
/**
23-
* @covers \OleksiiBulba\WebpackEncorePlugin\Asset\EntrypointLookup
23+
* @covers \Micro\Plugin\WebpackEncore\Asset\EntrypointLookup
2424
*/
2525
class EntrypointLookupTest extends TestCase
2626
{
@@ -68,7 +68,7 @@ protected function setUp(): void
6868
/**
6969
* @dataProvider getCssFilesDataProvider
7070
*
71-
* @covers \OleksiiBulba\WebpackEncorePlugin\Asset\EntrypointLookup::getCssFiles
71+
* @covers \Micro\Plugin\WebpackEncore\Asset\EntrypointLookup::getCssFiles
7272
*/
7373
public function testGetCssFiles(
7474
string $entryName,
@@ -111,7 +111,7 @@ public function getCssFilesDataProvider(): array
111111
/**
112112
* @dataProvider getJavaScriptFilesDataProvider
113113
*
114-
* @covers \OleksiiBulba\WebpackEncorePlugin\Asset\EntrypointLookup::getJavaScriptFiles
114+
* @covers \Micro\Plugin\WebpackEncore\Asset\EntrypointLookup::getJavaScriptFiles
115115
*/
116116
public function testGetJavaScriptFiles(
117117
string $entryName,
@@ -158,7 +158,7 @@ public function getJavaScriptFilesDataProvider(): array
158158
/**
159159
* @dataProvider entryExistsDataProvider
160160
*
161-
* @covers \OleksiiBulba\WebpackEncorePlugin\Asset\EntrypointLookup::entryExists
161+
* @covers \Micro\Plugin\WebpackEncore\Asset\EntrypointLookup::entryExists
162162
*/
163163
public function testEntryExists(
164164
string $entryName,

0 commit comments

Comments
 (0)