Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Ensure one new line at the end of each file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jun 11, 2014
1 parent b28667c commit 4965289
Show file tree
Hide file tree
Showing 112 changed files with 59 additions and 245 deletions.
2 changes: 1 addition & 1 deletion core/AppComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ class AppComponent extends MIDAS_GlobalComponent
{


}
}
1 change: 0 additions & 1 deletion core/controllers/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,3 @@ public function liveAction()
echo JsonComponent::encode($results);
}
} // end class

1 change: 0 additions & 1 deletion core/controllers/ShareController.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,4 +379,3 @@ function linksAction()
$this->view->downloadUrl = $baseUrl.'/download/'.$type.'/'.$id.'/'.urlencode($name);
}
} // end class

2 changes: 1 addition & 1 deletion core/controllers/components/DemoComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ private function _rrmdir($dir)
reset($objects);
rmdir($dir);
}
} // end class
} // end class
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ static public function isDebug()
return false;
}
}
} // end class
} // end class
2 changes: 1 addition & 1 deletion core/controllers/components/SortdaoComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ public function arrayUniqueDao($array, $keep_key_assoc = false)

return $keep_key_assoc ? $array : array_values($array);
}
} // end class
} // end class
2 changes: 1 addition & 1 deletion core/models/pdo/CommunityModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ function getCommunitiesFromSearch($search, $userDao, $limit = 14, $group = true,
return $return;
} // end getCommunitiesFromSearch()

} // end class
} // end class
2 changes: 1 addition & 1 deletion core/models/pdo/SettingModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ function getDaoByName($name, $module = 'core')
$dao = $this->initDao(ucfirst($this->_name), $row);
return $dao;
}
} // end class
} // end class
2 changes: 1 addition & 1 deletion core/tests/models/base/FeedpolicyuserModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ public function testCreatePolicyAndGetPolicy()
$policy = $this->Feedpolicyuser->getPolicy($usersFile[0], $feedsFile[5]);
$this->assertNotEquals(false, $policy);
}
}
}
2 changes: 1 addition & 1 deletion core/tests/models/dao/FeedDaoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ public function testGetRessource()
}
}
}
}
}
2 changes: 1 addition & 1 deletion core/tests/models/dao/UserDaoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ public function testGetFullName()
$userDao = $this->User->load($usersFile[0]->getKey());
$this->assertEquals($userDao->getFullName(), $usersFile[0]->firstname." ".$usersFile[0]->lastname);
}
}
}
2 changes: 0 additions & 2 deletions core/views/admin/unavailable.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ PURPOSE. See the above copyright notices for more information.
?>
<br/>
<b>Administration unavailable in demo mode</b>


2 changes: 1 addition & 1 deletion core/views/admin/upgrade.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ if(count($this->modules) == 0)
<input type='submit' class="globalButton" value="Upgrade"/>
</form>
<br/><br/>
<a href="<?php echo $this->webroot?>/admin/migratemidas2">Upgrade from MIDAS2</a>
<a href="<?php echo $this->webroot?>/admin/migratemidas2">Upgrade from MIDAS2</a>
6 changes: 0 additions & 6 deletions core/views/apikey/usertab.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,3 @@ else
<?php echo $this->form['createAPIKey']?>
</div>
</form>






4 changes: 0 additions & 4 deletions core/views/browse/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,3 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/common/common.bro
</div>
</div>
</div>




1 change: 0 additions & 1 deletion core/views/browse/selectitem.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/b
<input type="submit" disabled name='selectElements' id='selectElements' value="<?php echo $this->t('Select')?>"/>
</form>
</div>

4 changes: 0 additions & 4 deletions core/views/community/create.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,3 @@ PURPOSE. See the above copyright notices for more information.
<?php echo $this->form['submit']?>
</div>
</form>




1 change: 0 additions & 1 deletion core/views/community/invitation.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ echo '<script type="text/javascript" src="'.$this->coreWebroot.'/public/js/commu
<input type='hidden' id='live_invitation_search_value' value='init' />
<div id='searchInvitationLoading' style='display:none'></div>
</div>

2 changes: 1 addition & 1 deletion core/views/element/feed.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ PURPOSE. See the above copyright notices for more information.
echo "</div>";
}
echo "</div>";


4 changes: 0 additions & 4 deletions core/views/feed/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,3 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/feed/feed.index.j
?>
</div>
</div>




2 changes: 1 addition & 1 deletion core/views/folder/createfolder.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/j
<div>
<input type='submit' name='createFolder' value='<?php echo $this->t('Create')?>'/>
</div>
</form>
</form>
2 changes: 1 addition & 1 deletion core/views/folder/edit.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/f
<div>
<?php echo $this->form['submit']?>
</div>
</form>
</form>
2 changes: 1 addition & 1 deletion core/views/install/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ PURPOSE. See the above copyright notices for more information.
}
?>

</div>
</div>
2 changes: 1 addition & 1 deletion core/views/install/step2.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ PURPOSE. See the above copyright notices for more information.
?>


</div>
</div>
2 changes: 1 addition & 1 deletion core/views/item/editmetadata.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/i

<div id="jsonMetadata" style ='display:none;'>
<?php echo $this->jsonMetadataType?>
</div>
</div>
1 change: 0 additions & 1 deletion core/views/scripts/error/error.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ PURPOSE. See the above copyright notices for more information.
?>
<h1>An error occurred</h1>
<?php echo $this->message ?>

4 changes: 0 additions & 4 deletions core/views/search/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,3 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/search/search.ind
</ul>
</div>
</div>




1 change: 0 additions & 1 deletion core/views/share/dialog.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,3 @@ echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/s
<div style="display: none;" class="jsonShareContent">
<?php echo $this->jsonShare?>
</div>

1 change: 0 additions & 1 deletion core/views/share/links.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ echo '<script type="text/javascript" src="'.$this->coreWebroot.'/public/js/share
<div style="float: right;">
<input type='button' class='globalButton linksDone' value='Done' />
</div>

4 changes: 0 additions & 4 deletions core/views/user/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,3 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for
?>
</div>
</div>




3 changes: 0 additions & 3 deletions core/views/user/manage.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,3 @@ if(!empty($this->userCommunities))
</div>
</div>
</div>



2 changes: 1 addition & 1 deletion core/views/user/recoverpassword.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/u
<div>
<input type='submit' name='createFolder' value='<?php echo $this->t('Recover')?>'/>
</div>
</form>
</form>
2 changes: 1 addition & 1 deletion core/views/user/settings.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/user/user.setting
</div>
<div style="display: none;" class="jsonSettingsContent">
<?php echo $this->jsonSettings?>
</div>
</div>
2 changes: 1 addition & 1 deletion core/views/user/termofservice.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ A statement that the information in the notification is accurate, and, under the
pains and penalties of perjury, that you are authorized to act on behalf of the copyright owner.
Contact the agent designated to receive and act on copyright violations under the
Digital Millennium Copyright Act (DMCA).
</pre>
</pre>
2 changes: 1 addition & 1 deletion modules/GlobalModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,4 @@ public function callCoreAction()
return false;
}
}
} // end class
} // end class
6 changes: 0 additions & 6 deletions modules/api/views/config/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,3 @@ $this->headScript()->appendFile($this->moduleWebroot . '/public/js/config/config


</div>






6 changes: 0 additions & 6 deletions modules/api/views/config/usertab.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,3 @@ else
<?php echo $this->form['createAPIKey']?>
</div>
</form>






2 changes: 1 addition & 1 deletion modules/archive/views/config/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for
<input type="submit" value="Save" />
</div>
</form>
</div>
</div>
4 changes: 0 additions & 4 deletions modules/batchmake/controllers/components/ApiComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,3 @@ public function addCondorJob($params)


} // end class




Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@ public function generateBatchmakeConfig($taskDao, $appTaskConfigProperties, $con



} // end class
} // end class
2 changes: 1 addition & 1 deletion modules/batchmake/tests/models/base/TaskModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ public function testCreateTask()
}


}
}
2 changes: 1 addition & 1 deletion modules/batchmake/views/index/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ $this->headScript()->appendFile($this->apiWebroot.'/public/js/common/common.ajax
?>
<link type="text/css" rel="stylesheet" href="<?php echo $this->coreWebroot?>/public/css/common/common.genericPage.css" />
<div class="viewMain">
</div>
</div>
2 changes: 1 addition & 1 deletion modules/cleanup/controllers/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ function indexAction()
{
}

} // end class
} // end class
6 changes: 0 additions & 6 deletions modules/cleanup/views/config/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,3 @@ $this->headScript()->appendFile($this->moduleWebroot.'/public/js/config/config.i
?>

</div>






2 changes: 1 addition & 1 deletion modules/comments/controllers/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ function indexAction()
{
}

} // end class
} // end class
6 changes: 0 additions & 6 deletions modules/comments/views/config/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,3 @@ PURPOSE. See the above copyright notices for more information.
<div class="viewMain">
There are currently no configuration parameters for the comments module.
</div>






2 changes: 1 addition & 1 deletion modules/comments/views/index/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ PURPOSE. See the above copyright notices for more information.

<div class="viewMain">
There is currently no index controller for the comments module.
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
See the License for the specific language governing permissions and
limitations under the License.
=========================================================================*/

/**
* Communityagreement_AgreementModelBase
*
Expand Down Expand Up @@ -58,4 +59,4 @@ function createAgreement($community_id, $agreement)
return $agreementDao;
}

} // end class AgreementModelBase
} // end class
2 changes: 1 addition & 1 deletion modules/communityagreement/models/dao/AgreementDao.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ class Communityagreement_AgreementDao extends Communityagreement_AppDao
{
public $_model = 'Agreement';
public $_module = 'communityagreement';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ public function testGetByCommunityId()
$this->assertEquals('Community agreement for Community test User 1', $dao->getAgreement());
}

}
}
2 changes: 1 addition & 1 deletion modules/communityagreement/views/config/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ PURPOSE. See the above copyright notices for more information.

<div>
<?php echo $this->t('Community Agreement module is enabled.'); ?>
</div>
</div>
2 changes: 1 addition & 1 deletion modules/communityagreement/views/index/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
?>
Community Agreement
Community Agreement
1 change: 0 additions & 1 deletion modules/example/models/AppDao.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ class Example_AppDao extends MIDAS_GlobalDao
{
public $moduleName = 'example';
} // end class

2 changes: 1 addition & 1 deletion modules/example/views/index/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
?>
<h2>Welcome to the Example Module</h2>
<h2>Welcome to the Example Module</h2>
1 change: 0 additions & 1 deletion modules/example/views/sample/delete.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/

1 change: 0 additions & 1 deletion modules/example/views/sample/view.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ $this->headScript()->appendFile($this->moduleWebroot.'/public/js/sample/example.
echo 'wallet dollars: '.$this->wallet->getDollars();
echo 'credit card count: '.$this->wallet->getCreditCardCount();
?>

Loading

0 comments on commit 4965289

Please sign in to comment.