Skip to content

Commit

Permalink
Merge branch 'SilverFire-fix/package-repository-type'
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Aug 2, 2019
2 parents 1aa6503 + 3398131 commit 9dd0e63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class Assets
'hg' => 'Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository',
'perforce' => 'Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository',
'svn' => 'Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository',
'url' => 'Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository',
);

/**
Expand All @@ -69,6 +70,7 @@ class Assets
'hg-bitbucket' => 'Fxp\Composer\AssetPlugin\Repository\Vcs\HgBitbucketDriver',
'hg' => 'Fxp\Composer\AssetPlugin\Repository\Vcs\HgDriver',
'perforce' => 'Fxp\Composer\AssetPlugin\Repository\Vcs\PerforceDriver',
'url' => 'Fxp\Composer\AssetPlugin\Repository\Vcs\GitDriver',
// svn must be last because identifying a subversion server for sure is practically impossible
'svn' => 'Fxp\Composer\AssetPlugin\Repository\Vcs\SvnDriver',
);
Expand Down
2 changes: 2 additions & 0 deletions Tests/AssetsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function testGetVcsRepositoryDrivers()
'hg',
'perforce',
'svn',
'url',
), array_keys(Assets::getVcsRepositoryDrivers()));
}

Expand All @@ -61,6 +62,7 @@ public function testGetVcsDrivers()
'hg-bitbucket',
'hg',
'perforce',
'url',
'svn',
), array_keys(Assets::getVcsDrivers()));
}
Expand Down

0 comments on commit 9dd0e63

Please sign in to comment.