1
0
Fork 0

Removed dev-master as default version for versionless artifact

pull/1728/head
Serge Smertin 2013-04-03 23:49:32 +02:00
parent 5c46affdd5
commit 07920c48a6
3 changed files with 0 additions and 6 deletions

View File

@ -94,10 +94,6 @@ class ArtifactRepository extends ArrayRepository
'shasum' => sha1_file($file->getRealPath())
);
if(empty($package['version'])) {
$package['version'] = 'dev-master';
}
$package = $this->loader->load($package);
return $package;

View File

@ -24,8 +24,6 @@ class ArtifactRepositoryTest extends TestCase
$expectedPackages = array(
'vendor0/package0-0.0.1',
'composer/composer-1.0.0-alpha6',
'composer/composer-dev-master',
'composer/composer-1.0.x-dev',
'vendor1/package2-4.3.2',
);