Skip to content

Commit a5c9869

Browse files
committed
OXDEV-9583: Add Changelog entry; Suppress phpmd warning;
1 parent d679a90 commit a5c9869

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG-v11.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Undecided] - unreleased
7+
## [11.1.0] - unreleased
88

99
### Changed
1010
- Update module to work with OXID eShop 7.4
1111

12+
### Added
13+
- A `matches` method was added to `FilterInterface` (and it's implementations) to allow checking if a filter matches a given value.
14+
1215
## [11.0.0] - 2025-06-11
1316
This is stable release for v11.0.0. No changes have been made since v11.0.0-rc.1.
1417

@@ -25,5 +28,6 @@ This is stable release for v11.0.0. No changes have been made since v11.0.0-rc.1
2528
- Updated `MissingSignatureKey` exception to use a constructor instead of a static factory method
2629
- Upgrade GraphQLite to 7.0
2730

31+
[11.1.0]: https://github.com/OXID-eSales/graphql-base-module/compare/v11.0.0...b-7.4.x
2832
[11.0.0]: https://github.com/OXID-eSales/graphql-base-module/compare/v11.0.0-rc.1...v11.0.0
2933
[11.0.0-rc.1]: https://github.com/OXID-eSales/graphql-base-module/compare/v10.0.0...v11.0.0-rc.1

src/DataType/Filter/AbstractNumberFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ protected function atLeastOneIsNotNull(mixed ...$values): bool
6464
return false;
6565
}
6666

67+
/** @SuppressWarnings(PHPMD.CyclomaticComplexity) */
6768
protected function matches(mixed $value): bool
6869
{
6970
if ($this->equals() !== null && $value !== $this->equals()) {
@@ -83,7 +84,6 @@ protected function matches(mixed $value): bool
8384
}
8485

8586
return true;
86-
8787
}
8888

8989
protected static function checkRangeOfBetween(?array $between, callable $checkMethod): void

0 commit comments

Comments
 (0)