Fix php56 builds on travis
This commit is contained in:
@ -21,6 +21,9 @@ matrix:
|
|||||||
# - vendor
|
# - vendor
|
||||||
# - $HOME/.composer/cache
|
# - $HOME/.composer/cache
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [[ $TRAVIS_PHP_VERSION != '7.1' && $TRAVIS_PHP_VERSION != hhv* ]]; then
|
if [[ $TRAVIS_PHP_VERSION != '7.1' && $TRAVIS_PHP_VERSION != hhv* ]]; then
|
||||||
@ -34,7 +37,6 @@ install:
|
|||||||
- travis_retry composer install --prefer-dist --no-interaction
|
- travis_retry composer install --prefer-dist --no-interaction
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
|
||||||
- php -r "echo INTL_ICU_VERSION . \"\n\";"
|
- php -r "echo INTL_ICU_VERSION . \"\n\";"
|
||||||
- php -r "echo INTL_ICU_DATA_VERSION . \"\n\";"
|
- php -r "echo INTL_ICU_DATA_VERSION . \"\n\";"
|
||||||
- mysql --version
|
- mysql --version
|
||||||
|
|||||||
@ -230,7 +230,7 @@ class SettingsController extends Controller
|
|||||||
* @throws \Throwable
|
* @throws \Throwable
|
||||||
* @throws \yii\db\StaleObjectException
|
* @throws \yii\db\StaleObjectException
|
||||||
*/
|
*/
|
||||||
protected function disconnectSocialNetwork($id): void
|
protected function disconnectSocialNetwork($id)
|
||||||
{
|
{
|
||||||
/** @var SocialNetworkAccount $account */
|
/** @var SocialNetworkAccount $account */
|
||||||
$account = $this->socialNetworkAccountQuery->whereId($id)->one();
|
$account = $this->socialNetworkAccountQuery->whereId($id)->one();
|
||||||
|
|||||||
Reference in New Issue
Block a user