Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| <?php | |
| /****************** удаляем из массива ******************/ | |
| //массив из которого нужно удалить | |
| $letters = array('(', ')', '[', ']', '{', '}','h', 'r','ff'); | |
| //массив данных, которые не трогаем | |
| $no_delete = array('(', ')', '[', ']', '{', '}'); | |
| foreach($letters_new as $key => $char){ |
| <?php | |
| /********* универсальное решение ****************/ | |
| function sendRequest($url, array $params = [], $post = false){ | |
| $curl = curl_init(); | |
| $headers = array( | |
| 'Content-Type: application/json-patch+json', | |
| 'accept: application/json', | |
| ); | |
| if ($post == true) { |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |