diff options
| author | xXx-caillou-xXx | 2017-12-20 18:09:53 +0100 |
|---|---|---|
| committer | jvoisin | 2017-12-20 18:09:53 +0100 |
| commit | e7f541396715ee2895abcf73044b91ae9b746201 (patch) | |
| tree | ba0e9765e7f14f04b92585df1f3fcd1830ab4b00 /src/tests/disabled_functions_runtime.phpt | |
| parent | 8d6cc4f2b63c3f0dc31fe6cecd34ac023ea1cccb (diff) | |
Better parsing of the rules
Thanks to this huge commit from @xXx-caillou-xXx, we can now write amazingly flexible rules.
Diffstat (limited to 'src/tests/disabled_functions_runtime.phpt')
| -rw-r--r-- | src/tests/disabled_functions_runtime.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/disabled_functions_runtime.phpt b/src/tests/disabled_functions_runtime.phpt index 1c6a141..1508735 100644 --- a/src/tests/disabled_functions_runtime.phpt +++ b/src/tests/disabled_functions_runtime.phpt | |||
| @@ -23,7 +23,7 @@ test('1338');test('1337'); | |||
| 23 | ?> | 23 | ?> |
| 24 | --EXPECTF-- | 24 | --EXPECTF-- |
| 25 | 1338 | 25 | 1338 |
| 26 | [snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'test' in %a has been disabled, because its argument 'param' content (1337) matched a rule. | 26 | [snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'test' in %a has been disabled, because its argument '$param' content (1337) matched a rule. |
| 27 | --CLEAN-- | 27 | --CLEAN-- |
| 28 | <?php | 28 | <?php |
| 29 | unlink("file_to_include1.php"); | 29 | unlink("file_to_include1.php"); |
