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