WIP : Documentation ux #63
Annotations
2 errors and 10 warnings
Add results to PR
Process completed with exit code 1.
|
Run Phan analysis
Process completed with exit code 1.
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L35
documentation.class.php: PhanPluginUnknownArrayPropertyType: Property \Documentation->view has an array type, but does not specify any key types or value types (Types inferred after analysis: array|array<int,string>)
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L42
documentation.class.php: PhanPluginUnknownArrayPropertyType: Property \Documentation->menu has an array type, but does not specify any key types or value types (Types inferred after analysis: array|array<string,array<string,array<string,array<string,array<string,string>>>>>|array<string,array<string,array<string,array<string,array>>>>|array<string,array<string,array<string,array<string,string>>>>|array<string,array<string,array<string,string>>>|array<string,array<string,array>>|array<string,array<string,mixed>>|array<string,array<string,non-empty-string>>|array<string,array<string,string>>)
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L49
documentation.class.php: PhanPluginUnknownArrayPropertyType: Property \Documentation->summary has an array type, but does not specify any key types or value types
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L259
documentation.class.php: PhanPluginUnknownArrayMethodParamType: Method \Documentation::displayMenu has a parameter type of array for $menu, but does not specify any key types or value types (Types inferred after analysis: non-empty-array<mixed,mixed>|non-empty-array<string,array<string,array<string,array<string,array<string,string>>>>>|non-empty-array<string,array<string,array<string,array<string,array>>>>|non-empty-array<string,array<string,array<string,array<string,string>>>>|non-empty-array<string,array<string,array<string,string>>>|non-empty-array<string,array<string,array>>|non-empty-array<string,array<string,mixed>>|non-empty-array<string,array<string,non-empty-string>>|non-empty-array<string,array<string,string>>)
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L334
documentation.class.php: PhanTypeArraySuspiciousNull: Suspicious array access to $menu_entry of type null
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L334
documentation.class.php: PhanTypeArraySuspiciousNull: Suspicious array access to $menu_entry['submenu'] of type null
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L334
documentation.class.php: PhanUndeclaredVariable: Variable $menu_entry is undeclared
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L356
documentation.class.php: PhanPluginUnknownArrayMethodParamType: Method \Documentation::displaySummary has a parameter type of array for $menu, but does not specify any key types or value types (Types inferred after analysis: array<string,array>|array<string,null>|array<string,string>|mixed|non-empty-array<string,array<string,array<string,array<string,string>>>>|non-empty-array<string,array<string,array<string,array>>>|non-empty-array<string,array<string,array<string,string>>>|non-empty-array<string,array<string,string>>|non-empty-array<string,array>|non-empty-array<string,mixed>|non-empty-array<string,non-empty-string>|non-empty-array<string,string>|non-empty-mixed)
|
Add results to PR:
htdocs/admin/tools/ui/class/documentation.class.php#L393
documentation.class.php: PhanPluginUnknownArrayMethodParamType: Method \Documentation::showCode has a parameter type of array for $lines, but does not specify any key types or value types (Types inferred after analysis: array<int,string>|non-empty-list<string>)
|
Add results to PR:
htdocs/admin/tools/ui/components/badges.php#L52
badges.php: PhanPluginWhitespaceTrailing: The first occurrence of trailing whitespace was seen here.
|
Loading