Completed
Push — simpler-test-run ( 0ad637...b3cd44 )
by Sam
11:48
created
View/Parsers/ShortcodeParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -168,6 +168,9 @@
 block discarded – undo
168 168
 
169 169
 	// --------------------------------------------------------------------------------------------------------------
170 170
 
171
+	/**
172
+	 * @param DOMElement $node
173
+	 */
171 174
 	protected function removeNode($node) {
172 175
 		$node->parentNode->removeChild($node);
173 176
 	}
Please login to merge, or discard this patch.
View/Parsers/URLSegmentFilter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -89,6 +89,7 @@
 block discarded – undo
89 89
 	 * Determines if the field should render open or closed by default.
90 90
 	 *
91 91
 	 * @param boolean
92
+	 * @param boolean $bool
92 93
 	 */
93 94
 	public function startClosed($bool) {
94 95
 		($bool) ? $this->addExtraClass('startClosed') : $this->removeExtraClass('startClosed');
Please login to merge, or discard this patch.
View/Requirements_Backend.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -321,6 +321,7 @@
 block discarded – undo
321 321
 	 * Forces the JavaScript requirements to the end of the body, right before the closing tag
322 322
 	 *
323 323
 	 * @param bool
324
+	 * @param boolean $var
324 325
 	 * @return $this
325 326
 	 */
326 327
 	public function setForceJSToBottom($var)
Please login to merge, or discard this patch.
View/SSTemplateParser.php.inc 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,6 +114,8 @@  discard block
 block discarded – undo
114 114
 
115 115
 	/**
116 116
 	 * Override the function that constructs the result arrays to also prepare a 'php' item in the array
117
+	 * @param string $matchrule
118
+	 * @param string $name
117 119
 	 */
118 120
 	function construct($matchrule, $name, $arguments = null) {
119 121
 		$res = parent::construct($matchrule, $name, $arguments);
@@ -175,9 +177,9 @@  discard block
 block discarded – undo
175 177
 
176 178
 	/**
177 179
 	 * Ensures that the arguments to addOpenBlock and addClosedBlock are valid
178
-	 * @param $name
179
-	 * @param $callable
180
-	 * @param $type
180
+	 * @param string $name
181
+	 * @param callable $callable
182
+	 * @param string $type
181 183
 	 * @throws InvalidArgumentException
182 184
 	 */
183 185
 	protected function validateExtensionBlock($name, $callable, $type) {
@@ -262,6 +264,7 @@  discard block
 block discarded – undo
262 264
 	 * The basic generated PHP of LookupStep and LastLookupStep is the same, except that LookupStep calls 'obj' to
263 265
 	 * get the next ViewableData in the sequence, and LastLookupStep calls different methods (XML_val, hasValue, obj)
264 266
 	 * depending on the context the lookup is used in.
267
+	 * @param string $method
265 268
 	 */
266 269
 	function Lookup_AddLookupStep(&$res, $sub, $method) {
267 270
 		$res['LookupSteps'][] = $sub;
@@ -1174,6 +1177,7 @@  discard block
 block discarded – undo
1174 1177
 
1175 1178
 	/**
1176 1179
 	 * @param string $code
1180
+	 * @param string $templateName
1177 1181
 	 * @return string $code
1178 1182
 	 */
1179 1183
 	protected function includeDebuggingComments($code, $templateName) {
Please login to merge, or discard this patch.
View/SSViewer_DataPresenter.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -33,6 +33,10 @@  discard block
 block discarded – undo
33 33
 	 */
34 34
 	protected $underlay;
35 35
 
36
+	/**
37
+	 * @param ViewableData $item
38
+	 * @param ViewableData $inheritedScope
39
+	 */
36 40
 	public function __construct($item, $overlay = null, $underlay = null, $inheritedScope = null)
37 41
 	{
38 42
 		parent::__construct($item, $inheritedScope);
@@ -58,6 +62,10 @@  discard block
 block discarded – undo
58 62
 		$this->underlay = $underlay ? $underlay : array();
59 63
 	}
60 64
 
65
+	/**
66
+	 * @param string $interfaceToQuery
67
+	 * @param string $variableMethod
68
+	 */
61 69
 	protected function createCallableArray(&$extraArray, $interfaceToQuery, $variableMethod, $createObject = false)
62 70
 	{
63 71
 		$implementers = ClassInfo::implementorsOf($interfaceToQuery);
Please login to merge, or discard this patch.
View/SSViewer_FromString.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
 	 */
31 31
 	protected $cacheTemplate;
32 32
 
33
+	/**
34
+	 * @param string $content
35
+	 */
33 36
 	public function __construct($content, TemplateParser $parser = null)
34 37
 	{
35 38
 		if ($parser) {
Please login to merge, or discard this patch.
admin/tests/LeftAndMainTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use SilverStripe\Core\Convert;
4
-use SilverStripe\Core\Config\Config;
5 4
 use SilverStripe\Dev\SapphireTest;
6 5
 use SilverStripe\View\Parsers\URLSegmentFilter;
7 6
 
Please login to merge, or discard this patch.
Forms/Form.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SilverStripe\ORM\DataQuery;
6 6
 use SilverStripe\ORM\DB;
7
-use InvalidArgumentException;
8 7
 
9 8
 /**
10 9
  * Matches textual content with a LIKE '%keyword%' construct.
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -593,7 +593,7 @@  discard block
 block discarded – undo
593 593
 	/**
594 594
 	 * Fields can have action to, let's check if anyone of the responds to $funcname them
595 595
 	 *
596
-	 * @param SS_List|array $fields
596
+	 * @param FieldList $fields
597 597
 	 * @param callable $funcName
598 598
 	 * @return FormField
599 599
 	 */
@@ -734,6 +734,7 @@  discard block
 block discarded – undo
734 734
 	 * Set actions that are exempt from validation
735 735
 	 *
736 736
 	 * @param array
737
+	 * @param string[] $actions
737 738
 	 * @return $this
738 739
 	 */
739 740
 	public function setValidationExemptActions($actions) {
@@ -1131,7 +1132,7 @@  discard block
 block discarded – undo
1131 1132
 	 * If set to false (the default), then the form method is only used to construct the default
1132 1133
 	 * form.
1133 1134
 	 *
1134
-	 * @param $bool boolean
1135
+	 * @param boolean $bool boolean
1135 1136
 	 * @return $this
1136 1137
 	 */
1137 1138
 	public function setStrictFormMethodCheck($bool) {
Please login to merge, or discard this patch.
Forms/HiddenField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @return string
77
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText
78 78
 	 */
79 79
 	public function InternallyLabelledField() {
80 80
 		Deprecation::notice('4.0', 'Please use ->setValue() instead');
Please login to merge, or discard this patch.