Completed
Push — master ( fab0a4...8e249d )
by Jeroen
41:43 queued 16:43
created
engine/schema/migrations/20170728040000_change_table_engine.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Phinx\Db\Adapter\MysqlAdapter;
4 3
 use Phinx\Migration\AbstractMigration;
5 4
 
6 5
 class ChangeTableEngine extends AbstractMigration {
Please login to merge, or discard this patch.
engine/lib/access.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
  * @subpackage Access
12 12
  */
13 13
 
14
-use Elgg\Project\Paths;
15
-
16 14
 /**
17 15
  * Set if Elgg's access system should be ignored.
18 16
  *
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@
 block discarded – undo
301 301
  * @param string $name       The name of the collection.
302 302
  * @param int    $owner_guid The GUID of the owner (default: currently logged in user).
303 303
  *
304
- * @return int|false The collection ID if successful and false on failure.
304
+ * @return integer The collection ID if successful and false on failure.
305 305
  * @see update_access_collection()
306 306
  * @see delete_access_collection()
307 307
  */
Please login to merge, or discard this patch.
engine/lib/annotations.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
  *
34 34
  * @param int $id The id of the annotation object being retrieved.
35 35
  *
36
- * @return \ElggAnnotation|false
36
+ * @return ElggExtender
37 37
  */
38 38
 function elgg_get_annotation_from_id($id) {
39 39
 	return _elgg_services()->annotations->get($id);
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
  * @subpackage Core
8 8
  */
9 9
 
10
-use Elgg\Project\Paths;
11
-
12 10
 /**
13 11
  * Convert a database row to a new \ElggAnnotation
14 12
  *
Please login to merge, or discard this patch.
engine/lib/elgglib.php 2 patches
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
  *
250 250
  * @param string $location 'head' or 'footer'
251 251
  *
252
- * @return array
252
+ * @return string[]
253 253
  * @since 1.8.0
254 254
  */
255 255
 function elgg_get_loaded_js($location = 'head') {
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
 /**
301 301
  * Get the loaded CSS URLs
302 302
  *
303
- * @return array
303
+ * @return string[]
304 304
  * @since 1.8.0
305 305
  */
306 306
 function elgg_get_loaded_css() {
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
  * @param string $type     Type of file: js or css
356 356
  * @param string $location Page location
357 357
  *
358
- * @return array
358
+ * @return string[]
359 359
  * @since 1.8.0
360 360
  */
361 361
 function elgg_get_loaded_external_files($type, $location) {
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
  * @param string $directory  Directory to look in
371 371
  * @param array  $exceptions Array of filenames to ignore
372 372
  * @param array  $list       Array of files to append to
373
- * @param mixed  $extensions Array of extensions to allow, null for all. Use a dot: array('.php').
373
+ * @param string[]  $extensions Array of extensions to allow, null for all. Use a dot: array('.php').
374 374
  *
375 375
  * @return array Filenames in $directory, in the form $directory/filename.
376 376
  */
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
 /**
439 439
  * Display a system message on next page load.
440 440
  *
441
- * @param string|array $message Message or messages to add
441
+ * @param string $message Message or messages to add
442 442
  *
443 443
  * @return bool
444 444
  */
@@ -635,7 +635,7 @@  discard block
 block discarded – undo
635 635
  * @param string $object_type The object type
636 636
  * @param string $object      The object involved in the event
637 637
  *
638
- * @return true
638
+ * @return boolean
639 639
  *
640 640
  * @see elgg_trigger_before_event
641 641
  */
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
  * @param string $hook Hook name
817 817
  * @param string $type Hook type
818 818
  *
819
- * @return array
819
+ * @return callable[]
820 820
  *
821 821
  * @since 2.0.0
822 822
  */
@@ -830,7 +830,7 @@  discard block
 block discarded – undo
830 830
  * @param string $event Event name
831 831
  * @param string $type  Object type
832 832
  *
833
- * @return array
833
+ * @return callable[]
834 834
  *
835 835
  * @since 2.0.0
836 836
  */
@@ -880,7 +880,7 @@  discard block
 block discarded – undo
880 880
  * A {@elgg_plugin_hook debug log} is called.  If a handler returns
881 881
  * false, it will stop the default logging method.
882 882
  *
883
- * @param mixed $value     The value
883
+ * @param string $value     The value
884 884
  * @param bool  $to_screen Display to screen?
885 885
  * @return void
886 886
  * @since 1.7.0
@@ -1222,7 +1222,7 @@  discard block
 block discarded – undo
1222 1222
  * Extract class names from an array with key "class", optionally merging into a preexisting set.
1223 1223
  *
1224 1224
  * @param array           $array    Source array
1225
- * @param string|string[] $existing Existing name(s)
1225
+ * @param string[] $existing Existing name(s)
1226 1226
  * @return string[]
1227 1227
  *
1228 1228
  * @since 2.3.0
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Elgg\Filesystem\Directory;
4 4
 use Elgg\Http\ResponseBuilder;
5
-use Elgg\Project\Paths;
6 5
 
7 6
 /**
8 7
  * Bootstrapping and helper procedural code available for use in Elgg core and plugins.
Please login to merge, or discard this patch.
engine/lib/entities.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
  * Procedural code for creating, loading, and modifying \ElggEntity objects.
4 4
  */
5 5
 
6
-use Elgg\Project\Paths;
7
-
8 6
 /**
9 7
  * Return the id for a given subtype.
10 8
  *
Please login to merge, or discard this patch.
engine/lib/filestore.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 use Symfony\Component\HttpFoundation\File\UploadedFile;
11
-use Elgg\Project\Paths;
12 11
 
13 12
 /**
14 13
  * Get the size of the specified directory.
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -396,7 +396,7 @@
 block discarded – undo
396 396
  * Returns an array of uploaded file objects regardless of upload status/errors
397 397
  *
398 398
  * @param string $input_name Form input name
399
- * @return UploadedFile[]|false
399
+ * @return Elgg\Http\UploadedFile[]
400 400
  */
401 401
 function elgg_get_uploaded_files($input_name) {
402 402
 	return _elgg_services()->uploads->getFiles($input_name);
Please login to merge, or discard this patch.
engine/lib/input.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
  * @subpackage Input
8 8
  */
9 9
 
10
-use Elgg\Project\Paths;
11
-
12 10
 /**
13 11
  * Get some input from variables passed submitted through GET or POST.
14 12
  *
Please login to merge, or discard this patch.
engine/lib/metastrings.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
  * @subpackage DataModel.MetaStrings
8 8
  */
9 9
 
10
-use Elgg\Project\Paths;
11
-
12 10
 /**
13 11
  * Returns an array of either \ElggAnnotation or \ElggMetadata objects.
14 12
  * Accepts all elgg_get_entities() options for entity restraints.
Please login to merge, or discard this patch.
engine/lib/plugins.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
  * Contains functions for managing plugins
5 5
  */
6 6
 
7
-use Elgg\Filesystem\Directory;
8
-use Elgg\Project\Paths;
9
-
10 7
 /**
11 8
  * Discovers plugins in the plugins_path setting and creates \ElggPlugin
12 9
  * entities for them if they don't exist.  If there are plugins with entities
Please login to merge, or discard this patch.