Skip to content

Commit

Permalink
Prepare move to drupal-composer/preserve-paths
Browse files Browse the repository at this point in the history
  • Loading branch information
derhasi committed Jul 16, 2017
1 parent daa7b35 commit cc1b7ed
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This way you can:

## Installation

Simply install the plugin with composer: `composer require derhasi/composer-preserve-paths`
Simply install the plugin with composer: `composer require drupal-composer/preserve-paths`

## Configuration

Expand Down Expand Up @@ -45,7 +45,7 @@ An example composer.json using [composer/installers](https://packagist.org/packa
],
"require": {
"composer/installers": "^1.2",
"derhasi/composer-preserve-paths": "0.1.*",
"drupal-composer/preserve-paths": "0.1.*",
"drupal/views": "3.*",
"drupal/drupal": "7.*"
},
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "derhasi/composer-preserve-paths",
"name": "drupal-composer/preserve-paths",
"description": "Composer plugin for preserving custom paths and supporting nested packages",
"type": "composer-plugin",
"keywords": [
Expand All @@ -8,7 +8,7 @@
"custom path",
"nested package"
],
"homepage": "https://github.com/derhasi/composer-preserve-paths",
"homepage": "https://github.com/drupal-composer/preserve-paths",
"license": "GPL-2.0+",
"authors": [
{
Expand All @@ -18,7 +18,7 @@
}
],
"support": {
"issues": "https://github.com/derhasi/composer-preserve-paths/issues"
"issues": "https://github.com/drupal-composer/preserve-paths/issues"
},
"require": {
"composer-plugin-api": "^1.0"
Expand All @@ -32,10 +32,10 @@
},
"autoload": {
"psr-4": {
"derhasi\\Composer\\": "src/"
"DrupalComposer\\PreservePaths\\": "src/"
}
},
"extra": {
"class": "derhasi\\Composer\\Plugin"
"class": "DrupalComposer\\PreservePaths\\Plugin"
}
}
4 changes: 2 additions & 2 deletions src/PathPreserver.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/**
* Contains \derhasi\Composer\PathPreserver
* Contains \DrupalComposer\PreservePaths\PathPreserver
*/

namespace derhasi\Composer;
namespace DrupalComposer\PreservePaths;

/**
* Class PathPreserver
Expand Down
6 changes: 3 additions & 3 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

/**
* @file
* Contains derhasi\Composer\Plugin.
* Contains DrupalComposer\PreservePaths\Plugin.
*/

namespace derhasi\Composer;
namespace DrupalComposer\PreservePaths;

use Composer\Composer;
use Composer\DependencyResolver\Operation\InstallOperation;
Expand All @@ -25,7 +25,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface
{

/**
* @var \derhasi\Composer\PluginWrapper
* @var \DrupalComposer\PreservePaths\PluginWrapper
*/
protected $wrapper;

Expand Down
6 changes: 3 additions & 3 deletions src/PluginWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

/**
* @file
* Contains derhasi\Composer\Plugin.
* Contains DrupalComposer\PreservePaths\Plugin.
*/

namespace derhasi\Composer;
namespace DrupalComposer\PreservePaths;

use Composer\Composer;
use Composer\DependencyResolver\Operation\InstallOperation;
Expand Down Expand Up @@ -40,7 +40,7 @@ class PluginWrapper
protected $filesystem;

/**
* @var \derhasi\Composer\PathPreserver[string]
* @var \DrupalComposer\PreservePaths\PathPreserver[string]
*/
protected $preservers;

Expand Down
2 changes: 1 addition & 1 deletion tests/FixturesTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace derhasi\Composer\Tests;
namespace DrupalComposer\PreservePaths\Tests;

use derhasi\tempdirectory\TempDirectory;

Expand Down
4 changes: 2 additions & 2 deletions tests/PathPreserverTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace derhasi\Composer\Tests;
namespace DrupalComposer\PreservePaths\Tests;

use derhasi\Composer\PathPreserver;
use DrupalComposer\PreservePaths\PathPreserver;
use Composer\Util\Filesystem;
use Composer\Package\Package;
use Composer\Package\RootPackage;
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/example/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"require": {
"composer/installers": "^1.2",
"derhasi/composer-preserve-paths": "@dev",
"drupal-composer/preserve-paths": "@dev",
"drupal/views": "3.*",
"drupal/drupal": "7.52"
},
Expand Down

0 comments on commit cc1b7ed

Please sign in to comment.