Code improvements (#1649)

* use global namespace for faster lookups
* phpstan level 5
This commit is contained in:
Kevin Papst
2020-04-19 14:37:14 +02:00
committed by GitHub
parent 7b25e9acaf
commit 0f3fa8fdbe
183 changed files with 604 additions and 574 deletions

View File

@@ -140,11 +140,11 @@ class UserFixtures extends Fixture
$username = $faker->userName;
$email = $faker->email;
if (in_array($username, $existingName)) {
if (\in_array($username, $existingName)) {
continue;
}
if (in_array($email, $existingEmail)) {
if (\in_array($email, $existingEmail)) {
continue;
}