main
Jordi Boggiano 10 years ago
parent 59648b12a4
commit fc3c7838b2

@ -59,6 +59,7 @@ class ClassLoader
if (!empty($this->prefixesPsr0)) { if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0); return call_user_func_array('array_merge', $this->prefixesPsr0);
} }
return array(); return array();
} }

@ -99,7 +99,8 @@ class Application extends BaseApplication
if ($name = $this->getCommandName($input)) { if ($name = $this->getCommandName($input)) {
try { try {
$commandName = $this->find($name)->getName(); $commandName = $this->find($name)->getName();
} catch (\InvalidArgumentException $e) {} } catch (\InvalidArgumentException $e) {
}
} }
if ($commandName !== 'self-update' && $commandName !== 'selfupdate') { if ($commandName !== 'self-update' && $commandName !== 'selfupdate') {
if (time() > COMPOSER_DEV_WARNING_TIME) { if (time() > COMPOSER_DEV_WARNING_TIME) {

@ -56,7 +56,6 @@ abstract class BasePackage implements PackageInterface
protected $repository; protected $repository;
protected $transportOptions; protected $transportOptions;
/** /**
* All descendants' constructors should call this parent constructor * All descendants' constructors should call this parent constructor
* *

Loading…
Cancel
Save