1 | <?php |
||
8 | class FileSystemUtils |
||
9 | { |
||
10 | /** |
||
11 | * Set the current working directory if it was specified. |
||
12 | */ |
||
13 | public static function applyDir($dir) |
||
23 | |||
24 | /** |
||
25 | * Create a directory at the specified path. Also create any parent |
||
26 | * directories that do not yet exist. |
||
27 | * |
||
28 | * @param $path The directory path to create. |
||
29 | * @return boolean |
||
30 | */ |
||
31 | public static function mkdirParents($path) |
||
41 | |||
42 | /** |
||
43 | * Return all of the directories in a given directory |
||
44 | * |
||
45 | * @param string $d directory to scann |
||
46 | * @return string[] |
||
47 | */ |
||
48 | public static function listDirectories($d) |
||
54 | |||
55 | |||
56 | /** |
||
57 | * Find all installed projects in the global 'base-dir'. |
||
58 | * |
||
59 | * @param string $globalBaseDir |
||
60 | * @return string[] |
||
61 | */ |
||
62 | public static function allInstalledProjectsInBaseDir($globalBaseDir) |
||
73 | |||
74 | /** |
||
75 | * Find all installed projects in one organization dir. |
||
76 | * |
||
77 | * @param string $globalOrgDir |
||
|
|||
78 | * @return string[] |
||
79 | */ |
||
80 | protected static function allInstalledProjectsInOneOrg($globalBaseDir, $org) |
||
94 | } |
||
95 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.