Coding Standards: please add a whitespace after `while`. You can use php-cs-fixer to do it all for you.