1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/tests/fixtures/expected_taint_graph.dot
Adrien LUCAS 6f1f680b2d
Add option to dump taint graph (#5080)
* Add option to dump taint graph

* Fix types

* Simplify types

Co-authored-by: Matthew Brown <github@muglug.com>
2021-01-22 16:04:15 -05:00

16 lines
969 B
Plaintext

digraph Taints {
"$_GET:src/FileWithErrors.php:345" -> "$_GET['abc']-src/FileWithErrors.php:345-349"
"$_GET['abc']-src/FileWithErrors.php:345-349" -> "coalesce-src/FileWithErrors.php:345-363"
"$s-src/FileWithErrors.php:109-110" -> "acme\sampleproject\bar"
"$s-src/FileWithErrors.php:162-163" -> "acme\sampleproject\baz"
"$s-src/FileWithErrors.php:215-216" -> "acme\sampleproject\bat"
"$s-src/FileWithErrors.php:269-270" -> "acme\sampleproject\bang"
"acme\sampleproject\bang#1" -> "$s-src/FileWithErrors.php:269-270"
"acme\sampleproject\bar#1" -> "$s-src/FileWithErrors.php:109-110"
"acme\sampleproject\bat#1" -> "$s-src/FileWithErrors.php:215-216"
"acme\sampleproject\baz#1" -> "$s-src/FileWithErrors.php:162-163"
"acme\sampleproject\foo#1" -> "$s-src/FileWithErrors.php:57-58"
"call to echo-src/FileWithErrors.php:335-364" -> "echo#1-src/filewitherrors.php:330"
"coalesce-src/FileWithErrors.php:345-363" -> "call to echo-src/FileWithErrors.php:335-364"
}