Lengthcheck should be retrieved in the construct and brought into this scope using `use()`. Not sure how this worked on your machine, but Travis dies in all three PHP versions we support.