-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrote
EventContextProviderTest
to avoid using call_user_func()
`call_user_func()` is automatically optimized away by PHP-SRC starting from early PHP 7 releases, and therefore cannot be used to generate artificial stack frames that are detected in PHP-SRC itself. With this change, we use `array_map()` instead, which (for now) is not optimized away (yet).
- Loading branch information
Showing
1 changed file
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters