From d2048079fd728a71bdede29f4a1e8a4ba8f7eee1 Mon Sep 17 00:00:00 2001 From: SonataCI Date: Tue, 19 Jan 2021 08:07:20 +0000 Subject: [PATCH 1/2] DevKit updates --- .github/workflows/lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c0d3175..3d3e9f1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v2 - name: Run PHP-CS-Fixer - uses: docker://oskarstark/php-cs-fixer-ga:2.17.2 + uses: docker://oskarstark/php-cs-fixer-ga:2.18.0 with: args: --ansi --verbose --diff --dry-run From ca8cbab4df4a60368b3616532bd8f632b76a1c5d Mon Sep 17 00:00:00 2001 From: Sullivan SENECHAL Date: Tue, 19 Jan 2021 10:10:36 +0100 Subject: [PATCH 2/2] Applied fixes from FlintCI (#246) --- src/Filter/AbstractDateFilter.php | 4 ++-- tests/bootstrap.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Filter/AbstractDateFilter.php b/src/Filter/AbstractDateFilter.php index 4e29553..fbbdf36 100644 --- a/src/Filter/AbstractDateFilter.php +++ b/src/Filter/AbstractDateFilter.php @@ -68,7 +68,7 @@ public function filter(ProxyQueryInterface $query, $alias, $field, $data) ' Implement %s instead.', RangeFilterInterface::class ), - E_USER_DEPRECATED + \E_USER_DEPRECATED ); $range = $this->range; @@ -185,7 +185,7 @@ protected function getFilterTypeClass() { @trigger_error( __METHOD__.' should be implemented. It will be abstract in 2.0.', - E_USER_DEPRECATED + \E_USER_DEPRECATED ); return DateTimeType::class; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index ab2851f..f7fae58 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -20,7 +20,7 @@ /* * fix encoding issue while running text on different host with different locale configuration */ -setlocale(LC_ALL, 'en_US.UTF-8'); +setlocale(\LC_ALL, 'en_US.UTF-8'); require_once __DIR__.'/../vendor/autoload.php';