CS: Add newline at end of file

find application/ library/ test/ modules/ -name *.php | xargs sed -i '$a\'
This commit is contained in:
Eric Lippmann 2013-09-04 18:28:35 +02:00
parent 35fd9fd391
commit b5e93afd86
22 changed files with 22 additions and 22 deletions

View File

@ -72,4 +72,4 @@ class NullStore implements LoadInterface, FlushObserverInterface
{ {
return null; return null;
} }
} }

View File

@ -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');
} }
} }

View File

@ -47,4 +47,4 @@ abstract class LibraryLoader {
public static function requireLibrary() public static function requireLibrary()
{ {
} }
} }

View File

@ -90,4 +90,4 @@ class ChangeSetTest extends PHPUnit_Framework_TestCase
$changeSet->clear(); $changeSet->clear();
$this->assertFalse($changeSet->hasChanges()); $this->assertFalse($changeSet->hasChanges());
} }
} }

View File

@ -127,4 +127,4 @@ class IniStoreTest extends PHPUnit_Framework_TestCase
{ {
$iniStore = new IniStore('/path/does/not/exist'); $iniStore = new IniStore('/path/does/not/exist');
} }
} }

View File

@ -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();
} }
} }

View File

@ -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");
} }
} }

View File

@ -58,4 +58,4 @@ class DateFormatValidatorTest extends PHPUnit_Framework_TestCase
) )
); );
} }
} }

View File

@ -58,4 +58,4 @@ class TimeFormatValidatorTest extends PHPUnit_Framework_TestCase
) )
); );
} }
} }

View File

@ -62,4 +62,4 @@ class WritablePathValidatorTest extends PHPUnit_Framework_TestCase
) )
); );
} }
} }

View File

@ -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');
} }
} }

View File

@ -86,4 +86,4 @@ class ConfigurationTabBuilderTest extends \PHPUnit_Framework_TestCase
$this->assertCount(5, $builder->getTabs()); $this->assertCount(5, $builder->getTabs());
} }
} }

View File

@ -77,4 +77,4 @@ class ConfigurationTabTest extends \PHPUnit_Framework_TestCase
$tab->setUrl('/ding/dong'); $tab->setUrl('/ding/dong');
$tab->getTab(); $tab->getTab();
} }
} }

View File

@ -119,4 +119,4 @@ class NotificationTest extends \PHPUnit_Framework_TestCase
$notify->setCliFlag(false); $notify->setCliFlag(false);
$this->assertFalse($notify->getCliFlag()); $this->assertFalse($notify->getCliFlag());
} }
} }

View File

@ -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());
} }
} }

View File

@ -321,4 +321,4 @@ class UrlTest extends \PHPUnit_Framework_TestCase
$url = Url::fromPath('/my/test/url.html?param=val&param2=val2&param3=val3', array(), new RequestMock()); $url = Url::fromPath('/my/test/url.html?param=val&param2=val2&param3=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");
} }
} }

View File

@ -47,4 +47,4 @@ class ViewMock extends Zend_View_Abstract
} }
} }
// @codingStandardsIgnoreEnd // @codingStandardsIgnoreEnd

View File

@ -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
); );
} }
} }

View File

@ -85,4 +85,4 @@ class OutputFormatTest extends PHPUnit_Framework_TestCase
); );
Url::$overwrittenRequest = null; Url::$overwrittenRequest = null;
} }
} }

View File

@ -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);
} }
} }

View File

@ -61,4 +61,4 @@ namespace Tests\Icinga\Regression
} }
} }
} }

View File

@ -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');
} }
} }