|
@@ 944-946 (lines=3) @@
|
| 941 |
|
if (isset($json['require'])) { |
| 942 |
|
$require = $json['require']; |
| 943 |
|
switch ($libraryType) { |
| 944 |
|
case self::ECCUBE_LIBRARY: |
| 945 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 946 |
|
break; |
| 947 |
|
|
| 948 |
|
case self::OTHER_LIBRARY: |
| 949 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
@@ 948-950 (lines=3) @@
|
| 945 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 946 |
|
break; |
| 947 |
|
|
| 948 |
|
case self::OTHER_LIBRARY: |
| 949 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
| 950 |
|
break; |
| 951 |
|
|
| 952 |
|
default: |
| 953 |
|
$dependents = $json['require']; |