public function getRequiredDependencies() {
$deps = array();
foreach ( $this->contents['require'] as $package => $version ) {
- if ( $package !== "php" ) {
+ if ( $package !== "php" && strpos( $package, 'ext-' ) !== 0 ) {
$deps[$package] = self::normalizeVersion( $version );
}
}
return $version;
}
-}
\ No newline at end of file
+}