File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Validator/Tests/Constraints Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
* Deprecate ` CouchbaseBucketAdapter ` , use ` CouchbaseCollectionAdapter ` instead
8
8
9
+ ExpressionLanguage
10
+ ------------------
11
+
12
+ * Deprecate passing ` null ` as the allowed variable names to ` ExpressionLanguage::lint() ` and ` Parser::lint() ` ,
13
+ pass the ` IGNORE_UNKNOWN_VARIABLES ` flag instead to ignore unknown variables during linting
14
+
9
15
FrameworkBundle
10
16
---------------
11
17
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ CHANGELOG
7
7
* Add support for PHP ` min ` and ` max ` functions
8
8
* Add ` Parser::IGNORE_UNKNOWN_VARIABLES ` and ` Parser::IGNORE_UNKNOWN_FUNCTIONS ` flags to control whether
9
9
parsing and linting should check for unknown variables and functions.
10
+ * Deprecate passing ` null ` as the allowed variable names to ` ExpressionLanguage::lint() ` and ` Parser::lint() ` ,
11
+ pass the ` IGNORE_UNKNOWN_VARIABLES ` flag instead to ignore unknown variables during linting
10
12
11
13
7.0
12
14
---
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function testExpressionWithoutNames()
62
62
{
63
63
$ this ->validator ->validate ('1 + 1 ' , new ExpressionSyntax ([
64
64
'message ' => 'myMessage ' ,
65
- ]));
65
+ ], null , null , [] ));
66
66
67
67
$ this ->assertNoViolation ();
68
68
}
You can’t perform that action at this time.
0 commit comments