1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/examples/plugins
Samuel Mortenson 4aabb411a8
Added event to prevent tainting. (#5398)
* Added event to prevent tainting.

* Remove optional codebase parameter.

* Removed falsy check for codebase.

* Use two separate hooks for adding and removing taints

* Add slashes

* Update add/remove taint test name.

* Cleaned up SafeArrayKeyChecker example plugin.

* Added more AddRemoveTaintsEvent calls to codebase.

* Fix type check error with $added_taints param.

* Added AddRemoveTaintsEvent to remaining classes.

* Fix post-merge error.

* Add comma

* Remove $int_offset that never existed

Co-authored-by: Matt Brown <github@muglug.com>
2021-03-19 22:41:41 -04:00
..
composer-based/echo-checker implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
ClassUnqualifier.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
FunctionCasingChecker.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
PreventFloatAssignmentChecker.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
SafeArrayKeyChecker.php Added event to prevent tainting. (#5398) 2021-03-19 22:41:41 -04:00
StringChecker.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00