Completed
Push — reorg/update-project ( 1d471c...78741b )
by
unknown
309:43 queued 297:51
created
tools/docker/mu-plugins/debug.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
  *
39 39
  * A null argument will log the file and line number of the l() call.
40 40
  *
41
- * @param mixed $stuff Information to log.
41
+ * @param string $stuff Information to log.
42 42
  */
43 43
 function l( $stuff = null ) {
44 44
 	// Do nothing when debugging is off.
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
  *
167 167
  * @param string $name Timer name.
168 168
  *
169
- * @return mixed void or elapsed time.
169
+ * @return null|double void or elapsed time.
170 170
  */
171 171
 function e( $name = '' ) {
172 172
 	static $times = array();
Please login to merge, or discard this patch.
projects/packages/analyzer/src/class-declarations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
 		}
34 34
 	}
35 35
 
36
+	/**
37
+	 * @param string $root
38
+	 */
36 39
 	public function scan_dir( $root, $exclude = array() ) {
37 40
 
38 41
 		if ( is_null( $exclude ) || ! is_array( $exclude ) ) {
Please login to merge, or discard this patch.
projects/packages/analyzer/src/class-differences.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 
10 10
 class Differences extends PersistentList {
11 11
 
12
+	/**
13
+	 * @param string $path
14
+	 */
12 15
 	private function slashit( $path ) {
13 16
 		$path .= ( substr( $path, -1 ) == '/' ? '' : '/' );
14 17
 		return $path;
Please login to merge, or discard this patch.
projects/packages/analyzer/src/class-invocations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 		}
38 38
 	}
39 39
 
40
+	/**
41
+	 * @param string $root
42
+	 */
40 43
 	public function scan_dir( $root, $exclude = array() ) {
41 44
 		$filter = function ( $file, $key, $iterator ) use ( $exclude ) {
42 45
 			if ( $iterator->hasChildren() && ! in_array( $file->getFilename(), $exclude ) ) {
Please login to merge, or discard this patch.
projects/packages/analyzer/src/class-PersistentList.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@
 block discarded – undo
31 31
 
32 32
 	/**
33 33
 	 * Saves the items to a file and returns the file contents
34
+	 * @param string $file_path
34 35
 	 */
35 36
 	public function save( $file_path, $allow_empty = true ) {
36 37
 
Please login to merge, or discard this patch.
projects/packages/analyzer/src/Declarations/class-visitor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
 	private $declarations;
12 12
 	private $current_relative_path;
13 13
 
14
+	/**
15
+	 * @param  $declarations
16
+	 */
14 17
 	public function __construct( $current_relative_path, $declarations ) {
15 18
 		$this->current_relative_path = $current_relative_path;
16 19
 		$this->declarations          = $declarations;
Please login to merge, or discard this patch.
projects/packages/analyzer/src/Dependencies/class-dependency.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 	public $declaration;
10 10
 	public $invocation_root;
11 11
 
12
+	/**
13
+	 * @param string $invocation_root
14
+	 */
12 15
 	function __construct( $invocation, $declaration, $invocation_root = null ) {
13 16
 		$this->invocation      = $invocation;
14 17
 		$this->declaration     = $declaration;
Please login to merge, or discard this patch.
projects/packages/analyzer/src/Invocations/class-function-call.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 	public $line;
16 16
 	public $func_name;
17 17
 
18
+	/**
19
+	 * @param string $func_name
20
+	 */
18 21
 	public function __construct( $path, $line, $func_name ) {
19 22
 		$this->path      = $path;
20 23
 		$this->line      = $line;
Please login to merge, or discard this patch.
projects/packages/analyzer/src/Invocations/class-visitor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 	private $invocations;
10 10
 	private $file_path;
11 11
 
12
+	/**
13
+	 * @param  $invocations
14
+	 */
12 15
 	public function __construct( $file_path, $invocations ) {
13 16
 		$this->file_path   = $file_path;
14 17
 		$this->invocations = $invocations;
Please login to merge, or discard this patch.