Fixes from php7.2 migration
Change-Id: Ib8017917e4b31894de6a130bf1c1ddf32ecc36ed
This commit is contained in:
parent
a33f002611
commit
609ec9c7ce
@ -43,7 +43,7 @@ class SummitLocationImageSerializer extends SilverStripeSerializer
|
||||
if($this->object->hasPicture())
|
||||
{
|
||||
$picture = $this->object->getPicture();
|
||||
$values['image_url'] = $picture->getFilename()->getUrl();
|
||||
$values['image_url'] = $picture->getUrl();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ class File extends SilverstripeBaseModel
|
||||
private $cloud_status;
|
||||
|
||||
/**
|
||||
* @ORM\Column(name="CloudSize", type="int")
|
||||
* @ORM\Column(name="CloudSize", type="integer")
|
||||
*/
|
||||
private $cloud_size;
|
||||
|
||||
|
32
bindep.txt
32
bindep.txt
@ -1,32 +1,22 @@
|
||||
mcrypt
|
||||
php7.2 [platform:dpkg]
|
||||
|
||||
php [platform:ubuntu-xenial]
|
||||
php5 [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-cli [platform:dpkg]
|
||||
|
||||
php-cli [platform:rpm platform:ubuntu-xenial]
|
||||
php5-cli [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-common [platform:dpkg]
|
||||
|
||||
php-common [platform:ubuntu-xenial]
|
||||
php5-common [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-curl [platform:dpkg]
|
||||
|
||||
php-curl [platform:rpm platform:ubuntu-xenial]
|
||||
php5-curl [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-gd [platform:dpkg]
|
||||
|
||||
php-gd [platform:rpm platform:ubuntu-xenial]
|
||||
php5-gd [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-json [platform:dpkg]
|
||||
|
||||
php-json [platform:rpm platform:ubuntu-xenial]
|
||||
php5-json [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-mysqlnd [platform:dpkg]
|
||||
|
||||
php-mysql [platform:rpm platform:ubuntu-xenial]
|
||||
php5-mysql [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-xml [platform:dpkg]
|
||||
|
||||
php-gmp [platform:rpm platform:ubuntu-xenial]
|
||||
php5-gmp [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-mbstring [platform:dpkg]
|
||||
|
||||
php-mcrypt [platform:ubuntu-xenial]
|
||||
php5-mcrypt [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-gmp [platform:dpkg]
|
||||
|
||||
php-ssh2 [platform:ubuntu-xenial]
|
||||
php5-ssh2 [platform:dpkg !platform:ubuntu-xenial]
|
||||
php7.2-ssh2 [platform:dpkg]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user