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 | |
/* | |
|-------------------------------------------------------------------------- | |
| Authentication Language Lines | |
|-------------------------------------------------------------------------- | |
| | |
| The following language lines are used during authentication for various | |
| messages that we need to display to the user. You are free to modify | |
| these language lines according to your application's requirements. |
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
/** | |
* source: https://gist.github.com/hankz1108/b0862d481c714e99067b06c2ca401510 | |
* package: https://github.com/stanlindsey/git-cz | |
* gitmoji: https://github.com/carloscuesta/gitmoji/?tab=readme-ov-file | |
* translate by: https://israynotarray.com/git/20221115/721294310/ | |
*/ | |
module.exports = { | |
disableEmoji: false, // 是否禁用 emoji | |
format: '{type}{scope}: {emoji} {subject}', // Commit 訊息的格式 | |
list: ['test', 'feat', 'fix', 'chore', 'docs', 'refactor', 'style', 'ci', 'perf'], // Commit 類型的清單 |
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 | |
$rules = [ | |
// 繼承Symfony的規則 | |
'@Symfony' => true, | |
// 確保陣列中的逗號後只有一個空格 | |
'whitespace_after_comma_in_array' => ['ensure_single_space' => true], | |
// 強制轉型運算子的右側沒有空格 |