1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/src/Psalm/Internal
Olle Härstedt d8e8ce428e
Add new annotation: @psalm-self-out (#3650)
* Add new config: sealAllMethods

* Add some more tests

* Fix codesniffer issue with preg_quote

* Fix missing method in test

* New tag @self-out (WIP)

* Add self_out_type to method storage

* Add some notes

* More work on self-out (WIP)

* More work on self-out (WIP)

* Use psalm-self-out instead of self-out

* Remove extra file

* Cleanup

* Wrap around try-catch - how to check if a method has/should have storage?

* New method hasStorage()

* Fix indentation

* Fix some errors

* Fix indentation

* Cast storage type to type

* Add proper use-statement in method storage

* Correct test class name

* Allow self_out to be null

* method_id can be string (why, when?)

Co-authored-by: Olle <noemail>
2020-07-01 18:10:24 -04:00
..
Analyzer Add new annotation: @psalm-self-out (#3650) 2020-07-01 18:10:24 -04:00
Codebase Add new annotation: @psalm-self-out (#3650) 2020-07-01 18:10:24 -04:00
Diff Fix #3668 - taint property types for magic properties without @property 2020-06-25 00:24:37 -04:00
ExecutionEnvironment Add CI_BRANCH var 2019-12-03 00:44:19 -05:00
FileManipulation Clean up comment parsing 2020-05-28 22:14:41 -04:00
Fork Fix #2994 (#3016) 2020-03-25 21:25:33 -04:00
Json Use pretty print for JSON reporting. (#3364) 2020-05-18 08:40:20 -04:00
LanguageServer Added new language server options and functionality. (#3161) 2020-04-17 00:47:18 -04:00
PhpTraverser Allow types to be traversed 2020-03-14 23:54:51 -04:00
PhpVisitor Add new annotation: @psalm-self-out (#3650) 2020-07-01 18:10:24 -04:00
PluginManager Fix a couple of bugs 2020-02-21 01:32:22 -05:00
Provider Reconciling should preserve taints 2020-06-25 17:04:18 -04:00
Scanner Add new annotation: @psalm-self-out (#3650) 2020-07-01 18:10:24 -04:00
Scope Remove some unnecessary errors 2020-02-06 23:10:18 -05:00
Stubs Add psalm-taint-specialize for preg_replace_callback (#3683) 2020-06-26 08:58:57 -04:00
Taint Reduce memory footprint a little 2020-06-25 19:12:30 -04:00
Type Fix #3716 - prevent crash for Foo|? return type 2020-06-29 17:52:55 -04:00
TypeVisitor Add wildcard support for class constants in template. (#3489) 2020-05-30 16:55:18 -04:00
CallMap_71_delta.php
CallMap_72_delta.php $ignore parameter of \sodium_base642bin() is optional (#2997) 2020-03-20 21:09:45 -04:00
CallMap_73_delta.php
CallMap_74_delta.php update proc_open() types for PHP 7.4 (#3333) 2020-05-10 21:11:27 -04:00
CallMap.php Add RdKafka\ProducerTopic::producev() to CallMap (#3700) 2020-06-28 13:15:11 -04:00
Clause.php Only warn about clauses in the currently-scanned conditional 2019-12-08 16:35:56 -05:00
exception_handler.php Add an exception handler that prints full exception trace (#2418) 2019-12-04 23:17:08 -05:00
InternalTaintSinkMap.php Mark create_function() as a taint sink (#3729) 2020-07-01 18:09:30 -04:00
MethodIdentifier.php Add non-empty-lowercase-string type 2020-05-15 10:18:05 -04:00
PropertyMap.php tidyNode->child will be null if the node does not have any children (#3599) 2020-06-17 09:29:23 -04:00
ReferenceConstraint.php