mirror of
https://github.com/netzmacht/contao-leaflet-geocode-widget.git
synced 2025-12-02 05:33:40 +01:00
Update travis configuration and fix code style issue.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user