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