Created
January 5, 2024 00:29
-
-
Save mmouih/01c3f94f63a8401002171022e628e50a to your computer and use it in GitHub Desktop.
Forgotten dumps tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
arch('Do not forget dumps in your production code') | |
->expect(['dd', 'dump', 'exit', 'die', 'print_r', 'var_dump', 'echo', 'print']) | |
->not | |
->toBeUsed(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment