diff --git a/.travis.yml b/.travis.yml index 900991b..688d626 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/src/GeocodeWidget.php b/src/GeocodeWidget.php index f63f99d..700c059 100644 --- a/src/GeocodeWidget.php +++ b/src/GeocodeWidget.php @@ -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 } }