1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:34:40 +01:00
This commit is contained in:
Daniil Gentili 2021-04-05 22:52:05 +02:00
parent 131d20f166
commit 88bfffbc94
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 1 additions and 18 deletions

View File

@ -15,7 +15,7 @@ use function Amp\call;
*/
class MemoryArray extends \ArrayIterator implements DbArray
{
protected function __construct($array = [], $flags = 0)
public function __construct($array = [], $flags = 0)
{
parent::__construct((array) $array, $flags | self::STD_PROP_LIST);
}

View File

@ -12,19 +12,6 @@ COMMIT_MESSAGE="$(git log -1 --pretty=%B HEAD)"
echo "Is release: $IS_RELEASE"
skip=n
[ $PHP_MAJOR_VERSION -eq 8 ] && [ $PHP_MINOR_VERSION -ge 0 ] && {
composer update
composer test || {
cat tests/MadelineProto.log
exit 1
}
cat tests/MadelineProto.log
} || {
skip=y
echo "Skip"
}
# Clean up
rm -rf phar7 phar5 MadelineProtoPhar
madelinePath=$PWD
@ -35,10 +22,6 @@ cd phar7
[ "$IS_RELEASE" == "y" ] && composer=$BRANCH || composer="dev-$BRANCH#$GITHUB_SHA"
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update -q
sudo apt-get install php8.0-cli php8.0-mbstring php8.0-curl php8.0-xml -y
composer() {
php8.0 $(which composer) --no-plugins "$@"
}