Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up trailing ?> per coding standard

All sapphire but the lang directory
  • Loading branch information...
commit d37042382513e4ebd83fc1b40265bf972217df31 1 parent 3939923
Fred Condo authored
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
1  admin/code/CMSMenu.php
@@ -323,4 +323,3 @@ function provideI18nEntities() {
return $entities;
}
}
-?>
View
1  admin/code/CMSMenuItem.php
@@ -47,4 +47,3 @@ public function __construct($title, $url, $controller = null, $priority = -1) {
}
}
-?>
View
1  admin/code/GroupImportForm.php
@@ -87,4 +87,3 @@ function doImport($data, $form) {
}
}
-?>
View
2  admin/code/LeftAndMain.php
@@ -1345,4 +1345,4 @@ function mark($node) {
return array_key_exists((int) $id, $this->ids) ? $this->ids[$id] : false;
}
}
-?>
+
View
1  admin/code/MemberImportForm.php
@@ -105,4 +105,3 @@ function getGroup($group) {
return $this->group;
}
}
-?>
View
1  admin/code/MemberTableField.php
@@ -368,4 +368,3 @@ function Actions() {
}
}
-?>
View
1  admin/code/ModelAdmin.php
@@ -1054,4 +1054,3 @@ function getCurrentRecord(){
}
-?>
View
2  admin/code/SecurityAdmin.php
@@ -379,4 +379,4 @@ function run(SS_List $records) {
return Convert::raw2json($status);
}
}
-?>
+
View
1  admin/tests/SecurityAdminTest.php
@@ -90,4 +90,3 @@ function testPermissionFieldRespectsHiddenPermissions() {
}
}
-?>
View
1  api/FormEncodedDataFormatter.php
@@ -40,4 +40,3 @@ public function convertStringToArray($strData) {
}
}
-?>
View
1  api/JSONDataFormatter.php
@@ -138,4 +138,3 @@ public function convertStringToArray($strData) {
}
}
-?>
View
1  api/RSSFeed.php
@@ -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
2  api/RestfulService.php
@@ -465,4 +465,4 @@ function xpath_one($xpath) {
}
}
-?>
+
View
1  api/SOAPModelAccess.php
@@ -247,4 +247,3 @@ protected function getErrorMessage($response) {
}
}
-?>
View
2  api/SapphireSoapServer.php
@@ -100,4 +100,4 @@ function index() {
}
}
-?>
+
View
2  api/VersionedRestfulServer.php
@@ -20,4 +20,4 @@ function handleRequest($request, $model) {
}
}
-?>
+
View
2  cli-script.php
@@ -83,4 +83,4 @@
DataModel::set_inst(new DataModel());
Director::direct($url, DataModel::inst());
-?>
+
View
2  control/Controller.php
@@ -568,4 +568,4 @@ static function join_links() {
}
}
-?>
+
View
2  control/FormResponse.php
@@ -270,4 +270,4 @@ protected static function get_javascript() {
return $js;
}
}
-?>
+
View
2  control/HTTP.php
@@ -400,4 +400,4 @@ static function get_cache_age() {
}
-?>
+
View
2  core/ClassInfo.php
@@ -233,4 +233,4 @@ static function classes_for_folder($folderPath) {
}
}
-?>
+
View
2  core/Diff.php
@@ -879,4 +879,4 @@ function MappedDiff($from_lines, $to_lines,
}
}
-?>
+
View
1  core/Extension.php
@@ -88,4 +88,3 @@ public static function get_classname_without_arguments($extensionStr) {
}
-?>
View
2  dev/BuildTask.php
@@ -57,4 +57,4 @@ public function getDescription() {
}
-?>
+
View
1  dev/BulkLoader.php
@@ -410,4 +410,3 @@ protected function mapToArrayList($arr) {
}
}
-?>
View
1  dev/CSVParser.php
@@ -234,4 +234,3 @@ function valid() {
}
-?>
View
1  dev/Cli.php
@@ -81,4 +81,3 @@ static function end_colour() {
}
}
-?>
View
1  dev/CliDebugView.php
@@ -69,4 +69,3 @@ public function writeInfo($title, $subtitle, $description=false) {
}
-?>
View
1  dev/CsvBulkLoader.php
@@ -189,4 +189,3 @@ public function hasHeaderRow() {
}
}
-?>
View
1  dev/DebugView.php
@@ -169,4 +169,3 @@ function writeParagraph($text) {
}
}
-?>
View
1  dev/InstallerTest.php
@@ -15,4 +15,3 @@ function testrewrite() {
}
}
-?>
View
1  dev/MigrationTask.php
@@ -67,4 +67,3 @@ function down() {}
}
-?>
View
1  dev/ModelViewer.php
@@ -211,4 +211,3 @@ function __construct($model, $name, $relatedClass, $relationType) {
}
-?>
View
1  dev/Profiler.php
@@ -232,4 +232,3 @@ function __suspendTimer($name){
$this->running[$name] += $this->elapsedTime($name);
}
}
-?>
View
1  dev/SapphireREPL.php
@@ -85,4 +85,3 @@ function index() {
}
}
-?>
View
2  dev/SapphireTest.php
@@ -860,4 +860,4 @@ function logInWithPermission($permCode = "ADMIN") {
protected $cache_generatedMembers = array();
}
-?>
+
View
1  dev/SapphireTestReporter.php
@@ -305,4 +305,3 @@ protected function testNameToPhrase($name) {
}
-?>
View
1  dev/SapphireTestSuite.php
@@ -21,4 +21,3 @@ function tearDown() {
}
}
}
-?>
View
2  dev/TaskRunner.php
@@ -100,4 +100,4 @@ protected function getTasks() {
}
-?>
+
View
1  dev/TestOnly.php
@@ -8,4 +8,3 @@
}
-?>
View
2  email/Email.php
@@ -766,4 +766,4 @@ public function canCreate($member = null) {
}
}
-?>
+
View
1  filesystem/Filesystem.php
@@ -171,4 +171,3 @@ static function sync($folderID = null, $syncLinkTracking = true) {
}
-?>
View
1  filesystem/GD.php
@@ -408,4 +408,3 @@ function writeTo($filename) {
}
-?>
View
1  forms/AjaxUniqueTextField.php
@@ -124,4 +124,3 @@ function validate( $validator ) {
return true;
}
}
-?>
View
2  forms/ComplexTableField.php
@@ -876,4 +876,4 @@ function getParentController() {
}
}
-?>
+
View
1  forms/CompositeField.php
@@ -330,4 +330,3 @@ function validate($validator){
}
}
-?>
View
1  forms/CurrencyField.php
@@ -143,4 +143,3 @@ function Field() {
}
}
-?>
View
1  forms/CustomRequiredFields.php
@@ -146,4 +146,3 @@ function appendRequiredFields($requiredFields){
}
}
-?>
View
2  forms/DateField.php
@@ -704,4 +704,4 @@ static function convert_iso_to_jquery_format($format) {
return preg_replace($patterns, $replacements, $format);
}
}
-?>
+
View
1  forms/DatetimeField.php
@@ -313,4 +313,3 @@ function validate($validator) {
return true;
}
}
-?>
View
1  forms/DisabledTransformation.php
@@ -10,4 +10,3 @@ public function transform($field) {
}
}
-?>
View
1  forms/FieldGroup.php
@@ -182,4 +182,3 @@ function php($data){
}
-?>
View
1  forms/FormTransformation.php
@@ -51,4 +51,3 @@ function transform(FormField $field) {
}
}
-?>
View
1  forms/GroupedDropdownField.php
@@ -59,4 +59,3 @@ function Field() {
}
}
-?>
View
2  forms/HasManyComplexTableField.php
@@ -158,4 +158,4 @@ function MarkingCheckbox() {
}
}
-?>
+
View
1  forms/HasOneComplexTableField.php
@@ -100,4 +100,3 @@ function MarkingCheckbox() {
}
}
-?>
View
1  forms/InlineFormAction.php
@@ -67,4 +67,3 @@ function Title() {
return false;
}
}
-?>
View
1  forms/ListboxField.php
@@ -183,4 +183,3 @@ function setValue($val) {
}
}
-?>
View
1  forms/LookupField.php
@@ -68,4 +68,3 @@ function getSource() {
}
}
-?>
View
2  forms/ManyManyComplexTableField.php
@@ -103,4 +103,4 @@ function MarkingCheckbox() {
}
}
-?>
+
View
1  forms/MoneyField.php
@@ -165,4 +165,3 @@ function getLocale() {
return $this->_locale;
}
}
-?>
View
1  forms/NumericField.php
@@ -73,4 +73,3 @@ function dataValue() {
return (is_numeric($this->value)) ? $this->value : 0;
}
}
-?>
View
1  forms/PasswordField.php
@@ -41,4 +41,3 @@ function Type() {
}
}
-?>
View
1  forms/PhoneNumberField.php
@@ -191,4 +191,3 @@ function validate($validator){
return true;
}
}
-?>
View
1  forms/PrintableTransformation.php
@@ -40,4 +40,3 @@ function FieldHolder() {
}
-?>
View
1  forms/ReadonlyTransformation.php
@@ -9,4 +9,3 @@ class ReadonlyTransformation extends FormTransformation {
// methods on the individual FormField objects.
}
-?>
View
2  forms/RequiredFields.php
@@ -173,4 +173,4 @@ function getRequired(){
}
}
-?>
+
View
1  forms/ScaffoldingComplexTableField.php
@@ -91,4 +91,3 @@ function record($request) {
}
}
-?>
View
1  forms/SelectionGroup.php
@@ -94,4 +94,3 @@ function FieldHolder() {
}
}
-?>
View
1  forms/Tab.php
@@ -68,4 +68,3 @@ public function fieldByName($name) {
}
}
-?>
View
1  forms/TableField.php
@@ -753,4 +753,3 @@ function IsAddRow(){
}
-?>
View
2  forms/TableListField.php
@@ -1574,4 +1574,4 @@ function getParentController() {
return $this->ctf;
}
}
-?>
+
View
1  forms/TabularStyle.php
@@ -65,4 +65,3 @@ function __set($field, $val) {
$this->form->$field = $val;
}
}
-?>
View
1  forms/TimeField.php
@@ -221,4 +221,3 @@ function validate($validator) {
return true;
}
}
-?>
View
1  forms/ToggleCompositeField.php
@@ -52,4 +52,3 @@ public function Type() {
}
}
-?>
View
1  forms/ToggleField.php
@@ -98,4 +98,3 @@ function Type() {
}
}
-?>
View
2  forms/Validator.php
@@ -264,4 +264,4 @@ function fieldIsRequired($fieldName) {
abstract function php($data);
}
-?>
+
View
2  i18n/i18n.php
@@ -1958,4 +1958,4 @@ static function merge_locale_data($locale, $extra) {
}
}
-?>
+
View
1  i18n/i18nEntityProvider.php
@@ -67,4 +67,3 @@
*/
function provideI18nEntities();
}
-?>
View
1  i18n/i18nTextCollector.php
@@ -442,4 +442,3 @@ public function setDefaultLocale($locale) {
$this->defaultLocale = $locale;
}
}
-?>
View
2  model/DataExtension.php
@@ -241,4 +241,4 @@ function flushCache() {
}
}
-?>
+
View
2  model/Database.php
@@ -1087,4 +1087,4 @@ public function valid() {
abstract function seek($rowNum);
}
-?>
+
View
2  model/DatabaseAdmin.php
@@ -317,4 +317,4 @@ function cleanup() {
}
-?>
+
View
1  model/HiddenClass.php
@@ -8,4 +8,3 @@
}
-?>
View
2  model/Hierarchy.php
@@ -677,4 +677,4 @@ function reset() {
}
}
-?>
+
View
1  model/SQLQuery.php
@@ -683,4 +683,3 @@ function lastRow() {
}
-?>
View
1  model/ValidationException.php
@@ -29,4 +29,3 @@ public function getResult() {
return $this->result;
}
}
-?>
View
2  model/fieldtypes/Boolean.php
@@ -75,4 +75,4 @@ function nullValue() {
}
-?>
+
View
1  model/fieldtypes/Currency.php
@@ -59,4 +59,3 @@ static function setCurrencySymbol($value) {
}
}
-?>
View
1  model/fieldtypes/DBField.php
@@ -299,4 +299,3 @@ function debug() {
}
}
-?>
View
2  model/fieldtypes/DBLocale.php
@@ -60,4 +60,4 @@ function getNativeName() {
return (isset($common_names[$this->value])) ? $common_names[$this->value] : false;
}
}
-?>
+
View
1  model/fieldtypes/Datetime.php
@@ -116,4 +116,3 @@ static function clear_mock_now() {
}
}
-?>
View
2  model/fieldtypes/Decimal.php
@@ -67,4 +67,4 @@ function prepValueForDB($value) {
}
-?>
+
View
2  model/fieldtypes/Enum.php
@@ -94,4 +94,4 @@ function Upper() {
}
}
-?>
+
View
2  model/fieldtypes/ForeignKey.php
@@ -52,4 +52,4 @@ public function scaffoldFormField($title = null, $params = null) {
}
}
-?>
+
View
2  model/fieldtypes/HTMLText.php
@@ -142,4 +142,4 @@ public function scaffoldSearchField($title = null) {
}
-?>
+
View
1  model/fieldtypes/Int.php
@@ -65,4 +65,3 @@ function prepValueForDB($value) {
}
-?>
View
1  model/fieldtypes/Money.php
@@ -292,4 +292,3 @@ function __toString() {
return (string)$this->getAmount();
}
}
-?>
View
2  model/fieldtypes/Percentage.php
@@ -41,4 +41,4 @@ function saveInto($dataObject) {
}
}
-?>
+
View
1  model/fieldtypes/PrimaryKey.php
@@ -31,4 +31,3 @@ public function scaffoldFormField($title = null, $params = null) {
}
}
-?>
View
2  model/fieldtypes/Text.php
@@ -350,4 +350,4 @@ public function scaffoldSearchField($title = null, $params = null) {
}
}
-?>
+
View
1  model/fieldtypes/Time.php
@@ -75,4 +75,3 @@ public function scaffoldFormField($title = null, $params = null) {
}
}
-?>
View
2  model/fieldtypes/Varchar.php
@@ -90,4 +90,4 @@ public function scaffoldFormField($title = null, $params = null) {
}
}
-?>
+
View
1  model/fieldtypes/Year.php
@@ -45,4 +45,3 @@ private function getDefaultOptions($start=false, $end=false) {
}
}
-?>
View
1  parsers/BBCodeParser.php
@@ -165,4 +165,3 @@ function parse() {
}
}
-?>
View
1  parsers/HTML/BBCodeParser/Filter.php
@@ -9,4 +9,3 @@
class SSHTMLBBCodeParser_Filter extends SSHTMLBBCodeParser
{
}
-?>
View
1  parsers/HTML/BBCodeParser/Filter/Basic.php
@@ -73,4 +73,3 @@ class SSHTMLBBCodeParser_Filter_Basic extends SSHTMLBBCodeParser_Filter
}
-?>
View
2  parsers/HTML/BBCodeParser/Filter/EmailLinks.php
@@ -89,4 +89,4 @@ function _preparse()
}
-?>
+
View
2  parsers/HTML/BBCodeParser/Filter/Extended.php
@@ -107,4 +107,4 @@ function _preparse() {
}
}
-?>
+
View
1  parsers/HTML/BBCodeParser/Filter/Links.php
@@ -206,4 +206,3 @@ function smarterPPLink($matches)
return $matches[6];
}
}
-?>
View
1  parsers/HTML/BBCodeParser/Filter/Lists.php
@@ -109,4 +109,3 @@ function _preparse()
}
-?>
View
1  parsers/HTML/HTMLBBCodeParser.php
@@ -871,4 +871,3 @@ function staticQparse($str)
return $str;
}
}
-?>
View
1  parsers/SQLFormatter.php
@@ -55,4 +55,3 @@ protected function addNewlines($sql, $useHtmlFormatting = false) {
}
}
-?>
View
1  parsers/TextParser.php
@@ -50,4 +50,3 @@ function setContent($content = "") {
*/
abstract function parse();
}
-?>
View
2  search/SearchContext.php
@@ -266,4 +266,4 @@ public function removeFieldByName($fieldName) {
}
}
-?>
+
View
1  search/filters/EndsWithFilter.php
@@ -32,4 +32,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/ExactMatchFilter.php
@@ -33,4 +33,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/ExactMatchMultiFilter.php
@@ -50,4 +50,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/FulltextFilter.php
@@ -40,4 +40,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/GreaterThanFilter.php
@@ -25,4 +25,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/LessThanFilter.php
@@ -26,4 +26,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/NegationFilter.php
@@ -18,4 +18,3 @@ public function apply(DataQuery $query) {
}
-?>
View
1  search/filters/PartialMatchFilter.php
@@ -25,4 +25,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/SearchFilter.php
@@ -172,4 +172,3 @@ public function isEmpty() {
}
}
-?>
View
1  search/filters/StartsWithFilter.php
@@ -32,4 +32,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/StartsWithMultiFilter.php
@@ -32,4 +32,3 @@ public function isEmpty() {
return $this->getValue() == null || $this->getValue() == '';
}
}
-?>
View
1  search/filters/SubstringFilter.php
@@ -31,4 +31,3 @@ public function isEmpty() {
}
}
-?>
View
1  search/filters/WithinRangeFilter.php
@@ -37,4 +37,3 @@ function apply(DataQuery $query) {
}
-?>
View
1  security/Authenticator.php
@@ -186,4 +186,3 @@ protected static function on_unregister() {
}
}
-?>
View
1  security/ChangePasswordForm.php
@@ -134,4 +134,3 @@ function doChangePassword(array $data) {
}
-?>
View
2  security/Group.php
@@ -491,4 +491,4 @@ function CMSTreeClasses($controller) {
}
}
-?>
+
View
1  security/LoginAttempt.php
@@ -48,4 +48,3 @@ function fieldLabels($includerelations = true) {
}
}
-?>
View
1  security/LoginForm.php
@@ -41,4 +41,3 @@ public function getAuthenticator() {
}
}
-?>
View
1  security/MemberAuthenticator.php
@@ -146,4 +146,3 @@ public static function get_name() {
}
}
-?>
View
1  security/MemberLoginForm.php
@@ -280,4 +280,3 @@ function forgotPassword($data) {
}
}
-?>
View
2  security/Permission.php
@@ -689,4 +689,4 @@ public function getPermissions() {
}
}
-?>
+
View
1  security/PermissionProvider.php
@@ -15,4 +15,3 @@
function providePermissions();
}
-?>
View
1  static-main.php
@@ -103,4 +103,3 @@
include 'main.php';
}
-?>
View
1  tasks/MonthlyTask.php
@@ -12,4 +12,3 @@
class MonthlyTask extends ScheduledTask {
}
-?>
View
1  tasks/QuarterHourlyTask.php
@@ -12,4 +12,3 @@
class QuarterHourlyTask extends ScheduledTask {
}
-?>
View
1  tasks/YearlyTask.php
@@ -12,4 +12,3 @@
class YearlyTask extends ScheduledTask {
}
-?>
View
1  tasks/i18nTextCollectorTask.php
@@ -33,4 +33,3 @@ public function run($request) {
return $c->run($restrictModules);
}
}
-?>
View
2  tests/api/RestfulServerTest.php
@@ -564,4 +564,4 @@ public function canCreate($member = null) {
return true;
}
}
-?>
+
View
1  tests/api/SoapModelAccessTest.php
@@ -160,4 +160,3 @@ class SoapModelAccessTest_Page extends DataObject implements TestOnly {
'Content' => 'HTMLText',
);
}
-?>
View
2  tests/core/ArrayDataTest.php
@@ -115,4 +115,4 @@ public function __construct() {
}
-?>
+
View
4 tests/core/manifest/TokenisedRegularExpressionTest.php
@@ -47,7 +47,7 @@ class ClassF extends ParentClassF
}
interface InterfaceD extends InterfaceA, InterfaceB, InterfaceC {
}
-?>
+
PHP
);
}
@@ -86,7 +86,7 @@ class ClassG implements subtest\\InterfaceG {
}
-?>
+
PHP
);
}
View
2  tests/dev/CsvBulkLoaderTest.php
@@ -249,4 +249,4 @@ class CsvBulkLoaderTest_PlayerContract extends DataObject implements TestOnly {
);
}
-?>
+
View
1  tests/forms/CheckboxFieldTest.php
@@ -126,4 +126,3 @@ class CheckboxFieldTest_Article extends DataObject implements TestOnly {
);
}
-?>
View
1  tests/forms/ComplexTableFieldTest.php
@@ -198,4 +198,3 @@ class ComplexTableFieldTest_Sponsor extends DataObject implements TestOnly {
);
}
-?>
View
1  tests/forms/CompositeFieldTest.php
@@ -30,4 +30,3 @@ function testFieldPosition() {
}
}
-?>
View
1  tests/forms/DateFieldTest.php
@@ -181,4 +181,3 @@ function testMDYFormat() {
}
}
-?>
View
1  tests/forms/DropdownFieldTest.php
@@ -212,4 +212,3 @@ function findSelectedOptionElements($html) {
}
}
-?>
View
1  tests/forms/FormFieldTest.php
@@ -117,4 +117,3 @@ function testEveryFieldTransformsDisabledAsClone() {
}
}
-?>
View
1  tests/forms/FormScaffolderTest.php
@@ -136,4 +136,3 @@ function updateCMSFields(&$fields) {
}
DataObject::add_extension('FormScaffolderTest_Article', 'FormScaffolderTest_ArticleExtension');
-?>
View
1  tests/forms/FormTest.php
@@ -513,4 +513,3 @@ function getViewer(){
Director::addRules(50, array(
'FormTest_Controller' => "FormTest_Controller",
));
-?>
View
1  tests/forms/MoneyFieldTest.php
@@ -96,4 +96,3 @@ function setCustomMoney($value) {
}
}
-?>
View
1  tests/i18n/_fakewebroot/i18nothermodule/code/i18nOtherModule.php
@@ -7,4 +7,3 @@ function mymethod() {
);
}
}
-?>
View
1  tests/i18n/_fakewebroot/i18nothermodule/code/i18nTestModuleDecorator.php
@@ -8,4 +8,3 @@ function extraStatics($class=null, $extension=null) {
);
}
}
-?>
View
1  tests/i18n/_fakewebroot/i18ntestmodule/code/subfolder/i18nTestSubModule.php
@@ -6,4 +6,3 @@ function __construct() {
parent::__construct();
}
}
-?>
View
2  tests/i18n/i18nTest.php
@@ -300,4 +300,4 @@ function provideI18nEntities() {
);
}
}
-?>
+
View
1  tests/i18n/i18nTextCollectorTest.php
@@ -589,4 +589,3 @@ function testCollectFromEntityProvidersInCustomObject() {
}
}
-?>
View
1  tests/i18n/i18nTextCollectorTestMyObject.php
@@ -17,4 +17,3 @@ class i18nTextCollectorTestMyObject extends DataObject implements TestOnly {
static $plural_name = "My Objects";
}
-?>
View
1  tests/i18n/i18nTextCollectorTestMySubObject.php
@@ -16,4 +16,3 @@ class i18nTextCollectorTestMySubObject extends i18nTextCollectorTestMyObject imp
static $plural_name = "My Sub Objects";
}
-?>
View
1  tests/model/CompositeDBFieldTest.php
@@ -50,4 +50,3 @@ class SubclassedDBFieldObject extends CompositeDBFieldTest_DataObject {
'OtherMoney' => 'Money',
);
}
-?>
View
2  tests/model/DBFieldTest.php
@@ -219,4 +219,4 @@ function testStringFieldsWithMultibyteData() {
}
-?>
+
View
1  tests/model/DBLocaleTest.php
@@ -19,4 +19,3 @@ function testNativeName() {
$this->assertEquals($l->getNativeName(), 'Deutsch');
}
}
-?>
View
2  tests/model/DataExtensionTest.php
@@ -311,4 +311,4 @@ public function testMethodApplied() {
DataObject::add_extension('DataExtensionTest_MyObject', 'DataExtensionTest_Ext1');
DataObject::add_extension('DataExtensionTest_MyObject', 'DataExtensionTest_Ext2');
DataObject::add_extension('DataExtensionTest_MyObject', 'DataExtensionTest_Faves');
-?>
+
View
1  tests/model/DataObjectDuplicationTest.php
@@ -104,4 +104,3 @@ class DataObjectDuplicateTestClass3 extends DataObject implements TestOnly {
}
-?>
View
2  tests/model/DataObjectTest.php
@@ -1177,4 +1177,4 @@ class DataObjectTest_TeamComment extends DataObject {
DataObject::add_extension('DataObjectTest_Team', 'DataObjectTest_Team_Extension');
-?>
+
View
1  tests/model/DataQueryTest.php
@@ -15,4 +15,3 @@ function testJoins() {
}
}
-?>
View
1  tests/model/DatabaseTest.php
@@ -133,4 +133,3 @@ class DatabaseTest_MyObject extends DataObject implements TestOnly {
'MyField' => 'Varchar'
);
}
-?>
View
1  tests/model/DateTest.php
@@ -95,4 +95,3 @@ function testLongDate() {
}
}
-?>
View
1  tests/model/HTMLTextTest.php
@@ -135,4 +135,3 @@ public function testATT() {
$this->assertEquals($data->ATT(), '"this is a test"');
}
}
-?>
View
1  tests/model/MoneyTest.php
@@ -276,4 +276,3 @@ class MoneyTest_DataObject extends DataObject implements TestOnly {
);
}
-?>
View
1  tests/model/PercentageTest.php
@@ -44,4 +44,3 @@ function testCustomPrecision() {
}
}
-?>
View
2  tests/model/SQLQueryTest.php
@@ -252,4 +252,4 @@ class SQLQueryTest_DO extends DataObject implements TestOnly {
);
}
-?>
+
View
1  tests/parsers/SQLFormatterTest.php
@@ -39,4 +39,3 @@ function testNewlineHanding() {
}
}
-?>
View
2  tests/search/SearchContextTest.php
@@ -261,4 +261,4 @@ class SearchContextTest_AllFilterTypes extends DataObject implements TestOnly {
}
-?>
+
View
1  tests/search/SearchFilterApplyRelationTest.php
@@ -188,4 +188,3 @@ class SearchFilterApplyRelationTest_ManyManyGrantChild extends SearchFilterApply
);
}
-?>
View
1  tests/security/GroupTest.php
@@ -165,4 +165,3 @@ function doSave($data, $form) {
}
}
-?>
Please sign in to comment.
Something went wrong with that request. Please try again.