From 290c8c52255ee2a44fe81713ade1aa2bb5a6008f Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 7 Aug 2013 10:27:50 +0200 Subject: [PATCH] CC: Add newline to end of file where missing Following command was used: $ find application/ library/Icinga/ modules/ -name *.php | xargs sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba;$a\' --- application/controllers/ConfigurationController.php | 2 +- application/controllers/ModulesController.php | 2 +- application/controllers/StaticController.php | 2 +- application/views/helpers/Auth.php | 2 +- application/views/helpers/FormDate.php | 2 +- application/views/helpers/FormDateTime.php | 2 +- application/views/helpers/FormNumber.php | 2 +- application/views/helpers/FormTime.php | 2 +- application/views/helpers/Format.php | 2 +- application/views/helpers/Img.php | 2 +- application/views/helpers/QUrl.php | 2 +- application/views/helpers/Qlink.php | 2 +- application/views/helpers/TimeSince.php | 2 +- application/views/helpers/Util.php | 2 +- application/views/helpers/layout/Container.php | 2 +- library/Icinga/Backend.php | 1 - library/Icinga/File/Csv.php | 1 - library/Icinga/User/Preferences/SessionStore.php | 2 +- .../Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php | 2 +- library/Icinga/Web/View.php | 1 - library/Icinga/Web/View/helpers/url.php | 1 - library/Icinga/Web/ViewStream.php | 1 - library/Icinga/Web/Widget/Dashboard.php | 1 - library/Icinga/Web/Widget/Dashboard/Component.php | 1 - library/Icinga/Web/Widget/Dashboard/Pane.php | 1 - library/Icinga/Web/Widget/Form.php | 1 - .../monitoring/application/controllers/CommandController.php | 2 +- modules/monitoring/application/controllers/ShowController.php | 2 +- .../monitoring/application/controllers/SummaryController.php | 1 - .../monitoring/application/views/helpers/CommandArguments.php | 1 - .../monitoring/application/views/helpers/MonitoringFlags.php | 2 +- modules/monitoring/application/views/helpers/Perfdata.php | 1 - modules/monitoring/application/views/helpers/PluginOutput.php | 1 - .../monitoring/application/views/helpers/ResolveComments.php | 1 - modules/monitoring/bin/action/list.inc.php | 1 - .../library/Monitoring/Backend/Statusdat/Query/StatusQuery.php | 2 +- modules/monitoring/library/Monitoring/Environment.php | 1 - modules/monitoring/library/Monitoring/Object/AbstractObject.php | 1 - modules/monitoring/library/Monitoring/Object/Host.php | 1 - modules/monitoring/library/Monitoring/Object/Service.php | 1 - modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php | 1 - .../test/php/application/controllers/ListControllerHostTest.php | 2 +- .../php/application/controllers/ListControllerServiceTest.php | 2 +- .../test/php/application/forms/Command/AcknowledgeFormTest.php | 1 - .../test/php/application/forms/Command/BaseFormTest.php | 2 +- .../test/php/application/forms/Command/CommentFormTest.php | 1 - .../application/forms/Command/CustomNotificationFormTest.php | 1 - .../php/application/forms/Command/DelayNotificationFormTest.php | 1 - .../application/forms/Command/RescheduleNextCheckFormTest.php | 1 - .../php/application/forms/Command/ScheduleDowntimeFormTest.php | 1 - .../application/forms/Command/SubmitPassiveCheckResultTest.php | 1 - .../php/application/views/helpers/MonitoringCommandsTest.php | 2 +- .../test/php/application/views/helpers/MonitoringFlagsTest.php | 2 +- .../library/Backend/Statusdat/ServicegroupsummaryQueryTest.php | 1 - modules/monitoring/test/php/library/Command/MetaTest.php | 2 +- .../monitoring/test/php/testlib/MonitoringControllerTest.php | 2 +- .../test/php/testlib/datasource/DataSourceTestSetup.php | 2 +- modules/monitoring/test/php/testlib/datasource/TestFixture.php | 2 +- .../php/testlib/datasource/schemes/ObjectsCacheTemplates.php | 2 +- .../test/php/testlib/datasource/schemes/StatusdatTemplates.php | 2 +- .../php/testlib/datasource/strategies/InsertionStrategy.php | 2 +- .../php/testlib/datasource/strategies/MySQLSetupStrategy.php | 2 +- .../php/testlib/datasource/strategies/PDOInsertionStrategy.php | 2 +- .../php/testlib/datasource/strategies/PgSQLSetupStrategy.php | 2 +- .../test/php/testlib/datasource/strategies/SetupStrategy.php | 2 +- .../datasource/strategies/StatusdatInsertionStrategy.php | 2 +- .../testlib/datasource/strategies/StatusdatSetupStrategy.php | 2 +- 67 files changed, 39 insertions(+), 67 deletions(-) diff --git a/application/controllers/ConfigurationController.php b/application/controllers/ConfigurationController.php index 8041093c9..ae895695c 100644 --- a/application/controllers/ConfigurationController.php +++ b/application/controllers/ConfigurationController.php @@ -57,4 +57,4 @@ class ConfigurationController extends ActionController } } -// @codingStandardsIgnoreEnd \ No newline at end of file +// @codingStandardsIgnoreEnd diff --git a/application/controllers/ModulesController.php b/application/controllers/ModulesController.php index a089af192..9fb215978 100644 --- a/application/controllers/ModulesController.php +++ b/application/controllers/ModulesController.php @@ -107,4 +107,4 @@ class ModulesController extends ActionController } } -// @codingStandardsIgnoreEnd \ No newline at end of file +// @codingStandardsIgnoreEnd diff --git a/application/controllers/StaticController.php b/application/controllers/StaticController.php index 98ed57149..7e1ebb5ae 100644 --- a/application/controllers/StaticController.php +++ b/application/controllers/StaticController.php @@ -148,4 +148,4 @@ class StaticController extends ActionController } -// @codingStandardsIgnoreEnd \ No newline at end of file +// @codingStandardsIgnoreEnd diff --git a/application/views/helpers/Auth.php b/application/views/helpers/Auth.php index 345cf4e60..a996af02d 100755 --- a/application/views/helpers/Auth.php +++ b/application/views/helpers/Auth.php @@ -38,4 +38,4 @@ class Zend_View_Helper_Auth extends Zend_View_Helper_Abstract } } -// @codingStandardsIgnoreEnd \ No newline at end of file +// @codingStandardsIgnoreEnd diff --git a/application/views/helpers/FormDate.php b/application/views/helpers/FormDate.php index 4e35e00d3..f37af71de 100644 --- a/application/views/helpers/FormDate.php +++ b/application/views/helpers/FormDate.php @@ -52,4 +52,4 @@ class Zend_View_Helper_FormDate extends \Zend_View_Helper_FormText } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/FormDateTime.php b/application/views/helpers/FormDateTime.php index 240d4ac2a..f1d480886 100644 --- a/application/views/helpers/FormDateTime.php +++ b/application/views/helpers/FormDateTime.php @@ -52,4 +52,4 @@ class Zend_View_Helper_FormDateTime extends \Zend_View_Helper_FormText } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/FormNumber.php b/application/views/helpers/FormNumber.php index fbbf57fcf..bc1bde2c7 100644 --- a/application/views/helpers/FormNumber.php +++ b/application/views/helpers/FormNumber.php @@ -52,4 +52,4 @@ class Zend_View_Helper_FormNumber extends \Zend_View_Helper_FormText } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/FormTime.php b/application/views/helpers/FormTime.php index 511ae602e..0a0bfb5f5 100644 --- a/application/views/helpers/FormTime.php +++ b/application/views/helpers/FormTime.php @@ -52,4 +52,4 @@ class Zend_View_Helper_FormTime extends \Zend_View_Helper_FormText } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/Format.php b/application/views/helpers/Format.php index 141b76dad..fc13f1a9f 100644 --- a/application/views/helpers/Format.php +++ b/application/views/helpers/Format.php @@ -35,4 +35,4 @@ class Zend_View_Helper_Format extends Zend_View_Helper_Abstract } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/Img.php b/application/views/helpers/Img.php index 110a6d844..d73e94728 100644 --- a/application/views/helpers/Img.php +++ b/application/views/helpers/Img.php @@ -52,4 +52,4 @@ class Zend_View_Helper_Img extends Zend_View_Helper_Abstract } } -// @codingStandardsIgnoreStart \ No newline at end of file +// @codingStandardsIgnoreStart diff --git a/application/views/helpers/QUrl.php b/application/views/helpers/QUrl.php index e5ba4425c..c54e49e09 100644 --- a/application/views/helpers/QUrl.php +++ b/application/views/helpers/QUrl.php @@ -42,4 +42,4 @@ class Zend_View_Helper_QUrl extends Zend_View_Helper_Abstract } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/Qlink.php b/application/views/helpers/Qlink.php index 68a0d8c51..8c870a4e5 100755 --- a/application/views/helpers/Qlink.php +++ b/application/views/helpers/Qlink.php @@ -121,4 +121,4 @@ class Zend_View_Helper_Qlink extends Zend_View_Helper_Abstract */ } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/TimeSince.php b/application/views/helpers/TimeSince.php index 9f51f7ac7..ceb2e68e4 100644 --- a/application/views/helpers/TimeSince.php +++ b/application/views/helpers/TimeSince.php @@ -71,4 +71,4 @@ class Zend_View_Helper_TimeSince extends Zend_View_Helper_Abstract } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/Util.php b/application/views/helpers/Util.php index 1066327ad..9fa5e7f01 100644 --- a/application/views/helpers/Util.php +++ b/application/views/helpers/Util.php @@ -140,4 +140,4 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/application/views/helpers/layout/Container.php b/application/views/helpers/layout/Container.php index 435d94b23..12cb1ddab 100644 --- a/application/views/helpers/layout/Container.php +++ b/application/views/helpers/layout/Container.php @@ -137,4 +137,4 @@ class Zend_View_Helper_Container extends Zend_View_Helper_Abstract } -} \ No newline at end of file +} diff --git a/library/Icinga/Backend.php b/library/Icinga/Backend.php index 93660fa0c..bf4f89eba 100755 --- a/library/Icinga/Backend.php +++ b/library/Icinga/Backend.php @@ -38,4 +38,3 @@ class Backend return self::$instances[$name]; } } - diff --git a/library/Icinga/File/Csv.php b/library/Icinga/File/Csv.php index b2efde401..ae116294f 100644 --- a/library/Icinga/File/Csv.php +++ b/library/Icinga/File/Csv.php @@ -43,4 +43,3 @@ class Csv return $csv; } } - diff --git a/library/Icinga/User/Preferences/SessionStore.php b/library/Icinga/User/Preferences/SessionStore.php index 70dbf1b2c..ce44c230b 100644 --- a/library/Icinga/User/Preferences/SessionStore.php +++ b/library/Icinga/User/Preferences/SessionStore.php @@ -115,4 +115,4 @@ class SessionStore implements SplObserver, LoadInterface { return $this->session->get(self::DEFAULT_SESSION_NAMESPACE, array()); } -} \ No newline at end of file +} diff --git a/library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php b/library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php index 5a1608000..c74cf0822 100755 --- a/library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php +++ b/library/Icinga/Web/Paginator/ScrollingStyle/SlidingWithBorder.php @@ -92,4 +92,4 @@ class Icinga_Web_Paginator_ScrollingStyle_SlidingWithBorder implements Zend_Pagi } } -// @codingStandardsIgnoreEnd \ No newline at end of file +// @codingStandardsIgnoreEnd diff --git a/library/Icinga/Web/View.php b/library/Icinga/Web/View.php index 80bc47e02..071b7643d 100644 --- a/library/Icinga/Web/View.php +++ b/library/Icinga/Web/View.php @@ -61,4 +61,3 @@ class View extends ZfViewAbstract } } } - diff --git a/library/Icinga/Web/View/helpers/url.php b/library/Icinga/Web/View/helpers/url.php index eb07ebf9f..e1ef5144d 100644 --- a/library/Icinga/Web/View/helpers/url.php +++ b/library/Icinga/Web/View/helpers/url.php @@ -16,4 +16,3 @@ function url($path = null, $params = null) } return $url; } - diff --git a/library/Icinga/Web/ViewStream.php b/library/Icinga/Web/ViewStream.php index cf0264773..c3e61d796 100644 --- a/library/Icinga/Web/ViewStream.php +++ b/library/Icinga/Web/ViewStream.php @@ -7,4 +7,3 @@ use Zend_View_Stream as ZfViewStream; class ViewStream extends ZfViewStream { } - diff --git a/library/Icinga/Web/Widget/Dashboard.php b/library/Icinga/Web/Widget/Dashboard.php index fb8770f25..f1ed0c867 100644 --- a/library/Icinga/Web/Widget/Dashboard.php +++ b/library/Icinga/Web/Widget/Dashboard.php @@ -192,4 +192,3 @@ class Dashboard extends AbstractWidget } } } - diff --git a/library/Icinga/Web/Widget/Dashboard/Component.php b/library/Icinga/Web/Widget/Dashboard/Component.php index 48ddd78e0..9c43f36c9 100644 --- a/library/Icinga/Web/Widget/Dashboard/Component.php +++ b/library/Icinga/Web/Widget/Dashboard/Component.php @@ -114,4 +114,3 @@ class Component return $htm; } } - diff --git a/library/Icinga/Web/Widget/Dashboard/Pane.php b/library/Icinga/Web/Widget/Dashboard/Pane.php index 6fee43df6..c57aaf5d2 100644 --- a/library/Icinga/Web/Widget/Dashboard/Pane.php +++ b/library/Icinga/Web/Widget/Dashboard/Pane.php @@ -102,4 +102,3 @@ class Pane return implode('', $this->components); } } - diff --git a/library/Icinga/Web/Widget/Form.php b/library/Icinga/Web/Widget/Form.php index 533e1010f..50525b21c 100644 --- a/library/Icinga/Web/Widget/Form.php +++ b/library/Icinga/Web/Widget/Form.php @@ -79,4 +79,3 @@ class Form extends AbstractWidget return (string) $this->form; } } - diff --git a/modules/monitoring/application/controllers/CommandController.php b/modules/monitoring/application/controllers/CommandController.php index 16754c8f9..5d51b8b63 100644 --- a/modules/monitoring/application/controllers/CommandController.php +++ b/modules/monitoring/application/controllers/CommandController.php @@ -777,4 +777,4 @@ class Monitoring_CommandController extends ModuleActionController } } -// @codingStandardsIgnoreStop \ No newline at end of file +// @codingStandardsIgnoreStop diff --git a/modules/monitoring/application/controllers/ShowController.php b/modules/monitoring/application/controllers/ShowController.php index e56c51948..ac08efc07 100644 --- a/modules/monitoring/application/controllers/ShowController.php +++ b/modules/monitoring/application/controllers/ShowController.php @@ -509,4 +509,4 @@ class Monitoring_ShowController extends ModuleActionController } } -// @codingStandardsIgnoreEnd \ No newline at end of file +// @codingStandardsIgnoreEnd diff --git a/modules/monitoring/application/controllers/SummaryController.php b/modules/monitoring/application/controllers/SummaryController.php index fdda65a22..e9eb6d952 100644 --- a/modules/monitoring/application/controllers/SummaryController.php +++ b/modules/monitoring/application/controllers/SummaryController.php @@ -67,4 +67,3 @@ class Monitoring_SummaryController extends ModuleActionController } } - diff --git a/modules/monitoring/application/views/helpers/CommandArguments.php b/modules/monitoring/application/views/helpers/CommandArguments.php index c0dfc5cca..26c8bc291 100644 --- a/modules/monitoring/application/views/helpers/CommandArguments.php +++ b/modules/monitoring/application/views/helpers/CommandArguments.php @@ -16,4 +16,3 @@ class Zend_View_Helper_CommandArguments extends Zend_View_Helper_Abstract return "
\n" . implode("\n", $parts) . "
\n"; } } - diff --git a/modules/monitoring/application/views/helpers/MonitoringFlags.php b/modules/monitoring/application/views/helpers/MonitoringFlags.php index b13b4562c..fb6eafe8d 100644 --- a/modules/monitoring/application/views/helpers/MonitoringFlags.php +++ b/modules/monitoring/application/views/helpers/MonitoringFlags.php @@ -80,4 +80,4 @@ class Zend_View_Helper_MonitoringFlags extends Zend_View_Helper_Abstract return $out; } -} \ No newline at end of file +} diff --git a/modules/monitoring/application/views/helpers/Perfdata.php b/modules/monitoring/application/views/helpers/Perfdata.php index d1319721f..2b7e938a6 100644 --- a/modules/monitoring/application/views/helpers/Perfdata.php +++ b/modules/monitoring/application/views/helpers/Perfdata.php @@ -88,4 +88,3 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract return $result; } } - diff --git a/modules/monitoring/application/views/helpers/PluginOutput.php b/modules/monitoring/application/views/helpers/PluginOutput.php index 9596bbad8..53bd029b2 100644 --- a/modules/monitoring/application/views/helpers/PluginOutput.php +++ b/modules/monitoring/application/views/helpers/PluginOutput.php @@ -84,4 +84,3 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract return self::$purifier; } } - diff --git a/modules/monitoring/application/views/helpers/ResolveComments.php b/modules/monitoring/application/views/helpers/ResolveComments.php index e0432aaa1..62f524dd9 100644 --- a/modules/monitoring/application/views/helpers/ResolveComments.php +++ b/modules/monitoring/application/views/helpers/ResolveComments.php @@ -29,4 +29,3 @@ class Zend_View_Helper_ResolveComments extends Zend_View_Helper_Abstract return $ret; } } - diff --git a/modules/monitoring/bin/action/list.inc.php b/modules/monitoring/bin/action/list.inc.php index cb6debf1c..828368489 100644 --- a/modules/monitoring/bin/action/list.inc.php +++ b/modules/monitoring/bin/action/list.inc.php @@ -123,4 +123,3 @@ $out .= "\n"; $finished = true; } } - diff --git a/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php b/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php index 08c2d738c..eb656c429 100644 --- a/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php @@ -35,4 +35,4 @@ class StatusQuery extends Query } -} \ No newline at end of file +} diff --git a/modules/monitoring/library/Monitoring/Environment.php b/modules/monitoring/library/Monitoring/Environment.php index 8d4e4e5cf..338b5b38b 100644 --- a/modules/monitoring/library/Monitoring/Environment.php +++ b/modules/monitoring/library/Monitoring/Environment.php @@ -58,4 +58,3 @@ class Environment return CommandPipe::getInstance(self::config($env, 'commandPipe')); } } - diff --git a/modules/monitoring/library/Monitoring/Object/AbstractObject.php b/modules/monitoring/library/Monitoring/Object/AbstractObject.php index f8b415dc7..60716bcce 100644 --- a/modules/monitoring/library/Monitoring/Object/AbstractObject.php +++ b/modules/monitoring/library/Monitoring/Object/AbstractObject.php @@ -143,4 +143,3 @@ abstract class AbstractObject return $this; } } - diff --git a/modules/monitoring/library/Monitoring/Object/Host.php b/modules/monitoring/library/Monitoring/Object/Host.php index 9d9928522..88ce4ef46 100644 --- a/modules/monitoring/library/Monitoring/Object/Host.php +++ b/modules/monitoring/library/Monitoring/Object/Host.php @@ -55,4 +55,3 @@ class Host extends AbstractObject ))->where('host_name', $this->name1)->fetchRow(); } } - diff --git a/modules/monitoring/library/Monitoring/Object/Service.php b/modules/monitoring/library/Monitoring/Object/Service.php index 1753456cd..82bfa791a 100644 --- a/modules/monitoring/library/Monitoring/Object/Service.php +++ b/modules/monitoring/library/Monitoring/Object/Service.php @@ -66,4 +66,3 @@ class Service extends AbstractObject ->fetchRow(); } } - diff --git a/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php b/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php index dc35cd43c..7c478e6a0 100644 --- a/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php +++ b/modules/monitoring/library/Monitoring/Plugin/PerfdataSet.php @@ -66,4 +66,3 @@ class PerfdataSet } } } - diff --git a/modules/monitoring/test/php/application/controllers/ListControllerHostTest.php b/modules/monitoring/test/php/application/controllers/ListControllerHostTest.php index 16e8163b2..ec5c77b30 100644 --- a/modules/monitoring/test/php/application/controllers/ListControllerHostTest.php +++ b/modules/monitoring/test/php/application/controllers/ListControllerHostTest.php @@ -98,4 +98,4 @@ class ListControllerHostMySQLTest extends MonitoringControllerTest $this->assertEquals(2, $hostToTest->host_unhandled_service_count, 'Testing correct open problems count (backend '.$backend.')'); } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/application/controllers/ListControllerServiceTest.php b/modules/monitoring/test/php/application/controllers/ListControllerServiceTest.php index 39b73fda8..e4f9b3979 100644 --- a/modules/monitoring/test/php/application/controllers/ListControllerServiceTest.php +++ b/modules/monitoring/test/php/application/controllers/ListControllerServiceTest.php @@ -66,4 +66,4 @@ class ListControllerServiceMySQLTest extends MonitoringControllerTest } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php b/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php index b39af8e77..cca9951c5 100644 --- a/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php @@ -120,4 +120,3 @@ class AcknowledgeFormTest extends BaseFormTest ); } } - diff --git a/modules/monitoring/test/php/application/forms/Command/BaseFormTest.php b/modules/monitoring/test/php/application/forms/Command/BaseFormTest.php index 2312607d6..b2ee0356d 100644 --- a/modules/monitoring/test/php/application/forms/Command/BaseFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/BaseFormTest.php @@ -58,4 +58,4 @@ namespace Test\Monitoring\Forms\Command { } } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php b/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php index 8447d6528..3eedc454d 100644 --- a/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php @@ -66,4 +66,3 @@ class CommentFormTest extends BaseFormTest ); } } - diff --git a/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php b/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php index ba366e2f6..d5fd41390 100644 --- a/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php @@ -26,4 +26,3 @@ class CustomNotificationFormTest extends BaseFormTest $this->assertTrue($form->isSubmittedAndValid()); } } - diff --git a/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php b/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php index 6c04d8f1c..24abc39f3 100644 --- a/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php @@ -55,4 +55,3 @@ class DelayNotificationFormFormTest extends BaseFormTest $this->assertEquals('notBetween', $errors[0], "Assert correct error message"); } } - diff --git a/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php b/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php index 6403f8d8f..442a367b6 100644 --- a/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php @@ -100,4 +100,3 @@ class RescheduleNextCheckFormTest extends BaseFormTest $this->assertNotEquals($notes1, $notes2); } } - diff --git a/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php b/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php index 6e277a0d3..5cf27d395 100644 --- a/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php @@ -323,4 +323,3 @@ class ScheduleDowntimeFormTest extends BaseFormTest $this->assertEquals(3600, ($time2 - $time1)); } } - diff --git a/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php b/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php index 0bf710936..6074a90ac 100644 --- a/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php +++ b/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php @@ -101,4 +101,3 @@ class SubmitPassiveCheckResultFormTest extends BaseFormTest ); } } - diff --git a/modules/monitoring/test/php/application/views/helpers/MonitoringCommandsTest.php b/modules/monitoring/test/php/application/views/helpers/MonitoringCommandsTest.php index 542a42eb5..6b5173d07 100644 --- a/modules/monitoring/test/php/application/views/helpers/MonitoringCommandsTest.php +++ b/modules/monitoring/test/php/application/views/helpers/MonitoringCommandsTest.php @@ -113,4 +113,4 @@ class MonitoringCommandsTest extends \PHPUnit_Framework_TestCase { $nodes = $xpath->query('//button'); $this->assertEquals(20, $nodes->length); } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/application/views/helpers/MonitoringFlagsTest.php b/modules/monitoring/test/php/application/views/helpers/MonitoringFlagsTest.php index 4821df3b8..a9153787f 100644 --- a/modules/monitoring/test/php/application/views/helpers/MonitoringFlagsTest.php +++ b/modules/monitoring/test/php/application/views/helpers/MonitoringFlagsTest.php @@ -113,4 +113,4 @@ class MonitoringFlagsTest extends \PHPUnit_Framework_TestCase $this->assertEquals($expected, $returnArray); } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/library/Backend/Statusdat/ServicegroupsummaryQueryTest.php b/modules/monitoring/test/php/library/Backend/Statusdat/ServicegroupsummaryQueryTest.php index 9fe3445c3..799cb633d 100644 --- a/modules/monitoring/test/php/library/Backend/Statusdat/ServicegroupsummaryQueryTest.php +++ b/modules/monitoring/test/php/library/Backend/Statusdat/ServicegroupsummaryQueryTest.php @@ -174,4 +174,3 @@ class ServicegroupsummaryqueryTest extends \PHPUnit_Framework_TestCase )); } } - diff --git a/modules/monitoring/test/php/library/Command/MetaTest.php b/modules/monitoring/test/php/library/Command/MetaTest.php index c86f24efa..8341915fe 100644 --- a/modules/monitoring/test/php/library/Command/MetaTest.php +++ b/modules/monitoring/test/php/library/Command/MetaTest.php @@ -182,4 +182,4 @@ class MetaTest extends \PHPUnit_Framework_TestCase $commands = $meta->getCommandForObject($test, Meta::TYPE_FULL); } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/MonitoringControllerTest.php b/modules/monitoring/test/php/testlib/MonitoringControllerTest.php index 436d50b90..0c8f0a1d2 100644 --- a/modules/monitoring/test/php/testlib/MonitoringControllerTest.php +++ b/modules/monitoring/test/php/testlib/MonitoringControllerTest.php @@ -280,4 +280,4 @@ namespace Test\Monitoring\Testlib } } } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/DataSourceTestSetup.php b/modules/monitoring/test/php/testlib/datasource/DataSourceTestSetup.php index 171158c80..3460f112f 100644 --- a/modules/monitoring/test/php/testlib/datasource/DataSourceTestSetup.php +++ b/modules/monitoring/test/php/testlib/datasource/DataSourceTestSetup.php @@ -127,4 +127,4 @@ class DataSourceTestSetup implements SetupStrategy, InsertionStrategy { $this->insertionStrategy->setConnection($connection); } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/TestFixture.php b/modules/monitoring/test/php/testlib/datasource/TestFixture.php index 3e03b853d..4cf9e9fff 100644 --- a/modules/monitoring/test/php/testlib/datasource/TestFixture.php +++ b/modules/monitoring/test/php/testlib/datasource/TestFixture.php @@ -558,4 +558,4 @@ class TestFixture $this->servicegroups[$groupname]["members"][] = &$service; return new TestFixtureObjectClosure($this, $serviceHostPair); } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/schemes/ObjectsCacheTemplates.php b/modules/monitoring/test/php/testlib/datasource/schemes/ObjectsCacheTemplates.php index 78305a13f..6369da550 100644 --- a/modules/monitoring/test/php/testlib/datasource/schemes/ObjectsCacheTemplates.php +++ b/modules/monitoring/test/php/testlib/datasource/schemes/ObjectsCacheTemplates.php @@ -97,4 +97,4 @@ EOF; } EOF; -}; \ No newline at end of file +}; diff --git a/modules/monitoring/test/php/testlib/datasource/schemes/StatusdatTemplates.php b/modules/monitoring/test/php/testlib/datasource/schemes/StatusdatTemplates.php index a0474f19f..b5a412ef0 100644 --- a/modules/monitoring/test/php/testlib/datasource/schemes/StatusdatTemplates.php +++ b/modules/monitoring/test/php/testlib/datasource/schemes/StatusdatTemplates.php @@ -171,4 +171,4 @@ EOF; comment_data={{TEXT}} } EOF; -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/strategies/InsertionStrategy.php b/modules/monitoring/test/php/testlib/datasource/strategies/InsertionStrategy.php index fe1606a85..267a8d642 100644 --- a/modules/monitoring/test/php/testlib/datasource/strategies/InsertionStrategy.php +++ b/modules/monitoring/test/php/testlib/datasource/strategies/InsertionStrategy.php @@ -30,4 +30,4 @@ interface InsertionStrategy { * @param TestFixture $fixture */ public function insert(TestFixture $fixture); -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/strategies/MySQLSetupStrategy.php b/modules/monitoring/test/php/testlib/datasource/strategies/MySQLSetupStrategy.php index efecae53d..e617b0cb0 100644 --- a/modules/monitoring/test/php/testlib/datasource/strategies/MySQLSetupStrategy.php +++ b/modules/monitoring/test/php/testlib/datasource/strategies/MySQLSetupStrategy.php @@ -79,4 +79,4 @@ class MySQLSetupStrategy implements SetupStrategy { $connection->query("DROP TABLE ".$table[0]); } } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/strategies/PDOInsertionStrategy.php b/modules/monitoring/test/php/testlib/datasource/strategies/PDOInsertionStrategy.php index 6b45e7ef6..eea78ea58 100644 --- a/modules/monitoring/test/php/testlib/datasource/strategies/PDOInsertionStrategy.php +++ b/modules/monitoring/test/php/testlib/datasource/strategies/PDOInsertionStrategy.php @@ -300,4 +300,4 @@ class PDOInsertionStrategy $this->objectId++; } } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/strategies/PgSQLSetupStrategy.php b/modules/monitoring/test/php/testlib/datasource/strategies/PgSQLSetupStrategy.php index ca67c0b69..ac45d78c7 100644 --- a/modules/monitoring/test/php/testlib/datasource/strategies/PgSQLSetupStrategy.php +++ b/modules/monitoring/test/php/testlib/datasource/strategies/PgSQLSetupStrategy.php @@ -74,4 +74,4 @@ class PgSQLSetupStrategy implements SetupStrategy { $connection->query('DROP TABLE '.$table['table_name']); } } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/strategies/SetupStrategy.php b/modules/monitoring/test/php/testlib/datasource/strategies/SetupStrategy.php index a70ed0a90..1661aecab 100644 --- a/modules/monitoring/test/php/testlib/datasource/strategies/SetupStrategy.php +++ b/modules/monitoring/test/php/testlib/datasource/strategies/SetupStrategy.php @@ -32,4 +32,4 @@ interface SetupStrategy { * @param mixed $resource */ public function teardown($resource = null); -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatInsertionStrategy.php b/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatInsertionStrategy.php index 9bdc3a7f2..840e83ed1 100644 --- a/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatInsertionStrategy.php +++ b/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatInsertionStrategy.php @@ -295,4 +295,4 @@ class StatusdatInsertionStrategy implements InsertionStrategy { $this->statusDat .= "\n".$commentDefinition; } } -} \ No newline at end of file +} diff --git a/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatSetupStrategy.php b/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatSetupStrategy.php index 0478b30da..b8c5d061c 100644 --- a/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatSetupStrategy.php +++ b/modules/monitoring/test/php/testlib/datasource/strategies/StatusdatSetupStrategy.php @@ -99,4 +99,4 @@ class StatusdatSetupStrategy implements SetupStrategy { unlink($resource["objects_file"]); } } -} \ No newline at end of file +}