mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +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,
|
||||
),
|
||||
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(
|
||||
'name' => 'foo/bar',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue