Skip to content

Commit 66dfe62

Browse files
committed
Update namespace to break cache
1 parent 45cf96a commit 66dfe62

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
}
2020
],
2121
"autoload": {
22-
"psr-0": {
23-
"johnpbloch\\Composer\\": "src/"
22+
"psr-4": {
23+
"Roots\\Composer\\": "src/"
2424
}
2525
},
2626
"autoload-dev": {
2727
"psr-4": {
28-
"Tests\\JohnPBloch\\Composer\\": "tests/"
28+
"Tests\\Roots\\Composer\\": "tests/"
2929
}
3030
},
3131
"extra": {
32-
"class": "johnpbloch\\Composer\\WordPressCorePlugin"
32+
"class": "Roots\\Composer\\WordPressCorePlugin"
3333
},
3434
"require": {
3535
"composer-plugin-api": "^1.0"

src/johnpbloch/Composer/WordPressCoreInstaller.php renamed to src/WordPressCoreInstaller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2020
*/
2121

22-
namespace johnpbloch\Composer;
22+
namespace Roots\Composer;
2323

2424
use Composer\Config;
2525
use Composer\Installer\LibraryInstaller;

src/johnpbloch/Composer/WordPressCorePlugin.php renamed to src/WordPressCorePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2020
*/
2121

22-
namespace johnpbloch\Composer;
22+
namespace Roots\Composer;
2323

2424
use Composer\Composer;
2525
use Composer\IO\IOInterface;

tests/phpunit/WordPressCoreInstallerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2020
*/
2121

22-
namespace Tests\JohnPBloch\Composer\phpunit;
22+
namespace Tests\Roots\Composer\phpunit;
2323

2424
use Composer\Composer;
2525
use Composer\Config;
2626
use Composer\IO\NullIO;
2727
use Composer\Package\Package;
2828
use Composer\Package\RootPackage;
29-
use johnpbloch\Composer\WordPressCoreInstaller;
29+
use Roots\Composer\WordPressCoreInstaller;
3030
use PHPUnit\Framework\TestCase;
3131

3232
class WordPressCoreInstallerTest extends TestCase {
@@ -172,7 +172,7 @@ public function dataProviderSensitiveDirectories() {
172172
}
173173

174174
private function resetInstallPaths() {
175-
$prop = new \ReflectionProperty( '\johnpbloch\Composer\WordPressCoreInstaller', '_installedPaths' );
175+
$prop = new \ReflectionProperty( '\Roots\Composer\WordPressCoreInstaller', '_installedPaths' );
176176
$prop->setAccessible( true );
177177
$prop->setValue( array() );
178178
}

tests/phpunit/WordPressCorePluginTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2020
*/
2121

22-
namespace Tests\JohnPBloch\Composer\phpunit;
22+
namespace Tests\Roots\Composer\phpunit;
2323

2424
use Composer\Composer;
2525
use Composer\Config;
2626
use Composer\Installer\InstallationManager;
2727
use Composer\IO\NullIO;
28-
use johnpbloch\Composer\WordPressCorePlugin;
28+
use Roots\Composer\WordPressCorePlugin;
2929
use PHPUnit\Framework\TestCase;
3030

3131
class WordPressCorePluginTest extends TestCase {
@@ -41,7 +41,7 @@ public function testActivate() {
4141

4242
$installer = $installationManager->getInstaller( 'wordpress-core' );
4343

44-
$this->assertInstanceOf( '\johnpbloch\Composer\WordPressCoreInstaller', $installer );
44+
$this->assertInstanceOf( '\Roots\Composer\WordPressCoreInstaller', $installer );
4545
}
4646

4747
}

0 commit comments

Comments
 (0)