|
@@ 829-831 (lines=3) @@
|
| 826 |
|
if (isset($json['require'])) { |
| 827 |
|
$require = $json['require']; |
| 828 |
|
switch ($libraryType) { |
| 829 |
|
case self::ECCUBE_LIBRARY: |
| 830 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 831 |
|
break; |
| 832 |
|
|
| 833 |
|
case self::OTHER_LIBRARY: |
| 834 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
@@ 833-835 (lines=3) @@
|
| 830 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 831 |
|
break; |
| 832 |
|
|
| 833 |
|
case self::OTHER_LIBRARY: |
| 834 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
| 835 |
|
break; |
| 836 |
|
|
| 837 |
|
default: |
| 838 |
|
$dependents = $json['require']; |