mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Add newline to end of files without one
This commit is contained in:
parent
dccde5f512
commit
b8e86ae261
@ -129,4 +129,4 @@ class CMSBatchAction_DeleteFromLive extends CMSBatchAction {
|
||||
function applicablePages($ids) {
|
||||
return $this->applicablePagesHelper($ids, 'canDelete', false, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -141,4 +141,4 @@ class CMSPageAddController extends CMSPageEditController {
|
||||
return $this->redirect(Controller::join_links(singleton('CMSPageEditController')->Link('show'), $record->ID));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -16,4 +16,4 @@ class CMSPageEditController extends CMSMain {
|
||||
$crumbs->shift();
|
||||
return $crumbs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -376,4 +376,4 @@ class CMSPageHistoryController extends CMSMain {
|
||||
$crumbs->shift();
|
||||
return $crumbs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -22,4 +22,4 @@ class CMSPageSettingsController extends CMSMain {
|
||||
$crumbs->shift();
|
||||
return $crumbs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -46,4 +46,4 @@ class CMSPagesController extends CMSMain {
|
||||
public function currentPageID() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -215,4 +215,4 @@ class CMSSiteTreeFilter_Search extends CMSSiteTreeFilter {
|
||||
|
||||
return $ids;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -49,4 +49,4 @@ class Folder_UnusedAssetsField extends CompositeField {
|
||||
$field = new GridField('AssetList', false, $files);
|
||||
return $field;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,4 +78,5 @@ class SiteTreeURLSegmentField extends TextField {
|
||||
function Type() {
|
||||
return 'text sitetreeurlsegment';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -11,4 +11,4 @@ abstract class SiteTreeDecorator extends SiteTreeExtension {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -26,4 +26,4 @@ abstract class SiteTreeExtension extends DataExtension {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -47,4 +47,4 @@ class ContentControllerSearchExtension extends Extension {
|
||||
);
|
||||
return $this->owner->customise($data)->renderWith(array('Page_results', 'Page'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -22,4 +22,4 @@ class FilesystemSyncTask extends BuildTask {
|
||||
echo Filesystem::sync($folderID, !($request->getVar('skipSyncLinkTracking'))) . "\n";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -44,4 +44,4 @@ class MigrateSiteTreeLinkingTask extends BuildTask {
|
||||
echo "Rewrote $links link(s) on $pages page(s) to use shortcodes.\n";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -142,4 +142,4 @@ class CMSPageHistoryControllerTest extends FunctionalTest {
|
||||
$this->assertThat($checkbox[0], $this->logicalNot($this->isNull()));
|
||||
$this->assertEquals('checked', (string) $checkbox[0]->attributes()->checked);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -84,4 +84,4 @@ class CMSSiteTreeFilterTest extends SapphireTest {
|
||||
|
||||
$this->assertTrue($f->isPageIncluded($deletedPage));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,4 +33,4 @@ class ContentControllerPermissionsTest extends FunctionalTest {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -14,4 +14,4 @@ class ContentControllerSearchExtensionTest extends SapphireTest {
|
||||
|
||||
if (get_class($form) == 'SearchForm') $this->assertEquals(array('File'), $form->getClassesToSearch());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -141,4 +141,4 @@ class ContentControllerTest_Page_Controller extends Page_Controller {
|
||||
return $this->index();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -234,4 +234,4 @@ class ModelAsControllerTest extends FunctionalTest {
|
||||
$this->assertEquals(false, $response );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -15,4 +15,4 @@ class RootURLControllerTest extends SapphireTest {
|
||||
$this->assertEquals('home', RootURLController::get_homepage_link());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -51,4 +51,4 @@ class SilverStripeNavigatorTest_ProtectedTestItem extends SilverStripeNavigatorI
|
||||
if(!$member) $member = Member::currentUser();
|
||||
return Permission::checkMember($member, 'ADMIN');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -50,4 +50,4 @@ class RedirectorPageTest extends FunctionalTest {
|
||||
$page->write();
|
||||
$this->assertEquals($page->ExternalURL, 'http://google.com', 'onBeforeWrite will not double prefix if written again!');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -945,4 +945,4 @@ class SiteTreeTest_StageStatusInherit extends SiteTree implements TestOnly {
|
||||
$flags['inherited-class'] = "InheritedTitle";
|
||||
return $flags;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -82,4 +82,4 @@ class ReportTest_FakeTest2 extends SS_Report implements TestOnly {
|
||||
function sort() {
|
||||
return 98;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -39,4 +39,4 @@ class SideReportTest extends SapphireTest {
|
||||
|
||||
SS_DateTime::clear_mock_now();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ class CMSMainSearchFormTest extends FunctionalTest {
|
||||
}
|
||||
return $titles;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -157,4 +157,4 @@ class FilesystemPublisherTest extends SapphireTest {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -77,4 +77,4 @@ class MigrateSiteTreeLinkingTaskTest extends SapphireTest {
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -24,4 +24,4 @@ class WidgetControllerTestPage_Controller extends Page_Controller implements Tes
|
||||
|
||||
return new SSViewer($templates);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user