mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
CS: Add newline at end of file
find application/ library/ test/ modules/ -name *.php | xargs sed -i '$a\'
This commit is contained in:
parent
35fd9fd391
commit
b5e93afd86
@ -72,4 +72,4 @@ class NullStore implements LoadInterface, FlushObserverInterface
|
|||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,4 +50,4 @@ class IndexControllerTest extends \Zend_Test_PHPUnit_ControllerTestCase {
|
|||||||
$this->dispatch('/index/welcome');
|
$this->dispatch('/index/welcome');
|
||||||
$this->assertController('error');
|
$this->assertController('error');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,4 +47,4 @@ abstract class LibraryLoader {
|
|||||||
public static function requireLibrary()
|
public static function requireLibrary()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,4 +90,4 @@ class ChangeSetTest extends PHPUnit_Framework_TestCase
|
|||||||
$changeSet->clear();
|
$changeSet->clear();
|
||||||
$this->assertFalse($changeSet->hasChanges());
|
$this->assertFalse($changeSet->hasChanges());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,4 +127,4 @@ class IniStoreTest extends PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$iniStore = new IniStore('/path/does/not/exist');
|
$iniStore = new IniStore('/path/does/not/exist');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,4 +90,4 @@ class PreferencesTest extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertCount(1, $preferences->getChangeSet()->getUpdate());
|
$this->assertCount(1, $preferences->getChangeSet()->getUpdate());
|
||||||
$preferences->commit();
|
$preferences->commit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -55,4 +55,4 @@ class DimensionTest extends \PHPUnit_Framework_TestCase {
|
|||||||
$d = new Dimension(-20, Dimension::UNIT_PX);
|
$d = new Dimension(-20, Dimension::UNIT_PX);
|
||||||
$this->assertFalse($d->isDefined(), "Asserting a negative dimension to be considered invalid");
|
$this->assertFalse($d->isDefined(), "Asserting a negative dimension to be considered invalid");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,4 +58,4 @@ class DateFormatValidatorTest extends PHPUnit_Framework_TestCase
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,4 +58,4 @@ class TimeFormatValidatorTest extends PHPUnit_Framework_TestCase
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,4 +62,4 @@ class WritablePathValidatorTest extends PHPUnit_Framework_TestCase
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,4 +106,4 @@ class FormTest extends Zend_Test_PHPUnit_ControllerTestCase
|
|||||||
$this->assertTrue($form->isSubmittedAndValid(),
|
$this->assertTrue($form->isSubmittedAndValid(),
|
||||||
'Asserting that it is possible to detect a form as submitted');
|
'Asserting that it is possible to detect a form as submitted');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -86,4 +86,4 @@ class ConfigurationTabBuilderTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$this->assertCount(5, $builder->getTabs());
|
$this->assertCount(5, $builder->getTabs());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,4 +77,4 @@ class ConfigurationTabTest extends \PHPUnit_Framework_TestCase
|
|||||||
$tab->setUrl('/ding/dong');
|
$tab->setUrl('/ding/dong');
|
||||||
$tab->getTab();
|
$tab->getTab();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,4 +119,4 @@ class NotificationTest extends \PHPUnit_Framework_TestCase
|
|||||||
$notify->setCliFlag(false);
|
$notify->setCliFlag(false);
|
||||||
$this->assertFalse($notify->getCliFlag());
|
$this->assertFalse($notify->getCliFlag());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,4 +77,4 @@ class QueryAdapterTest extends \PHPUnit_Framework_TestCase
|
|||||||
$adapter = new QueryAdapter($query);
|
$adapter = new QueryAdapter($query);
|
||||||
$this->assertEquals(30, $adapter->count());
|
$this->assertEquals(30, $adapter->count());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -321,4 +321,4 @@ class UrlTest extends \PHPUnit_Framework_TestCase
|
|||||||
$url = Url::fromPath('/my/test/url.html?param=val¶m2=val2¶m3=val3', array(), new RequestMock());
|
$url = Url::fromPath('/my/test/url.html?param=val¶m2=val2¶m3=val3', array(), new RequestMock());
|
||||||
$this->assertEquals($url->getAbsoluteUrl(), (string) $url, "Asserting whether toString returns the absolute Url");
|
$this->assertEquals($url->getAbsoluteUrl(), (string) $url, "Asserting whether toString returns the absolute Url");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,4 +47,4 @@ class ViewMock extends Zend_View_Abstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @codingStandardsIgnoreEnd
|
// @codingStandardsIgnoreEnd
|
||||||
|
@ -161,4 +161,4 @@ class TabTest extends PHPUnit_Framework_TestCase
|
|||||||
'Asserting an url being rendered inside an HTML anchor. got ' . $html
|
'Asserting an url being rendered inside an HTML anchor. got ' . $html
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,4 +85,4 @@ class OutputFormatTest extends PHPUnit_Framework_TestCase
|
|||||||
);
|
);
|
||||||
Url::$overwrittenRequest = null;
|
Url::$overwrittenRequest = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,4 +108,4 @@ class TabsTest extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertContains('<li >Tab 2</li>', $html, 'Asserting tab 2 being rendered correctly ' . $html);
|
$this->assertContains('<li >Tab 2</li>', $html, 'Asserting tab 2 being rendered correctly ' . $html);
|
||||||
$this->assertContains('class="dropdown ', 'Asserting the dropdown to be rendered, got ' . $html);
|
$this->assertContains('class="dropdown ', 'Asserting the dropdown to be rendered, got ' . $html);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,4 +61,4 @@ namespace Tests\Icinga\Regression
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -62,4 +62,4 @@ class Regression4595 extends BaseTestCase {
|
|||||||
$writers = $logger->getWriters();
|
$writers = $logger->getWriters();
|
||||||
$this->assertEquals(0, count($writers), 'Assert that loggers aren\'t registered when "enable" is set to false');
|
$this->assertEquals(0, count($writers), 'Assert that loggers aren\'t registered when "enable" is set to false');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user