在 macOS 環境,除了使用 Makefile 之外,還有另一個選擇 Taskfile。
被 curl 命令輸出的 "* Expire in 0 ms for 1 (transfer 0x7f85f6002000)" 洗版了
使用 curl 命令,被一堆 * Expire in 0 ms for 1 (transfer 0x7f85f6002000)
洗版很傻眼。。。
使用 Git pre-commit 自動修正 PHP 的 Coding Style
在 VS Code 下,除了使用 extension - junstyle.php-cs-fixer
進行 PHP 的 Coding Style 修正 之外,也可以使用 Git hooks 的功能,在 commit 之前執行指定的 script,稱為 pre-commit,搭配 php-cs-fixer 就能自動化的對有差異的 PHP 檔案進行 Coding Style 的修正。