Skip to content

Commit

Permalink
Updated namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed May 21, 2024
1 parent b69d382 commit 62a3161
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CustomizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace YourOrg\YourPackage;
namespace AlexSkrypnyk\Customizer;

use Composer\Command\BaseCommand;
use Composer\Console\Input\InputOption;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ to provide a customizer for it.
},
"scripts": {
"customize": [
"YourOrg\\YourPackage\\CustomizeCommand"
"AlexSkrypnyk\\Customizer\\CustomizeCommand"
],
"post-create-project-cmd": [
"@customize"
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@
"prefer-stable": true,
"scripts": {
"customize": [
"YourOrg\\YourPackage\\CustomizeCommand"
"AlexSkrypnyk\\Customizer\\CustomizeCommand"
],
"post-create-project-cmd": [
"@customize"
],
"lint": [
"phpcs",
Expand Down
2 changes: 1 addition & 1 deletion questions.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use YourOrg\YourPackage\CustomizeCommand;
use AlexSkrypnyk\Customizer\CustomizeCommand;

/**
* Process the license question.
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Fixtures/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"scripts": {
"customize": [
"YourOrg\\YourPackage\\CustomizeCommand"
"AlexSkrypnyk\\Customizer\\CustomizeCommand"
],
"post-create-project-cmd": [
"@customize"
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Functional/CreateProjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace AlexSkrypnyk\Customizer\Tests\Functional;

use AlexSkrypnyk\Customizer\CustomizeCommand;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RunInSeparateProcess;
use YourOrg\YourPackage\CustomizeCommand;

/**
* Test the scaffold create-project command with no-install.
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Functional/CustomizerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace AlexSkrypnyk\Customizer\Tests\Functional;

use AlexSkrypnyk\Customizer\CustomizeCommand;
use AlexSkrypnyk\Customizer\Tests\Dirs;
use AlexSkrypnyk\Customizer\Tests\Traits\ComposerTrait;
use AlexSkrypnyk\Customizer\Tests\Traits\DirsTrait;
Expand All @@ -12,7 +13,6 @@
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\TestStatus\Error;
use PHPUnit\Framework\TestStatus\Failure;
use YourOrg\YourPackage\CustomizeCommand;

/**
* Base class for functional tests.
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Unit/ReplaceInPathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace AlexSkrypnyk\Customizer\Tests\Functional;

use AlexSkrypnyk\Customizer\CustomizeCommand;
use AlexSkrypnyk\Customizer\Tests\Traits\DirsTrait;
use AlexSkrypnyk\Customizer\Tests\Traits\ReflectionTrait;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\TestStatus\Failure;
use YourOrg\YourPackage\CustomizeCommand;

/**
* Test the scaffold create-project command with no-install.
Expand Down

0 comments on commit 62a3161

Please sign in to comment.