Skip to content

Commit

Permalink
refactor: change the namespace of wordpress configuration change classes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlalexander committed Aug 30, 2024
1 parent 516d62d commit 7217aba
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
tags: ['command']
Symfony\Component\EventDispatcher\EventSubscriberInterface:
tags: ['subscriber']
Ymir\Cli\ProjectConfiguration\WordPressConfigurationChangeInterface:
Ymir\Cli\ProjectConfiguration\WordPress\WordPressConfigurationChangeInterface:
tags: ['wordpress_configuration_changes']

GuzzleHttp\:
Expand Down
2 changes: 1 addition & 1 deletion src/Command/Project/ConfigureProjectCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
use Ymir\Cli\Console\Output;
use Ymir\Cli\Exception\InvalidInputException;
use Ymir\Cli\ProjectConfiguration\ProjectConfiguration;
use Ymir\Cli\ProjectConfiguration\WordPressConfigurationChangeInterface;
use Ymir\Cli\ProjectConfiguration\WordPress\WordPressConfigurationChangeInterface;
use Ymir\Cli\Support\Arr;
use Ymir\Cli\Tool\WpCli;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\ProjectConfiguration;
namespace Ymir\Cli\ProjectConfiguration\WordPress;

use Ymir\Cli\Support\Arr;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\ProjectConfiguration;
namespace Ymir\Cli\ProjectConfiguration\WordPress;

class BeaverBuilderConfigurationChange extends AbstractWordPressConfigurationChange
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\ProjectConfiguration;
namespace Ymir\Cli\ProjectConfiguration\WordPress;

class ElementorConfigurationChange extends AbstractWordPressConfigurationChange
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\ProjectConfiguration;
namespace Ymir\Cli\ProjectConfiguration\WordPress;

class OxygenConfigurationChange extends AbstractWordPressConfigurationChange
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\ProjectConfiguration;
namespace Ymir\Cli\ProjectConfiguration\WordPress;

class WooCommerceConfigurationChange extends AbstractWordPressConfigurationChange
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\ProjectConfiguration;
namespace Ymir\Cli\ProjectConfiguration\WordPress;

use Ymir\Cli\ProjectConfiguration\ConfigurationChangeInterface;

interface WordPressConfigurationChangeInterface extends ConfigurationChangeInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\Tests\Unit\ProjectConfiguration;
namespace Ymir\Cli\Tests\Unit\ProjectConfiguration\WordPress;

use Ymir\Cli\ProjectConfiguration\BeaverBuilderConfigurationChange;
use Ymir\Cli\ProjectConfiguration\WordPress\BeaverBuilderConfigurationChange;
use Ymir\Cli\Tests\Unit\TestCase;

/**
* @covers \Ymir\Cli\ProjectConfiguration\BeaverBuilderConfigurationChange
* @covers \Ymir\Cli\ProjectConfiguration\WordPress\BeaverBuilderConfigurationChange
*/
class BeaverBuilderConfigurationChangeTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\Tests\Unit\ProjectConfiguration;
namespace Ymir\Cli\Tests\Unit\ProjectConfiguration\WordPress;

use Ymir\Cli\ProjectConfiguration\ElementorConfigurationChange;
use Ymir\Cli\ProjectConfiguration\WordPress\ElementorConfigurationChange;
use Ymir\Cli\Tests\Unit\TestCase;

/**
* @covers \Ymir\Cli\ProjectConfiguration\ElementorConfigurationChange
* @covers \Ymir\Cli\ProjectConfiguration\WordPress\ElementorConfigurationChange
*/
class ElementorConfigurationChangeTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\Tests\Unit\ProjectConfiguration;
namespace Ymir\Cli\Tests\Unit\ProjectConfiguration\WordPress;

use Ymir\Cli\ProjectConfiguration\OxygenConfigurationChange;
use Ymir\Cli\ProjectConfiguration\WordPress\OxygenConfigurationChange;
use Ymir\Cli\Tests\Unit\TestCase;

/**
* @covers \Ymir\Cli\ProjectConfiguration\OxygenConfigurationChange
* @covers \Ymir\Cli\ProjectConfiguration\WordPress\OxygenConfigurationChange
*/
class OxygenConfigurationChangeTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
* file that was distributed with this source code.
*/

namespace Ymir\Cli\Tests\Unit\ProjectConfiguration;
namespace Ymir\Cli\Tests\Unit\ProjectConfiguration\WordPress;

use Ymir\Cli\ProjectConfiguration\WooCommerceConfigurationChange;
use Ymir\Cli\ProjectConfiguration\WordPress\WooCommerceConfigurationChange;
use Ymir\Cli\Tests\Unit\TestCase;

/**
* @covers \Ymir\Cli\ProjectConfiguration\WooCommerceConfigurationChange
* @covers \Ymir\Cli\ProjectConfiguration\WordPress\WooCommerceConfigurationChange
*/
class WooCommerceConfigurationChangeTest extends TestCase
{
Expand Down

0 comments on commit 7217aba

Please sign in to comment.