Failed Conditions
Push — phpunit8 ( 01c53a...dfe72b )
by Andreas
286:44 queued 280:20
created
inc/Extension/AuthPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
      * @param   string $user Username
192 192
      * @param   string $pass Cleartext Password
193 193
      * @param   bool $sticky Cookie should not expire
194
-     * @return  bool         true on successful auth,
194
+     * @return  boolean|null         true on successful auth,
195 195
      *                       null on unknown result (fallback to checkPass)
196 196
      */
197 197
     public function trustExternal($user, $pass, $sticky = false)
Please login to merge, or discard this patch.
inc/media.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -658,7 +658,7 @@  discard block
 block discarded – undo
658 658
  * @param string   $file    path to file
659 659
  * @param string   $mime    mime type
660 660
  * @param bool|int $old_rev revision timestamp or false
661
- * @return bool
661
+ * @return false|null
662 662
  */
663 663
 function media_notify($id,$file,$mime,$old_rev=false,$current_rev=false){
664 664
     global $conf;
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
  * @param string     $image media id
936 936
  * @param string     $ns
937 937
  * @param null|int   $auth  permission level
938
- * @param string|int $rev   revision timestamp or empty string
938
+ * @param boolean $rev   revision timestamp or empty string
939 939
  */
940 940
 function media_tab_view($image, $ns, $auth=null, $rev='') {
941 941
     global $lang;
@@ -1004,7 +1004,7 @@  discard block
 block discarded – undo
1004 1004
  * @param string         $image media id
1005 1005
  * @param int            $auth permission level
1006 1006
  * @param int|string     $rev revision timestamp or empty string
1007
- * @param JpegMeta|bool  $meta
1007
+ * @param JpegMeta  $meta
1008 1008
  *
1009 1009
  * @author Kate Arzamastseva <[email protected]>
1010 1010
  */
@@ -1182,7 +1182,7 @@  discard block
 block discarded – undo
1182 1182
  * @param string        $image image id
1183 1183
  * @param int           $auth  permission level
1184 1184
  * @param string|int    $rev   revision timestamp, or empty string
1185
- * @param bool|JpegMeta $meta  image object, or create one if false
1185
+ * @param JpegMeta $meta  image object, or create one if false
1186 1186
  */
1187 1187
 function media_details($image, $auth, $rev='', $meta=false) {
1188 1188
     global $lang;
@@ -1793,7 +1793,7 @@  discard block
 block discarded – undo
1793 1793
  * @param string     $amp           separator
1794 1794
  * @param bool       $abs           absolute url?
1795 1795
  * @param bool       $params_array  return the parmeters array?
1796
- * @return string|array - link or link parameters
1796
+ * @return string[] - link or link parameters
1797 1797
  */
1798 1798
 function media_managerURL($params = false, $amp = '&amp;', $abs = false, $params_array = false) {
1799 1799
     global $ID;
Please login to merge, or discard this patch.
inc/Ui/Revisions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
      * @param string $id  page id or media id
269 269
      * @param int  $first
270 270
      * @param bool $hasNext
271
-     * @return array  html
271
+     * @return string  html
272 272
      */
273 273
     protected function htmlNavigation($id, $first, $hasNext)
274 274
     {
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
      * Returns instance of objRevInfo
318 318
      *
319 319
      * @param array $info  Revision info structure of a page or media file
320
-     * @return objRevInfo object (anonymous class)
320
+     * @return anonymous//inc/Ui/Revisions.php@return objRevInfo object (anonymous class)
321 321
      */
322 322
     protected function getObjRevInfo(array $info)
323 323
     {
Please login to merge, or discard this patch.
inc/Ui/Recent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      *
150 150
      * @param int  $first
151 151
      * @param bool $hasNext
152
-     * @return array  html
152
+     * @return string  html
153 153
      */
154 154
     protected function htmlNavigation($first, $hasNext)
155 155
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     /**
204 204
      * Returns instance of objRevInfo
205 205
      * @param array $info  Revision info structure of page or media
206
-     * @return objRevInfo object (anonymous class)
206
+     * @return anonymous//inc/Ui/Recent.php@return objRevInfo object (anonymous class)
207 207
      */
208 208
     protected function getObjRevInfo(array $info)
209 209
     {
Please login to merge, or discard this patch.
inc/html.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
  * @author     Andreas Gohr <[email protected]>
7 7
  */
8 8
 
9
-use dokuwiki\ChangeLog\MediaChangeLog;
10 9
 use dokuwiki\ChangeLog\PageChangeLog;
11 10
 use dokuwiki\Extension\AuthPlugin;
12 11
 use dokuwiki\Extension\Event;
Please login to merge, or discard this patch.