@@ 821-823 (lines=3) @@ | ||
818 | if (isset($json['require'])) { |
|
819 | $require = $json['require']; |
|
820 | switch ($libraryType) { |
|
821 | case self::ECCUBE_LIBRARY: |
|
822 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
|
823 | break; |
|
824 | ||
825 | case self::OTHER_LIBRARY: |
|
826 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
@@ 825-827 (lines=3) @@ | ||
822 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require)))); |
|
823 | break; |
|
824 | ||
825 | case self::OTHER_LIBRARY: |
|
826 | $dependents = array_intersect_key($require, array_flip(preg_grep('/^'.self::VENDOR_NAME.'\//i', array_keys($require), PREG_GREP_INVERT))); |
|
827 | break; |
|
828 | ||
829 | default: |
|
830 | $dependents = $json['require']; |