mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Downgrade naming errors to warnings again in package links to avoid BC issues with tags on packagist
This commit is contained in:
parent
da322643d6
commit
f1f013edde
2 changed files with 14 additions and 14 deletions
|
@ -352,18 +352,6 @@ class ValidatingArrayLoaderTest extends TestCase
|
|||
'name : Foo/Bar is invalid, it should not contain uppercase characters. We suggest using foo/bar instead.',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'foo/bar',
|
||||
'require' => array(
|
||||
'Foo/Baz' => '^1.0',
|
||||
),
|
||||
),
|
||||
array(
|
||||
'require.Foo/Baz is invalid, it should not contain uppercase characters. Please use foo/baz instead.',
|
||||
),
|
||||
false,
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'foo/bar',
|
||||
|
@ -523,6 +511,18 @@ class ValidatingArrayLoaderTest extends TestCase
|
|||
),
|
||||
false,
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'foo/bar',
|
||||
'require' => array(
|
||||
'Foo/Baz' => '^1.0',
|
||||
),
|
||||
),
|
||||
array(
|
||||
'require.Foo/Baz is invalid, it should not contain uppercase characters. Please use foo/baz instead.',
|
||||
),
|
||||
false,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue