|
@@ 838-840 (lines=3) @@
|
| 835 |
|
if (isset($json['require'])) { |
| 836 |
|
$require = $json['require']; |
| 837 |
|
switch ($libraryType) { |
| 838 |
|
case self::ECCUBE_LIBRARY: |
| 839 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 840 |
|
break; |
| 841 |
|
|
| 842 |
|
case self::OTHER_LIBRARY: |
| 843 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
@@ 842-844 (lines=3) @@
|
| 839 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 840 |
|
break; |
| 841 |
|
|
| 842 |
|
case self::OTHER_LIBRARY: |
| 843 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
| 844 |
|
break; |
| 845 |
|
|
| 846 |
|
default: |
| 847 |
|
$dependents = $json['require']; |