Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

DevKit updates for 1.x branch #244

Merged
merged 2 commits into from
Jan 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/Filter/AbstractDateFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down