mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
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\'
This commit is contained in:
parent
ab1673f198
commit
290c8c5225
@ -57,4 +57,4 @@ class ConfigurationController extends ActionController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreEnd
|
// @codingStandardsIgnoreEnd
|
||||||
|
@ -107,4 +107,4 @@ class ModulesController extends ActionController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreEnd
|
// @codingStandardsIgnoreEnd
|
||||||
|
@ -148,4 +148,4 @@ class StaticController extends ActionController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreEnd
|
// @codingStandardsIgnoreEnd
|
||||||
|
@ -38,4 +38,4 @@ class Zend_View_Helper_Auth extends Zend_View_Helper_Abstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreEnd
|
// @codingStandardsIgnoreEnd
|
||||||
|
@ -52,4 +52,4 @@ class Zend_View_Helper_FormDate extends \Zend_View_Helper_FormText
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -52,4 +52,4 @@ class Zend_View_Helper_FormDateTime extends \Zend_View_Helper_FormText
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -52,4 +52,4 @@ class Zend_View_Helper_FormNumber extends \Zend_View_Helper_FormText
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -52,4 +52,4 @@ class Zend_View_Helper_FormTime extends \Zend_View_Helper_FormText
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -35,4 +35,4 @@ class Zend_View_Helper_Format extends Zend_View_Helper_Abstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -52,4 +52,4 @@ class Zend_View_Helper_Img extends Zend_View_Helper_Abstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStart
|
// @codingStandardsIgnoreStart
|
||||||
|
@ -42,4 +42,4 @@ class Zend_View_Helper_QUrl extends Zend_View_Helper_Abstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -121,4 +121,4 @@ class Zend_View_Helper_Qlink extends Zend_View_Helper_Abstract
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -71,4 +71,4 @@ class Zend_View_Helper_TimeSince extends Zend_View_Helper_Abstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -140,4 +140,4 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -137,4 +137,4 @@ class Zend_View_Helper_Container extends Zend_View_Helper_Abstract
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -38,4 +38,3 @@ class Backend
|
|||||||
return self::$instances[$name];
|
return self::$instances[$name];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,4 +43,3 @@ class Csv
|
|||||||
return $csv;
|
return $csv;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,4 +115,4 @@ class SessionStore implements SplObserver, LoadInterface
|
|||||||
{
|
{
|
||||||
return $this->session->get(self::DEFAULT_SESSION_NAMESPACE, array());
|
return $this->session->get(self::DEFAULT_SESSION_NAMESPACE, array());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,4 +92,4 @@ class Icinga_Web_Paginator_ScrollingStyle_SlidingWithBorder implements Zend_Pagi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreEnd
|
// @codingStandardsIgnoreEnd
|
||||||
|
@ -61,4 +61,3 @@ class View extends ZfViewAbstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ function url($path = null, $params = null)
|
|||||||
}
|
}
|
||||||
return $url;
|
return $url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,4 +7,3 @@ use Zend_View_Stream as ZfViewStream;
|
|||||||
class ViewStream extends ZfViewStream
|
class ViewStream extends ZfViewStream
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,4 +192,3 @@ class Dashboard extends AbstractWidget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,4 +114,3 @@ class Component
|
|||||||
return $htm;
|
return $htm;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,4 +102,3 @@ class Pane
|
|||||||
return implode('', $this->components);
|
return implode('', $this->components);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,4 +79,3 @@ class Form extends AbstractWidget
|
|||||||
return (string) $this->form;
|
return (string) $this->form;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -777,4 +777,4 @@ class Monitoring_CommandController extends ModuleActionController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreStop
|
// @codingStandardsIgnoreStop
|
||||||
|
@ -509,4 +509,4 @@ class Monitoring_ShowController extends ModuleActionController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreEnd
|
// @codingStandardsIgnoreEnd
|
||||||
|
@ -67,4 +67,3 @@ class Monitoring_SummaryController extends ModuleActionController
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ class Zend_View_Helper_CommandArguments extends Zend_View_Helper_Abstract
|
|||||||
return "<dl>\n" . implode("\n", $parts) . "</dl>\n";
|
return "<dl>\n" . implode("\n", $parts) . "</dl>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,4 +80,4 @@ class Zend_View_Helper_MonitoringFlags extends Zend_View_Helper_Abstract
|
|||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,4 +88,3 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,4 +84,3 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
|
|||||||
return self::$purifier;
|
return self::$purifier;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,4 +29,3 @@ class Zend_View_Helper_ResolveComments extends Zend_View_Helper_Abstract
|
|||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,4 +123,3 @@ $out .= "\n";
|
|||||||
$finished = true;
|
$finished = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,4 +35,4 @@ class StatusQuery extends Query
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -58,4 +58,3 @@ class Environment
|
|||||||
return CommandPipe::getInstance(self::config($env, 'commandPipe'));
|
return CommandPipe::getInstance(self::config($env, 'commandPipe'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,4 +143,3 @@ abstract class AbstractObject
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,4 +55,3 @@ class Host extends AbstractObject
|
|||||||
))->where('host_name', $this->name1)->fetchRow();
|
))->where('host_name', $this->name1)->fetchRow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,4 +66,3 @@ class Service extends AbstractObject
|
|||||||
->fetchRow();
|
->fetchRow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,4 +66,3 @@ class PerfdataSet
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,4 +98,4 @@ class ListControllerHostMySQLTest extends MonitoringControllerTest
|
|||||||
$this->assertEquals(2, $hostToTest->host_unhandled_service_count, 'Testing correct open problems count (backend '.$backend.')');
|
$this->assertEquals(2, $hostToTest->host_unhandled_service_count, 'Testing correct open problems count (backend '.$backend.')');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -66,4 +66,4 @@ class ListControllerServiceMySQLTest extends MonitoringControllerTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -120,4 +120,3 @@ class AcknowledgeFormTest extends BaseFormTest
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,4 +58,4 @@ namespace Test\Monitoring\Forms\Command {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -66,4 +66,3 @@ class CommentFormTest extends BaseFormTest
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ class CustomNotificationFormTest extends BaseFormTest
|
|||||||
$this->assertTrue($form->isSubmittedAndValid());
|
$this->assertTrue($form->isSubmittedAndValid());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,4 +55,3 @@ class DelayNotificationFormFormTest extends BaseFormTest
|
|||||||
$this->assertEquals('notBetween', $errors[0], "Assert correct error message");
|
$this->assertEquals('notBetween', $errors[0], "Assert correct error message");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,4 +100,3 @@ class RescheduleNextCheckFormTest extends BaseFormTest
|
|||||||
$this->assertNotEquals($notes1, $notes2);
|
$this->assertNotEquals($notes1, $notes2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -323,4 +323,3 @@ class ScheduleDowntimeFormTest extends BaseFormTest
|
|||||||
$this->assertEquals(3600, ($time2 - $time1));
|
$this->assertEquals(3600, ($time2 - $time1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,4 +101,3 @@ class SubmitPassiveCheckResultFormTest extends BaseFormTest
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,4 +113,4 @@ class MonitoringCommandsTest extends \PHPUnit_Framework_TestCase {
|
|||||||
$nodes = $xpath->query('//button');
|
$nodes = $xpath->query('//button');
|
||||||
$this->assertEquals(20, $nodes->length);
|
$this->assertEquals(20, $nodes->length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -113,4 +113,4 @@ class MonitoringFlagsTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$this->assertEquals($expected, $returnArray);
|
$this->assertEquals($expected, $returnArray);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -174,4 +174,3 @@ class ServicegroupsummaryqueryTest extends \PHPUnit_Framework_TestCase
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,4 +182,4 @@ class MetaTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$commands = $meta->getCommandForObject($test, Meta::TYPE_FULL);
|
$commands = $meta->getCommandForObject($test, Meta::TYPE_FULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -280,4 +280,4 @@ namespace Test\Monitoring\Testlib
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,4 +127,4 @@ class DataSourceTestSetup implements SetupStrategy, InsertionStrategy
|
|||||||
{
|
{
|
||||||
$this->insertionStrategy->setConnection($connection);
|
$this->insertionStrategy->setConnection($connection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -558,4 +558,4 @@ class TestFixture
|
|||||||
$this->servicegroups[$groupname]["members"][] = &$service;
|
$this->servicegroups[$groupname]["members"][] = &$service;
|
||||||
return new TestFixtureObjectClosure($this, $serviceHostPair);
|
return new TestFixtureObjectClosure($this, $serviceHostPair);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -97,4 +97,4 @@ EOF;
|
|||||||
}
|
}
|
||||||
EOF;
|
EOF;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -171,4 +171,4 @@ EOF;
|
|||||||
comment_data={{TEXT}}
|
comment_data={{TEXT}}
|
||||||
}
|
}
|
||||||
EOF;
|
EOF;
|
||||||
}
|
}
|
||||||
|
@ -30,4 +30,4 @@ interface InsertionStrategy {
|
|||||||
* @param TestFixture $fixture
|
* @param TestFixture $fixture
|
||||||
*/
|
*/
|
||||||
public function insert(TestFixture $fixture);
|
public function insert(TestFixture $fixture);
|
||||||
}
|
}
|
||||||
|
@ -79,4 +79,4 @@ class MySQLSetupStrategy implements SetupStrategy {
|
|||||||
$connection->query("DROP TABLE ".$table[0]);
|
$connection->query("DROP TABLE ".$table[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -300,4 +300,4 @@ class PDOInsertionStrategy
|
|||||||
$this->objectId++;
|
$this->objectId++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -74,4 +74,4 @@ class PgSQLSetupStrategy implements SetupStrategy {
|
|||||||
$connection->query('DROP TABLE '.$table['table_name']);
|
$connection->query('DROP TABLE '.$table['table_name']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,4 +32,4 @@ interface SetupStrategy {
|
|||||||
* @param mixed $resource
|
* @param mixed $resource
|
||||||
*/
|
*/
|
||||||
public function teardown($resource = null);
|
public function teardown($resource = null);
|
||||||
}
|
}
|
||||||
|
@ -295,4 +295,4 @@ class StatusdatInsertionStrategy implements InsertionStrategy {
|
|||||||
$this->statusDat .= "\n".$commentDefinition;
|
$this->statusDat .= "\n".$commentDefinition;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -99,4 +99,4 @@ class StatusdatSetupStrategy implements SetupStrategy {
|
|||||||
unlink($resource["objects_file"]);
|
unlink($resource["objects_file"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user