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" - "5.6"
- "7.0" - "7.0"
- "7.1" - "7.1"
- "7.2"
env: 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: matrix:
exclude: 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 sudo: false

View File

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