Upgrade php to 7.2. Fix Yii2 Object usages.

This commit is contained in:
ErickSkrauch 2018-03-15 00:11:42 +03:00
parent b0c573ae0f
commit a2c73e1d17
6 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
FROM registry.ely.by/elyby/accounts-php:1.6.0
FROM registry.ely.by/elyby/accounts-php:1.7.0
# bootstrap скрипт для проекта
COPY docker/php/bootstrap.sh /bootstrap.sh

View File

@ -1,4 +1,4 @@
FROM registry.ely.by/elyby/accounts-php:1.6.0-dev
FROM registry.ely.by/elyby/accounts-php:1.7.0-dev
# bootstrap скрипт для проекта
COPY docker/php/bootstrap.sh /bootstrap.sh

View File

@ -1,9 +1,9 @@
<?php
namespace common\models\amqp;
use yii\base\Object;
use yii\base\BaseObject;
class AccountBanned extends Object {
class AccountBanned extends BaseObject {
public $accountId;

View File

@ -1,9 +1,9 @@
<?php
namespace common\models\amqp;
use yii\base\Object;
use yii\base\BaseObject;
class AccountPardoned extends Object {
class AccountPardoned extends BaseObject {
public $accountId;

View File

@ -1,9 +1,9 @@
<?php
namespace common\models\amqp;
use yii\base\Object;
use yii\base\BaseObject;
class EmailChanged extends Object {
class EmailChanged extends BaseObject {
public $accountId;

View File

@ -1,9 +1,9 @@
<?php
namespace common\models\amqp;
use yii\base\Object;
use yii\base\BaseObject;
class UsernameChanged extends Object {
class UsernameChanged extends BaseObject {
public $accountId;