Last active
April 9, 2024 05:20
-
-
Save MateusBMP/8f365d2f5fa378d6e3669e318d742601 to your computer and use it in GitHub Desktop.
New Code Snippet to PHP on VSCode
This file contains hidden or 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
Show hidden characters
| { | |
| "Enable strict typing": { | |
| "prefix": [ "strict_types", "strict" ], | |
| "body": "declare(strict_types=1);", | |
| "description": "Enable strict typing using the PHP strict_types directive" | |
| }, | |
| "New php with strict typing": { | |
| "prefix": [ "<?php-strict_types", "<?php-strict" ], | |
| "body": [ "<?php", "", "declare(strict_types=1);", "", "$0" ], | |
| "description": "Create new php file with strict typing enabled." | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment