區域:Cmd + Shift + 4

視窗:Cmd + Shift + 4 + Space
(含陰影~範圍還不小耶)

視窗不含陰影:Cmd + Shift + 4 + Space + Option(Alt)
(完整視窗~不含陰影)
error: There was a problem with the editor 'vi'
之前倒沒有這個問題,不知道跟我最近在變更 VIM 設定有無關聯Plugin 'mattn/emmet-vim'
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
composer global require phpunit/phpunit
)Project/
|-- tests/ (放測試的檔案)
|-- src/ (放置原始碼)
開啟 Terminal 或 Cmd 等指令輸入工具composer require phpunit/phpunit --dev
修改 composer.json
檔案, 將 src
對應至 autoload{
...
"autoload": {
"psr-4": {
"": "src/"
}
}
}
執行更新 autoload 的檔案composer dump-autoload
新增 PHPUnit 的設定檔 phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php">
</phpunit>
最基本的設定就完成囉!!