mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Merged isset, unset and str_replace calls
This commit is contained in:
parent
974e7ba296
commit
80d71ccb3f
16 changed files with 31 additions and 43 deletions
|
@ -120,8 +120,7 @@ class ComposerSchemaTest extends TestCase
|
|||
|
||||
// remove justinrainbow/json-schema 3.0/5.2 props so it works with all versions
|
||||
foreach ($errors as &$err) {
|
||||
unset($err['pointer']);
|
||||
unset($err['context']);
|
||||
unset($err['pointer'], $err['context']);
|
||||
}
|
||||
|
||||
return $errors;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue