Commit 1c1e2d9
committed
minor #43343 [VarDumper] declare that dd() never returns (caugner)
This PR was merged into the 5.4 branch.
Discussion
----------
[VarDumper] declare that dd() never returns
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
This change helps IDEs and static analyzers to understand that code after a `dd()` call isn't executed.
Commits
-------
3d9699d chore(VarDumper): declare that dd() never returnsFile tree
Expand file treeCollapse file tree
1 file changed
+3
-0
lines changedOpen diff view settings
Filter options
- src/Symfony/Component/VarDumper/Resources/functions
Expand file treeCollapse file tree
1 file changed
+3
-0
lines changedOpen diff view settings
Collapse file
src/Symfony/Component/VarDumper/Resources/functions/dump.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/VarDumper/Resources/functions/dump.php+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
| 36 | + |
| 37 | + |
35 | 38 | |
36 | 39 | |
37 | 40 | |
|
0 commit comments