mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Add test for warning on deprecated naming
This commit is contained in:
parent
627a832cc1
commit
5d14a95543
1 changed files with 12 additions and 0 deletions
|
@ -337,6 +337,18 @@ class ValidatingArrayLoaderTest extends TestCase
|
||||||
),
|
),
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
array(
|
||||||
|
'name' => 'foo/bar',
|
||||||
|
'require' => array(
|
||||||
|
'Foo/Baz' => '^1.0',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'Deprecation warning: require.Foo/Baz is invalid, it should not contain uppercase characters. Please use foo/baz instead. Make sure you fix this as Composer 2.0 will error.',
|
||||||
|
),
|
||||||
|
false,
|
||||||
|
),
|
||||||
array(
|
array(
|
||||||
array(
|
array(
|
||||||
'name' => 'foo/bar',
|
'name' => 'foo/bar',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue