From a3150540d79e13eec05358cb7ddc1e332cbaf5a8 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 30 Dec 2019 00:04:06 +0000 Subject: [PATCH] Improve tests --- src/danog/MadelineProto/MTProtoTools/Files.php | 2 +- tests/makephar.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/danog/MadelineProto/MTProtoTools/Files.php b/src/danog/MadelineProto/MTProtoTools/Files.php index 388e9eb9..84e3e8d8 100644 --- a/src/danog/MadelineProto/MTProtoTools/Files.php +++ b/src/danog/MadelineProto/MTProtoTools/Files.php @@ -418,7 +418,7 @@ trait Files */ private $offset = 0; /** - * Callback + * Callback. * * @var ?callable */ diff --git a/tests/makephar.sh b/tests/makephar.sh index ea762399..9ebb2892 100755 --- a/tests/makephar.sh +++ b/tests/makephar.sh @@ -114,6 +114,7 @@ export MTPROTO_SETTINGS='{"logger":{"logger_level":5}}' php tools/makephar.php $HOME/phar5 "madeline$php$branch.phar" $TRAVIS_COMMIT cp tests/testing.php tests/testingBackup.php +set +e tests/testing.php <