Permalink
Browse files

Clean up trailing ?> per coding standard

All sapphire but the lang directory
  • Loading branch information...
1 parent 3939923 commit d37042382513e4ebd83fc1b40265bf972217df31 Fred Condo committed Feb 12, 2012
Showing with 52 additions and 181 deletions.
  1. +0 −1 admin/code/CMSMenu.php
  2. +0 −1 admin/code/CMSMenuItem.php
  3. +0 −1 admin/code/GroupImportForm.php
  4. +1 −1 admin/code/LeftAndMain.php
  5. +0 −1 admin/code/MemberImportForm.php
  6. +0 −1 admin/code/MemberTableField.php
  7. +0 −1 admin/code/ModelAdmin.php
  8. +1 −1 admin/code/SecurityAdmin.php
  9. +0 −1 admin/tests/SecurityAdminTest.php
  10. +0 −1 api/FormEncodedDataFormatter.php
  11. +0 −1 api/JSONDataFormatter.php
  12. +0 −1 api/RSSFeed.php
  13. +1 −1 api/RestfulService.php
  14. +0 −1 api/SOAPModelAccess.php
  15. +1 −1 api/SapphireSoapServer.php
  16. +1 −1 api/VersionedRestfulServer.php
  17. +1 −1 cli-script.php
  18. +1 −1 control/Controller.php
  19. +1 −1 control/FormResponse.php
  20. +1 −1 control/HTTP.php
  21. +1 −1 core/ClassInfo.php
  22. +1 −1 core/Diff.php
  23. +0 −1 core/Extension.php
  24. +1 −1 dev/BuildTask.php
  25. +0 −1 dev/BulkLoader.php
  26. +0 −1 dev/CSVParser.php
  27. +0 −1 dev/Cli.php
  28. +0 −1 dev/CliDebugView.php
  29. +0 −1 dev/CsvBulkLoader.php
  30. +0 −1 dev/DebugView.php
  31. +0 −1 dev/InstallerTest.php
  32. +0 −1 dev/MigrationTask.php
  33. +0 −1 dev/ModelViewer.php
  34. +0 −1 dev/Profiler.php
  35. +0 −1 dev/SapphireREPL.php
  36. +1 −1 dev/SapphireTest.php
  37. +0 −1 dev/SapphireTestReporter.php
  38. +0 −1 dev/SapphireTestSuite.php
  39. +1 −1 dev/TaskRunner.php
  40. +0 −1 dev/TestOnly.php
  41. +1 −1 email/Email.php
  42. +0 −1 filesystem/Filesystem.php
  43. +0 −1 filesystem/GD.php
  44. +0 −1 forms/AjaxUniqueTextField.php
  45. +1 −1 forms/ComplexTableField.php
  46. +0 −1 forms/CompositeField.php
  47. +0 −1 forms/CurrencyField.php
  48. +0 −1 forms/CustomRequiredFields.php
  49. +1 −1 forms/DateField.php
  50. +0 −1 forms/DatetimeField.php
  51. +0 −1 forms/DisabledTransformation.php
  52. +0 −1 forms/FieldGroup.php
  53. +0 −1 forms/FormTransformation.php
  54. +0 −1 forms/GroupedDropdownField.php
  55. +1 −1 forms/HasManyComplexTableField.php
  56. +0 −1 forms/HasOneComplexTableField.php
  57. +0 −1 forms/InlineFormAction.php
  58. +0 −1 forms/ListboxField.php
  59. +0 −1 forms/LookupField.php
  60. +1 −1 forms/ManyManyComplexTableField.php
  61. +0 −1 forms/MoneyField.php
  62. +0 −1 forms/NumericField.php
  63. +0 −1 forms/PasswordField.php
  64. +0 −1 forms/PhoneNumberField.php
  65. +0 −1 forms/PrintableTransformation.php
  66. +0 −1 forms/ReadonlyTransformation.php
  67. +1 −1 forms/RequiredFields.php
  68. +0 −1 forms/ScaffoldingComplexTableField.php
  69. +0 −1 forms/SelectionGroup.php
  70. +0 −1 forms/Tab.php
  71. +0 −1 forms/TableField.php
  72. +1 −1 forms/TableListField.php
  73. +0 −1 forms/TabularStyle.php
  74. +0 −1 forms/TimeField.php
  75. +0 −1 forms/ToggleCompositeField.php
  76. +0 −1 forms/ToggleField.php
  77. +1 −1 forms/Validator.php
  78. +1 −1 i18n/i18n.php
  79. +0 −1 i18n/i18nEntityProvider.php
  80. +0 −1 i18n/i18nTextCollector.php
  81. +1 −1 model/DataExtension.php
  82. +1 −1 model/Database.php
  83. +1 −1 model/DatabaseAdmin.php
  84. +0 −1 model/HiddenClass.php
  85. +1 −1 model/Hierarchy.php
  86. +0 −1 model/SQLQuery.php
  87. +0 −1 model/ValidationException.php
  88. +1 −1 model/fieldtypes/Boolean.php
  89. +0 −1 model/fieldtypes/Currency.php
  90. +0 −1 model/fieldtypes/DBField.php
  91. +1 −1 model/fieldtypes/DBLocale.php
  92. +0 −1 model/fieldtypes/Datetime.php
  93. +1 −1 model/fieldtypes/Decimal.php
  94. +1 −1 model/fieldtypes/Enum.php
  95. +1 −1 model/fieldtypes/ForeignKey.php
  96. +1 −1 model/fieldtypes/HTMLText.php
  97. +0 −1 model/fieldtypes/Int.php
  98. +0 −1 model/fieldtypes/Money.php
  99. +1 −1 model/fieldtypes/Percentage.php
  100. +0 −1 model/fieldtypes/PrimaryKey.php
  101. +1 −1 model/fieldtypes/Text.php
  102. +0 −1 model/fieldtypes/Time.php
  103. +1 −1 model/fieldtypes/Varchar.php
  104. +0 −1 model/fieldtypes/Year.php
  105. +0 −1 parsers/BBCodeParser.php
  106. +0 −1 parsers/HTML/BBCodeParser/Filter.php
  107. +0 −1 parsers/HTML/BBCodeParser/Filter/Basic.php
  108. +1 −1 parsers/HTML/BBCodeParser/Filter/EmailLinks.php
  109. +1 −1 parsers/HTML/BBCodeParser/Filter/Extended.php
  110. +0 −1 parsers/HTML/BBCodeParser/Filter/Links.php
  111. +0 −1 parsers/HTML/BBCodeParser/Filter/Lists.php
  112. +0 −1 parsers/HTML/HTMLBBCodeParser.php
  113. +0 −1 parsers/SQLFormatter.php
  114. +0 −1 parsers/TextParser.php
  115. +1 −1 search/SearchContext.php
  116. +0 −1 search/filters/EndsWithFilter.php
  117. +0 −1 search/filters/ExactMatchFilter.php
  118. +0 −1 search/filters/ExactMatchMultiFilter.php
  119. +0 −1 search/filters/FulltextFilter.php
  120. +0 −1 search/filters/GreaterThanFilter.php
  121. +0 −1 search/filters/LessThanFilter.php
  122. +0 −1 search/filters/NegationFilter.php
  123. +0 −1 search/filters/PartialMatchFilter.php
  124. +0 −1 search/filters/SearchFilter.php
  125. +0 −1 search/filters/StartsWithFilter.php
  126. +0 −1 search/filters/StartsWithMultiFilter.php
  127. +0 −1 search/filters/SubstringFilter.php
  128. +0 −1 search/filters/WithinRangeFilter.php
  129. +0 −1 security/Authenticator.php
  130. +0 −1 security/ChangePasswordForm.php
  131. +1 −1 security/Group.php
  132. +0 −1 security/LoginAttempt.php
  133. +0 −1 security/LoginForm.php
  134. +0 −1 security/MemberAuthenticator.php
  135. +0 −1 security/MemberLoginForm.php
  136. +1 −1 security/Permission.php
  137. +0 −1 security/PermissionProvider.php
  138. +0 −1 static-main.php
  139. +0 −1 tasks/MonthlyTask.php
  140. +0 −1 tasks/QuarterHourlyTask.php
  141. +0 −1 tasks/YearlyTask.php
  142. +0 −1 tasks/i18nTextCollectorTask.php
  143. +1 −1 tests/api/RestfulServerTest.php
  144. +0 −1 tests/api/SoapModelAccessTest.php
  145. +1 −1 tests/core/ArrayDataTest.php
  146. +2 −2 tests/core/manifest/TokenisedRegularExpressionTest.php
  147. +1 −1 tests/dev/CsvBulkLoaderTest.php
  148. +0 −1 tests/forms/CheckboxFieldTest.php
  149. +0 −1 tests/forms/ComplexTableFieldTest.php
  150. +0 −1 tests/forms/CompositeFieldTest.php
  151. +0 −1 tests/forms/DateFieldTest.php
  152. +0 −1 tests/forms/DropdownFieldTest.php
  153. +0 −1 tests/forms/FormFieldTest.php
  154. +0 −1 tests/forms/FormScaffolderTest.php
  155. +0 −1 tests/forms/FormTest.php
  156. +0 −1 tests/forms/MoneyFieldTest.php
  157. +0 −1 tests/i18n/_fakewebroot/i18nothermodule/code/i18nOtherModule.php
  158. +0 −1 tests/i18n/_fakewebroot/i18nothermodule/code/i18nTestModuleDecorator.php
  159. +0 −1 tests/i18n/_fakewebroot/i18ntestmodule/code/subfolder/i18nTestSubModule.php
  160. +1 −1 tests/i18n/i18nTest.php
  161. +0 −1 tests/i18n/i18nTextCollectorTest.php
  162. +0 −1 tests/i18n/i18nTextCollectorTestMyObject.php
  163. +0 −1 tests/i18n/i18nTextCollectorTestMySubObject.php
  164. +0 −1 tests/model/CompositeDBFieldTest.php
  165. +1 −1 tests/model/DBFieldTest.php
  166. +0 −1 tests/model/DBLocaleTest.php
  167. +1 −1 tests/model/DataExtensionTest.php
  168. +0 −1 tests/model/DataObjectDuplicationTest.php
  169. +1 −1 tests/model/DataObjectTest.php
  170. +0 −1 tests/model/DataQueryTest.php
  171. +0 −1 tests/model/DatabaseTest.php
  172. +0 −1 tests/model/DateTest.php
  173. +0 −1 tests/model/HTMLTextTest.php
  174. +0 −1 tests/model/MoneyTest.php
  175. +0 −1 tests/model/PercentageTest.php
  176. +1 −1 tests/model/SQLQueryTest.php
  177. +0 −1 tests/parsers/SQLFormatterTest.php
  178. +1 −1 tests/search/SearchContextTest.php
  179. +0 −1 tests/search/SearchFilterApplyRelationTest.php
  180. +0 −1 tests/security/GroupTest.php
View
@@ -323,4 +323,3 @@ function provideI18nEntities() {
return $entities;
}
}
-?>
@@ -47,4 +47,3 @@ public function __construct($title, $url, $controller = null, $priority = -1) {
}
}
-?>
@@ -87,4 +87,3 @@ function doImport($data, $form) {
}
}
-?>
@@ -1345,4 +1345,4 @@ function mark($node) {
return array_key_exists((int) $id, $this->ids) ? $this->ids[$id] : false;
}
}
-?>
+
@@ -105,4 +105,3 @@ function getGroup($group) {
return $this->group;
}
}
-?>
@@ -368,4 +368,3 @@ function Actions() {
}
}
-?>
@@ -1054,4 +1054,3 @@ function getCurrentRecord(){
}
-?>
@@ -379,4 +379,4 @@ function run(SS_List $records) {
return Convert::raw2json($status);
}
}
-?>
+
@@ -90,4 +90,3 @@ function testPermissionFieldRespectsHiddenPermissions() {
}
}
-?>
@@ -40,4 +40,3 @@ public function convertStringToArray($strData) {
}
}
-?>
@@ -138,4 +138,3 @@ public function convertStringToArray($strData) {
}
}
-?>
View
@@ -317,4 +317,3 @@ function AbsoluteLink() {
else user_error($this->failover->class . " object has either an AbsoluteLink nor a Link method. Can't put a link in the RSS feed", E_USER_WARNING);
}
}
-?>
View
@@ -465,4 +465,4 @@ function xpath_one($xpath) {
}
}
-?>
+
View
@@ -247,4 +247,3 @@ protected function getErrorMessage($response) {
}
}
-?>
@@ -100,4 +100,4 @@ function index() {
}
}
-?>
+
@@ -20,4 +20,4 @@ function handleRequest($request, $model) {
}
}
-?>
+
View
@@ -83,4 +83,4 @@
DataModel::set_inst(new DataModel());
Director::direct($url, DataModel::inst());
-?>
+
View
@@ -568,4 +568,4 @@ static function join_links() {
}
}
-?>
+
View
@@ -270,4 +270,4 @@ protected static function get_javascript() {
return $js;
}
}
-?>
+
View
@@ -400,4 +400,4 @@ static function get_cache_age() {
}
-?>
+
View
@@ -233,4 +233,4 @@ static function classes_for_folder($folderPath) {
}
}
-?>
+
View
@@ -879,4 +879,4 @@ function MappedDiff($from_lines, $to_lines,
}
}
-?>
+
View
@@ -88,4 +88,3 @@ public static function get_classname_without_arguments($extensionStr) {
}
-?>
View
@@ -57,4 +57,4 @@ public function getDescription() {
}
-?>
+
View
@@ -410,4 +410,3 @@ protected function mapToArrayList($arr) {
}
}
-?>
View
@@ -234,4 +234,3 @@ function valid() {
}
-?>
View
@@ -81,4 +81,3 @@ static function end_colour() {
}
}
-?>
View
@@ -69,4 +69,3 @@ public function writeInfo($title, $subtitle, $description=false) {
}
-?>
View
@@ -189,4 +189,3 @@ public function hasHeaderRow() {
}
}
-?>
View
@@ -169,4 +169,3 @@ function writeParagraph($text) {
}
}
-?>
View
@@ -15,4 +15,3 @@ function testrewrite() {
}
}
-?>
View
@@ -67,4 +67,3 @@ function down() {}
}
-?>
View
@@ -211,4 +211,3 @@ function __construct($model, $name, $relatedClass, $relationType) {
}
-?>
View
@@ -232,4 +232,3 @@ function __suspendTimer($name){
$this->running[$name] += $this->elapsedTime($name);
}
}
-?>
View
@@ -85,4 +85,3 @@ function index() {
}
}
-?>
View
@@ -860,4 +860,4 @@ function logInWithPermission($permCode = "ADMIN") {
protected $cache_generatedMembers = array();
}
-?>
+
@@ -305,4 +305,3 @@ protected function testNameToPhrase($name) {
}
-?>
@@ -21,4 +21,3 @@ function tearDown() {
}
}
}
-?>
View
@@ -100,4 +100,4 @@ protected function getTasks() {
}
-?>
+
View
@@ -8,4 +8,3 @@
}
-?>
View
@@ -766,4 +766,4 @@ public function canCreate($member = null) {
}
}
-?>
+
@@ -171,4 +171,3 @@ static function sync($folderID = null, $syncLinkTracking = true) {
}
-?>
View
@@ -408,4 +408,3 @@ function writeTo($filename) {
}
-?>
@@ -124,4 +124,3 @@ function validate( $validator ) {
return true;
}
}
-?>
@@ -876,4 +876,4 @@ function getParentController() {
}
}
-?>
+
View
@@ -330,4 +330,3 @@ function validate($validator){
}
}
-?>
View
@@ -143,4 +143,3 @@ function Field() {
}
}
-?>
@@ -146,4 +146,3 @@ function appendRequiredFields($requiredFields){
}
}
-?>
View
@@ -704,4 +704,4 @@ static function convert_iso_to_jquery_format($format) {
return preg_replace($patterns, $replacements, $format);
}
}
-?>
+
View
@@ -313,4 +313,3 @@ function validate($validator) {
return true;
}
}
-?>
@@ -10,4 +10,3 @@ public function transform($field) {
}
}
-?>
View
@@ -182,4 +182,3 @@ function php($data){
}
-?>
@@ -51,4 +51,3 @@ function transform(FormField $field) {
}
}
-?>
@@ -59,4 +59,3 @@ function Field() {
}
}
-?>
@@ -158,4 +158,4 @@ function MarkingCheckbox() {
}
}
-?>
+
@@ -100,4 +100,3 @@ function MarkingCheckbox() {
}
}
-?>
@@ -67,4 +67,3 @@ function Title() {
return false;
}
}
-?>
View
@@ -183,4 +183,3 @@ function setValue($val) {
}
}
-?>
View
@@ -68,4 +68,3 @@ function getSource() {
}
}
-?>
@@ -103,4 +103,4 @@ function MarkingCheckbox() {
}
}
-?>
+
View
@@ -165,4 +165,3 @@ function getLocale() {
return $this->_locale;
}
}
-?>
View
@@ -73,4 +73,3 @@ function dataValue() {
return (is_numeric($this->value)) ? $this->value : 0;
}
}
-?>
View
@@ -41,4 +41,3 @@ function Type() {
}
}
-?>
@@ -191,4 +191,3 @@ function validate($validator){
return true;
}
}
-?>
@@ -40,4 +40,3 @@ function FieldHolder() {
}
-?>
@@ -9,4 +9,3 @@ class ReadonlyTransformation extends FormTransformation {
// methods on the individual FormField objects.
}
-?>
Oops, something went wrong.

0 comments on commit d370423

Please sign in to comment.