mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 01:34:40 +01:00
Bugfix
This commit is contained in:
parent
131d20f166
commit
88bfffbc94
@ -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);
|
||||
}
|
||||
|
@ -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 "$@"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user