|
@@ 863-865 (lines=3) @@
|
| 860 |
|
if (isset($json['require'])) { |
| 861 |
|
$require = $json['require']; |
| 862 |
|
switch ($libraryType) { |
| 863 |
|
case self::ECCUBE_LIBRARY: |
| 864 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 865 |
|
break; |
| 866 |
|
|
| 867 |
|
case self::OTHER_LIBRARY: |
| 868 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
@@ 867-869 (lines=3) @@
|
| 864 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
| 865 |
|
break; |
| 866 |
|
|
| 867 |
|
case self::OTHER_LIBRARY: |
| 868 |
|
$dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
| 869 |
|
break; |
| 870 |
|
|
| 871 |
|
default: |
| 872 |
|
$dependents = $json['require']; |