From 4cd966c5c0d0eb4dc4a33ce36abdf59519f81b1a Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 4 Sep 2019 16:33:27 +0000 Subject: [PATCH] Log during tests --- docs | 2 +- src/danog/MadelineProto/DocsBuilder/Methods.php | 4 ++-- tests/makephar.sh | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs b/docs index 9a873608..fe346258 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 9a873608310b43395032755c35bbdf17d35e23d7 +Subproject commit fe346258733323e5173e674f15059dea1a1eb880 diff --git a/src/danog/MadelineProto/DocsBuilder/Methods.php b/src/danog/MadelineProto/DocsBuilder/Methods.php index d6695815..3fe74de2 100644 --- a/src/danog/MadelineProto/DocsBuilder/Methods.php +++ b/src/danog/MadelineProto/DocsBuilder/Methods.php @@ -94,8 +94,8 @@ trait Methods '; $this->human_docs_methods[$this->td_descriptions['methods'][$data['method']]['description'].': '.$data['method']] = '* '.$this->td_descriptions['methods'][$data['method']]['description'].': '.$data['method'].' - - '; + +'; $params = ''; $lua_params = ''; diff --git a/tests/makephar.sh b/tests/makephar.sh index 49c48f82..a53eeef3 100755 --- a/tests/makephar.sh +++ b/tests/makephar.sh @@ -71,6 +71,7 @@ cd .. php -v php=5 + others="70? ?" } [ $PHP_MAJOR_VERSION -eq 7 ] && { [ $PHP_MINOR_VERSION -eq 0 ] && { @@ -81,8 +82,10 @@ cd .. $php7to70 convert --copy-all phar7 phar5 >/dev/null php=70 + others="5? ?" } || { cp -a phar7 phar5 + others="5? 70?" } } @@ -100,6 +103,7 @@ export TRAVIS_PHAR="madeline$php$branch.phar" export TEST_SECRET_CHAT=test export TEST_USERNAME=danogentili export TEST_DESTINATION_GROUPS='["@danogentili"]' +export MTPROTO_SETTINGS='{"logger":{"logger_level":5}}' tests/testing.php <