Open lsascha opened 4 years ago
Should not be too hard to implement, as all logic for parsing and evaluating is inside the class. Currently it only splits on PATTERN_SPLITBYEQUALSIGN
, which is equal to /\s*( *= *)\s*/
(which in turn looks strange with the explicit whitespace before and after the equal)
Description
PointcutSettingFilter should allow unequal conditions too.
Steps to Reproduce
* @Flow\Before("method(Foo\Bar\Domain\Model\SomeModel->setSomeProperty()) && setting(Foo.Bar.some.setting != '')"
as annotation to a methodExpected behavior
The aspect method should be called if configuration
Foo.Bar.some.setting
, has some value.Actual behavior
it gives the following error message:
Affected Versions
Flow: 6.1.1 and probably everything lower.