* Illegal string offset and invalid argument supplied to foreach, due to incorrect type information * Array internal pointer reset is unnecessary * $hookData unused since MW 1.35 due to incomplete revert * array_push() with single element * Unnecessary sprintf() * for loop can be replaced with str_repeat() * preg_replace() can be replaced with rtrim() * array_values() call is redundant * Unnecessary cast to string * Unnecessary ternary. Often the result relies on short-circuit evaluation, but I find it more readable nonetheless. Change-Id: I4c45bdb59b51b243fa96286bec8b58deb097d707 |
||
|---|---|---|
| .. | ||
| output | ||
| Profiler.php | ||
| ProfilerExcimer.php | ||
| ProfilerSectionOnly.php | ||
| ProfilerStub.php | ||
| ProfilerXhprof.php | ||
| ProfilingContext.php | ||
| SectionProfileCallback.php | ||
| SectionProfiler.php | ||