Remove abstract static methods in PHP 5.6
This commit is contained in:
parent
948cf8162e
commit
dbba5a1583
@ -7,9 +7,6 @@ php:
|
||||
|
||||
before_install:
|
||||
- echo "phar.readonly = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- sudo add-apt-repository ppa:ondrej/php -y
|
||||
- sudo apt-get update -q
|
||||
- sudo apt-get install php7.3-cli php7.3-json php7.3-mbstring php7.3-curl php7.3-xml php7.3-json -y
|
||||
|
||||
script:
|
||||
- tests/makephar.sh
|
||||
|
@ -48,7 +48,11 @@ cp -a $madelinePath/src vendor/danog/madelineproto/
|
||||
cd ..
|
||||
|
||||
[ $PHP_MAJOR_VERSION -eq 5 ] && {
|
||||
composer global require spatie/7to5 dev-master#fdb11a2
|
||||
sudo add-apt-repository ppa:ondrej/php -y
|
||||
sudo apt-get update -q
|
||||
sudo apt-get install php7.3-cli php7.3-json php7.3-mbstring php7.3-curl php7.3-xml php7.3-json -y
|
||||
|
||||
composer global require spatie/7to5 dev-master#5c65f68
|
||||
[ -f $HOME/.composer/vendor/bin/php7to5 ] && php7to5=$HOME/.composer/vendor/bin/php7to5
|
||||
[ -f $HOME/.config/composer/vendor/bin/php7to5 ] && php7to5=$HOME/.config/composer/vendor/bin/php7to5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user