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
| { | |
| "hooks": { | |
| "SessionStart": [ | |
| { | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "git rev-parse --git-dir > /dev/null 2>&1 && (! git diff-index --quiet HEAD -- && echo '⚠️ You have uncommitted changes in your git repository.' && echo '' && echo 'Changes:' && git status --porcelain || echo '✅ Git repository is clean')" | |
| } | |
| ] |
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
| <?php | |
| function getFormattedNumber( | |
| $value, | |
| $locale = 'en_US', | |
| $style = NumberFormatter::DECIMAL, | |
| $precision = 2, | |
| $groupingUsed = true, | |
| $currencyCode = 'USD', | |
| ) { |