1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-13 09:47:29 +01:00
psalm/src/Psalm/Internal
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
..
Algebra Introduce Virtual Nodes in order to differentiate real nodes in plugins (#5222) 2021-02-15 16:18:41 -05:00
Analyzer Added event to prevent tainting. (#5398) 2021-03-19 22:41:41 -04:00
Codebase Expand documentation method return type to ensure we’re giving a fair shot 2021-03-18 11:07:02 -04:00
DataFlow Add hints for MixedAssignment issues 2021-03-17 01:10:42 -04:00
Diff Fix #5297 - be more sensitive to additions and deletions in language server mode 2021-02-28 01:36:06 -05:00
ExecutionEnvironment
FileManipulation
Fork
Json Fix JSON reports with long UTF8 strings (#5300) 2021-03-01 11:23:21 -05:00
LanguageServer Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
PhpTraverser
PhpVisitor Allow multiple version-dependent method stubs (#5337) 2021-03-06 17:18:51 -05:00
PluginManager
Provider iterator_to_array must always return array-key (#5400) 2021-03-16 13:45:34 -04:00
Scanner Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
Scope
Stubs/Generator Fix inference of conditional types when wildcard constant given 2021-02-20 12:21:52 -05:00
Type Fix #5406 - track more changes to assertion type 2021-03-16 16:33:09 -04:00
TypeVisitor Support template property invariance (fixes #5371) (#5414) 2021-03-19 21:55:50 -04:00
Algebra.php
Clause.php
Composer.php
ErrorHandler.php Convert PHP errors / warnings / notices to exceptions (#5260) 2021-02-22 09:19:34 -05:00
EventDispatcher.php Added event to prevent tainting. (#5398) 2021-03-19 22:41:41 -04:00
IncludeCollector.php
MethodIdentifier.php
ReferenceConstraint.php
RuntimeCaches.php