|
@@ 879-881 (lines=3) @@
|
| 876 |
|
if (isset($json['require'])) { |
| 877 |
|
$require = $json['require']; |
| 878 |
|
switch ($libraryType) { |
| 879 |
|
case self::ECCUBE_LIBRARY: |
| 880 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 881 |
|
break; |
| 882 |
|
|
| 883 |
|
case self::OTHER_LIBRARY: |
| 884 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
@@ 883-885 (lines=3) @@
|
| 880 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 881 |
|
break; |
| 882 |
|
|
| 883 |
|
case self::OTHER_LIBRARY: |
| 884 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
| 885 |
|
break; |
| 886 |
|
|
| 887 |
|
default: |
| 888 |
|
$dependents = $json['require']; |