mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix: ValidatingArrayLoader [TypeError]: strcasecmp(): Argument #1() must be of type string, int given (#10897)
This commit is contained in:
parent
30a8b82b15
commit
6776cef441
2 changed files with 8 additions and 0 deletions
|
@ -419,6 +419,13 @@ class ValidatingArrayLoaderTest extends TestCase
|
|||
'dist.url : must be present',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'foo/bar',
|
||||
'replace' => array('acme/bar'),
|
||||
),
|
||||
array('replace.0 : invalid version constraint (Could not parse version constraint acme/bar: Invalid version string "acme/bar")')
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue