@@ 890-892 (lines=3) @@ | ||
887 | if (isset($json['require'])) { |
|
888 | $require = $json['require']; |
|
889 | switch ($libraryType) { |
|
890 | case self::ECCUBE_LIBRARY: |
|
891 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
|
892 | break; |
|
893 | ||
894 | case self::OTHER_LIBRARY: |
|
895 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
@@ 894-896 (lines=3) @@ | ||
891 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
|
892 | break; |
|
893 | ||
894 | case self::OTHER_LIBRARY: |
|
895 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
896 | break; |
|
897 | ||
898 | default: |
|
899 | $dependents = $json['require']; |