Page MenuHomePhabricator

Improve slow tests, code style and architecture issues before going default
Closed, ResolvedPublic

Description

I (@thiemowmde) had a 3 months break from the Move-Files-To-Commons codebase. When I came back, I noticed a few things:

  • 2 tests started failing for me locally, but nowhere else.
  • About 30 tests are reported as being slow (taking longer than 50 ms).
  • I found a few new issues when running the static code analysis my PHPStorm provides.
  • I realized we can start using more PHP 7 features now, most notably return types.

Most notable Patch-For-Review: