codeception/verify 2.1 removed support for expect()->int() so we need to replace it with verify()->isInt(). [MAILPOET-5664]