Fix casing in LoggerConfig.
This commit is contained in:
parent
f1052443ab
commit
c8dc8a67b7
|
@ -46,7 +46,7 @@ class LoggerConfig {
|
|||
* @param $name
|
||||
* @return Logger
|
||||
*/
|
||||
public function GetFor($name) {
|
||||
public function getFor($name) {
|
||||
$handlers = $this->getHandlers(self::KEY_AlwaysLoaded);
|
||||
$handlers = array_merge($handlers, $this->getHandlers($name));
|
||||
return new Logger($name, $handlers);
|
||||
|
|
8
console
8
console
|
@ -24,11 +24,11 @@ $loggerConfig = \PHPCI\Helper\LoggerConfig::newFromFile(__DIR__ . "/loggerconfig
|
|||
|
||||
$application = new Application();
|
||||
|
||||
$application->add(new RunCommand($loggerConfig->GetFor('RunCommand')));
|
||||
$application->add(new RunCommand($loggerConfig->getFor('RunCommand')));
|
||||
$application->add(new InstallCommand);
|
||||
$application->add(new UpdateCommand($loggerConfig->GetFor('UpdateCommand')));
|
||||
$application->add(new UpdateCommand($loggerConfig->getFor('UpdateCommand')));
|
||||
$application->add(new GenerateCommand);
|
||||
$application->add(new DaemonCommand($loggerConfig->GetFor('DaemonCommand')));
|
||||
$application->add(new PollCommand($loggerConfig->GetFor('PollCommand')));
|
||||
$application->add(new DaemonCommand($loggerConfig->getFor('DaemonCommand')));
|
||||
$application->add(new PollCommand($loggerConfig->getFor('PollCommand')));
|
||||
|
||||
$application->run();
|
||||
|
|
20
phpci.yml
20
phpci.yml
|
@ -2,7 +2,6 @@ build_settings:
|
|||
verbose: false
|
||||
ignore:
|
||||
- "vendor"
|
||||
- "Tests"
|
||||
- "PHPCI/Command" # PHPMD complains about un-used parameters, but they are required.
|
||||
- "public/install.php" # PHPCS really doesn't like PHP mixed with HTML (and so it shouldn't)
|
||||
irc:
|
||||
|
@ -13,14 +12,15 @@ build_settings:
|
|||
|
||||
test:
|
||||
php_mess_detector:
|
||||
php_code_sniffer:
|
||||
standard: "PSR2"
|
||||
php_loc:
|
||||
phpunit:
|
||||
directory:
|
||||
"Tests/"
|
||||
|
||||
success:
|
||||
irc:
|
||||
message: "Build Success. %PROJECT_TITLE% - %COMMIT% - %BUILD_URI%"
|
||||
|
||||
failure:
|
||||
irc:
|
||||
message: "Build Failed. %PROJECT_TITLE% - %COMMIT% - %BUILD_URI%"
|
||||
#success:
|
||||
# irc:
|
||||
# message: "Build Success. %PROJECT_TITLE% - %COMMIT% - %BUILD_URI%"
|
||||
|
||||
#failure:
|
||||
# irc:
|
||||
# message: "Build Failed. %PROJECT_TITLE% - %COMMIT% - %BUILD_URI%"
|
Loading…
Reference in a new issue