From c8dc8a67b7e70a283f6196d9b53deb0fb85ff465 Mon Sep 17 00:00:00 2001 From: meadsteve Date: Thu, 28 Nov 2013 21:18:11 +0000 Subject: [PATCH] Fix casing in LoggerConfig. --- PHPCI/Helper/LoggerConfig.php | 2 +- console | 8 ++++---- phpci.yml | 20 ++++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/PHPCI/Helper/LoggerConfig.php b/PHPCI/Helper/LoggerConfig.php index 1e130e1a..de1b2a67 100644 --- a/PHPCI/Helper/LoggerConfig.php +++ b/PHPCI/Helper/LoggerConfig.php @@ -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); diff --git a/console b/console index baa0e13a..f855f5ab 100644 --- a/console +++ b/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(); diff --git a/phpci.yml b/phpci.yml index 42b2dba3..52b13952 100644 --- a/phpci.yml +++ b/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%" \ No newline at end of file +#success: +# irc: +# message: "Build Success. %PROJECT_TITLE% - %COMMIT% - %BUILD_URI%" + +#failure: +# irc: +# message: "Build Failed. %PROJECT_TITLE% - %COMMIT% - %BUILD_URI%" \ No newline at end of file