Update travis configuration and fix code style issue.

This commit is contained in:
David Molineus
2018-02-06 16:43:37 +01:00
parent 656ddc3089
commit 67d39cc8c0
2 changed files with 9 additions and 2 deletions

View File

@@ -4,12 +4,18 @@ php:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
env:
- CONTAO_VERSION=contao/core-bundle ^4.4.2
- CONTAO_VERSION=contao/core-bundle ~4.4.2
- CONTAO_VERSION=contao/core-bundle ~4.5.0
matrix:
exclude:
- php: 5.6
env: CONTAO_VERSION=contao/core-bundle ~4.5.0
- php: 7.0
env: CONTAO_VERSION=contao/core-bundle ~4.5.0
sudo: false

View File

@@ -18,7 +18,6 @@ use Netzmacht\Contao\Leaflet\GeocodeWidget\Widget\GeocodeWidget as BaseWidget;
/**
* Class GeocodeWidget
*
* @package Netzmacht\Contao\Leaflet\GeocodeWidget
* @deprecated
*/
class GeocodeWidget extends BaseWidget
@@ -30,6 +29,7 @@ class GeocodeWidget extends BaseWidget
{
parent::__construct($arrAttributes);
// @codingStandardsIgnoreStart
@trigger_error(
sprintf(
'"%s" is deprecated and will be removed in version 2.0.0. Use "%s" instead.',
@@ -38,5 +38,6 @@ class GeocodeWidget extends BaseWidget
),
E_USER_DEPRECATED
);
// @codingStandardsIgnoreEnd
}
}