Completed
Push — simpler-test-run ( 62f2b5...3bcfee )
by Daniel
08:45
created
tests/forms/RequirementsTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -127,6 +127,10 @@  discard block
 block discarded – undo
127 127
 		);
128 128
 	}
129 129
 
130
+	/**
131
+	 * @param boolean $async
132
+	 * @param boolean $defer
133
+	 */
130 134
 	protected function setupCombinedRequirementsJavascriptAsyncDefer($backend, $async, $defer) {
131 135
         $basePath = $this->getCurrentRelativePath();
132 136
         $this->setupRequirements($backend);
@@ -836,6 +840,9 @@  discard block
 block discarded – undo
836 840
 		}
837 841
 	}
838 842
 
843
+	/**
844
+	 * @param string $type
845
+	 */
839 846
 	public function assertFileNotIncluded($backend, $type, $files) {
840 847
 		$includedFiles = $this->getBackendFiles($backend, $type);
841 848
 		if(is_array($files)) {
Please login to merge, or discard this patch.
tests/forms/uploadfield/AssetFieldTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@
 block discarded – undo
356 356
 	 * Simulates a file upload
357 357
 	 *
358 358
 	 * @param string $fileField Name of the field to mock upload for
359
-	 * @param array $tmpFileName Name of temporary file to upload
359
+	 * @param string $tmpFileName Name of temporary file to upload
360 360
 	 * @return HTTPResponse form response
361 361
 	 */
362 362
 	protected function mockFileUpload($fileField, $tmpFileName) {
Please login to merge, or discard this patch.
tests/forms/uploadfield/UploadFieldTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -946,7 +946,7 @@  discard block
 block discarded – undo
946 946
 	 * Simulates a file upload
947 947
 	 *
948 948
 	 * @param string $fileField Name of the field to mock upload for
949
-	 * @param array $tmpFileName Name of temporary file to upload
949
+	 * @param string $tmpFileName Name of temporary file to upload
950 950
 	 * @return HTTPResponse form response
951 951
 	 */
952 952
 	protected function mockFileUpload($fileField, $tmpFileName) {
@@ -958,6 +958,9 @@  discard block
 block discarded – undo
958 958
 		);
959 959
 	}
960 960
 
961
+	/**
962
+	 * @param string $fileField
963
+	 */
961 964
 	protected function mockFileExists($fileField, $fileName) {
962 965
 		return $this->get(
963 966
 			"UploadFieldTest_Controller/Form/field/{$fileField}/fileexists?filename=".urlencode($fileName)
Please login to merge, or discard this patch.
tests/model/ImageTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use League\Flysystem\Filesystem;
4
-use SilverStripe\Assets\Flysystem\AssetAdapter;
5
-use SilverStripe\Assets\Flysystem\FlysystemAssetStore;
6
-use SilverStripe\Assets\Flysystem\FlysystemUrlPlugin;
7 3
 use SilverStripe\Assets\File;
8 4
 use SilverStripe\Assets\Filesystem as SSFilesystem;
9 5
 use SilverStripe\Assets\Image;
Please login to merge, or discard this patch.
View/Parsers/Diff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 	}
161 161
 
162 162
 	/**
163
-	 * @param string|array $content If passed as an array, values will be concatenated with a comma.
163
+	 * @param string $content If passed as an array, values will be concatenated with a comma.
164 164
 	 * @return array
165 165
 	 */
166 166
 	public static function getHTMLChunks($content) {
Please login to merge, or discard this patch.
View/Parsers/HTMLValue.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -139,6 +139,7 @@
 block discarded – undo
139 139
 	/**
140 140
 	 * Get the body element, or false if there isn't one (we haven't loaded any content
141 141
 	 * or this instance is in an invalid state)
142
+	 * @return \DOMElement
142 143
 	 */
143 144
 	public function getBody() {
144 145
 		$doc = $this->getDocument();
Please login to merge, or discard this patch.
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.