9
5

More than 5 years have passed since last update.

HomebrewでPHPUnitをインストールする方法

Last updated at Posted at 2019-01-20
  • 使っているOS : macOS Mojave バージョン10.14.2
  • PHP 7.3.1

(しなくてもいいけど)事前準備をする

# アップデートしておく
$ brew update
Updated 2 taps (homebrew/core and homebrew/cask).
# <省略>
$ brew -v
Homebrew 1.9.2
Homebrew/homebrew-core (git revision 41722; last commit 2019-01-20)
Homebrew/homebrew-cask (git revision 20ab36; last commit 2019-01-20)

# Homebrewが元気かお医者さんに聞いておく
$ brew doctor
Your system is ready to brew.

# インストールしちゃってないか確認する
$ brew list | grep phpunit
$

(決まっていればしなくてもいいけど)インストールするものを選ぶ

# 探す
$ brew search phpunit
==> Formulae
phpunit

If you meant "phpunit" specifically:
It was migrated from homebrew/php to homebrew/core.

# 情報を確認しておく
$ brew info phpunit
phpunit: stable 7.5.2
Programmer-oriented testing framework for PHP
https://phpunit.de
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/phpunit.rb
==> Dependencies
==> Analytics
install: 2,056 (30 days), 8,941 (90 days), 33,063 (365 days)
install_on_request: 1,772 (30 days), 7,633 (90 days), 27,170 (365 days)
build_error: 0 (30 days)

PHPUnitをインストールする

$ brew install phpunit
==> Installing dependencies for phpunit: argon2, aspell, libidn, libmetalink, libssh2, openldap, rtmpdump, curl-openssl, unixodbc, freetds, libpng, libffi, glib, icu4c, jpeg, libpq, libsodium, libzip, pcre2, readline, sqlite, tidy-html5, webp and php
==> Installing phpunit dependency: argon2
==> Downloading https://homebrew.bintray.com/bottles/argon2-20171227.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring argon2-20171227.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/argon2/20171227: 11 files, 590.2KB
==> Installing phpunit dependency: aspell
==> Downloading https://homebrew.bintray.com/bottles/aspell-0.60.6.1_1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring aspell-0.60.6.1_1.mojave.bottle.tar.gz
==> Caveats
Installation of the 'is' (Icelandic) and 'nb' (Norwegian) dictionaries is
currently broken. They can be installed manually.

See: https://github.com/Homebrew/homebrew-core/issues/28074
==> Summary
🍺  /usr/local/Cellar/aspell/0.60.6.1_1: 267 files, 35.6MB
==> Installing phpunit dependency: libidn
==> Downloading https://homebrew.bintray.com/bottles/libidn-1.35.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libidn-1.35.mojave.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/libidn
==> Summary
🍺  /usr/local/Cellar/libidn/1.35: 72 files, 1.4MB
==> Installing phpunit dependency: libmetalink
==> Downloading https://homebrew.bintray.com/bottles/libmetalink-0.1.3.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libmetalink-0.1.3.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libmetalink/0.1.3: 31 files, 178.9KB
==> Installing phpunit dependency: libssh2
==> Downloading https://homebrew.bintray.com/bottles/libssh2-1.8.0.mojave.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring libssh2-1.8.0.mojave.bottle.1.tar.gz
🍺  /usr/local/Cellar/libssh2/1.8.0: 182 files, 792.8KB
==> Installing phpunit dependency: openldap
==> Downloading https://homebrew.bintray.com/bottles/openldap-2.4.47.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openldap-2.4.47.mojave.bottle.tar.gz
==> Caveats
openldap is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have openldap first in your PATH run:
  echo 'export PATH="/usr/local/opt/openldap/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/openldap/sbin:$PATH"' >> ~/.bash_profile

For compilers to find openldap you may need to set:
  export LDFLAGS="-L/usr/local/opt/openldap/lib"
  export CPPFLAGS="-I/usr/local/opt/openldap/include"

==> Summary
🍺  /usr/local/Cellar/openldap/2.4.47: 327 files, 6.5MB
==> Installing phpunit dependency: rtmpdump
==> Downloading https://homebrew.bintray.com/bottles/rtmpdump-2.4+20151223.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring rtmpdump-2.4 20151223.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/rtmpdump/2.4+20151223: 20 files, 418.5KB
==> Installing phpunit dependency: curl-openssl
==> Downloading https://homebrew.bintray.com/bottles/curl-openssl-7.63.0_1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring curl-openssl-7.63.0_1.mojave.bottle.tar.gz
==> Caveats
curl-openssl is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have curl-openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/curl-openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find curl-openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/curl-openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/curl-openssl/include"

==> Summary
🍺  /usr/local/Cellar/curl-openssl/7.63.0_1: 445 files, 3.4MB
==> Installing phpunit dependency: unixodbc
==> Downloading https://homebrew.bintray.com/bottles/unixodbc-2.3.7.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring unixodbc-2.3.7.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/unixodbc/2.3.7: 46 files, 1.8MB
==> Installing phpunit dependency: freetds
==> Downloading https://homebrew.bintray.com/bottles/freetds-1.00.109.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetds-1.00.109.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/freetds/1.00.109: 2,098 files, 12.9MB
==> Installing phpunit dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.36.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.36.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.36: 27 files, 1.2MB
==> Installing phpunit dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.2.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libffi-3.2.1.mojave.bottle.tar.gz
==> Caveats
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

==> Summary
🍺  /usr/local/Cellar/libffi/3.2.1: 16 files, 296.8KB
==> Installing phpunit dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.58.2.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.58.2.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/glib/2.58.2: 435 files, 18.5MB
==> Installing phpunit dependency: icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-63.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring icu4c-63.1.mojave.bottle.tar.gz
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

==> Summary
🍺  /usr/local/Cellar/icu4c/63.1: 254 files, 68.4MB
==> Installing phpunit dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-9c.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-9c.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/jpeg/9c: 21 files, 733.4KB
==> Installing phpunit dependency: libpq
==> Downloading https://homebrew.bintray.com/bottles/libpq-11.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpq-11.1.mojave.bottle.tar.gz
==> Caveats
libpq is keg-only, which means it was not symlinked into /usr/local,
because conflicts with postgres formula.

If you need to have libpq first in your PATH run:
  echo 'export PATH="/usr/local/opt/libpq/bin:$PATH"' >> ~/.bash_profile

For compilers to find libpq you may need to set:
  export LDFLAGS="-L/usr/local/opt/libpq/lib"
  export CPPFLAGS="-I/usr/local/opt/libpq/include"

==> Summary
🍺  /usr/local/Cellar/libpq/11.1: 2,567 files, 27.3MB
==> Installing phpunit dependency: libsodium
==> Downloading https://homebrew.bintray.com/bottles/libsodium-1.0.17.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libsodium-1.0.17.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libsodium/1.0.17: 71 files, 974.7KB
==> Installing phpunit dependency: libzip
==> Downloading https://homebrew.bintray.com/bottles/libzip-1.5.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libzip-1.5.1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libzip/1.5.1: 134 files, 577KB
==> Installing phpunit dependency: pcre2
==> Downloading https://homebrew.bintray.com/bottles/pcre2-10.32.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre2-10.32.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/pcre2/10.32: 224 files, 5.5MB
==> Installing phpunit dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring readline-8.0.0.mojave.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

==> Summary
🍺  /usr/local/Cellar/readline/8.0.0: 48 files, 1.5MB
==> Installing phpunit dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.26.0_1.mojave.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring sqlite-3.26.0_1.mojave.bottle.1.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

==> Summary
🍺  /usr/local/Cellar/sqlite/3.26.0_1: 11 files, 3.7MB
==> Installing phpunit dependency: tidy-html5
==> Downloading https://homebrew.bintray.com/bottles/tidy-html5-5.6.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring tidy-html5-5.6.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/tidy-html5/5.6.0: 14 files, 2.6MB
==> Installing phpunit dependency: webp
==> Downloading https://homebrew.bintray.com/bottles/webp-1.0.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring webp-1.0.1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/webp/1.0.1: 39 files, 2.1MB
==> Installing phpunit dependency: php
==> Downloading https://homebrew.bintray.com/bottles/php-7.3.1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring php-7.3.1.mojave.bottle.tar.gz
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set php_ini /usr/local/etc/php/7.3/php.ini system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set php_dir /usr/local/share/pear system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set doc_dir /usr/local/share/pear/doc system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set ext_dir /usr/local/lib/php/pecl/20180731 system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set bin_dir /usr/local/opt/php/bin system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set data_dir /usr/local/share/pear/data system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set cfg_dir /usr/local/share/pear/cfg system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set www_dir /usr/local/share/pear/htdocs system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set man_dir /usr/local/share/man system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set test_dir /usr/local/share/pear/test system
==> /usr/local/Cellar/php/7.3.1/bin/pear config-set php_bin /usr/local/opt/php/bin/php system
==> /usr/local/Cellar/php/7.3.1/bin/pear update-channels
==> Caveats
To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php7_module /usr/local/opt/php/lib/httpd/modules/libphp7.so

    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/7.3/

To have launchd start php now and restart at login:
  brew services start php
Or, if you don`t want/need a background service you can just run:
  php-fpm
==> Summary
🍺  /usr/local/Cellar/php/7.3.1: 521 files, 76.4MB
==> Installing phpunit
==> Downloading https://phar.phpunit.de/phpunit-7.5.2.phar
######################################################################## 100.0%
🍺  /usr/local/Cellar/phpunit/7.5.2: 3 files, 2.6MB, built in 18 seconds
==> Caveats
==> aspell
Installation of the 'is' (Icelandic) and 'nb' (Norwegian) dictionaries is
currently broken. They can be installed manually.

See: https://github.com/Homebrew/homebrew-core/issues/28074
==> libidn
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/libidn
==> openldap
openldap is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have openldap first in your PATH run:
  echo 'export PATH="/usr/local/opt/openldap/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/openldap/sbin:$PATH"' >> ~/.bash_profile

For compilers to find openldap you may need to set:
  export LDFLAGS="-L/usr/local/opt/openldap/lib"
  export CPPFLAGS="-I/usr/local/opt/openldap/include"

==> curl-openssl
curl-openssl is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have curl-openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/curl-openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find curl-openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/curl-openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/curl-openssl/include"

==> libffi
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

==> libpq
libpq is keg-only, which means it was not symlinked into /usr/local,
because conflicts with postgres formula.

If you need to have libpq first in your PATH run:
  echo 'export PATH="/usr/local/opt/libpq/bin:$PATH"' >> ~/.bash_profile

For compilers to find libpq you may need to set:
  export LDFLAGS="-L/usr/local/opt/libpq/lib"
  export CPPFLAGS="-I/usr/local/opt/libpq/include"

==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

==> php
To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php7_module /usr/local/opt/php/lib/httpd/modules/libphp7.so

    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/7.3/

To have launchd start php now and restart at login:
  brew services start php
Or, if you don't want/need a background service you can just run:
  php-fpm

確認してみる

$ which phpunit
/usr/local/bin/phpunit

$ phpunit --version
PHPUnit 7.5.2 by Sebastian Bergmann and contributors.

currently broken. They can be installed manually

「辞書が壊れているから手動でインストールしてね」と書かれています。
が、「アイスランド語」「ノルウェー語」は使わないのでほっておきます。
というか使いたくても読めもしなければ書けもしませんので。

==> aspell
Installation of the 'is' (Icelandic) and 'nb' (Norwegian) dictionaries is
currently broken. They can be installed manually.

See: https://github.com/Homebrew/homebrew-core/issues/28074

必要あれば注意事項(Caveats)に従ってPATHを通しておく

OpenLDAP

最も多くの導入実績があり、ディレクトリサービスを提供するオープンソースLDAPサーバです。
オープンソースの認証サーバ/OpenLDAPとは

openldap
==> openldap
openldap is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have openldap first in your PATH run:
  echo 'export PATH="/usr/local/opt/openldap/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/openldap/sbin:$PATH"' >> ~/.bash_profile

For compilers to find openldap you may need to set:
  export LDFLAGS="-L/usr/local/opt/openldap/lib"
  export CPPFLAGS="-I/usr/local/opt/openldap/include"

curl-openssl

curl-openssl
==> curl-openssl
curl-openssl is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have curl-openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/curl-openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find curl-openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/curl-openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/curl-openssl/include"

libffi

外部関数インターフェースのうち、マシンに依存する最も低いレイヤを提供するライブラリーです。
libffi freecode日本語情報ページ - OSDN

libffi
==> libffi
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

icu4c

C/C++ プログラム言語で グローバルなアプリケーションを作成するためのグローバリゼーション・ユーティリティーを提供します。
IBM Knowledge Center

icu4c
==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

libpq

PostgreSQLへ接続する言語ライブラリの多くは、実はこのlibpqに依存している
libpqで複数の接続先を指定 - Qiita

libpq
==> libpq
libpq is keg-only, which means it was not symlinked into /usr/local,
because conflicts with postgres formula.

If you need to have libpq first in your PATH run:
  echo 'export PATH="/usr/local/opt/libpq/bin:$PATH"' >> ~/.bash_profile

For compilers to find libpq you may need to set:
  export LDFLAGS="-L/usr/local/opt/libpq/lib"
  export CPPFLAGS="-I/usr/local/opt/libpq/include"

readline

readline は、CUI アプリケーションにおいてユーザが行を入力する際に便利な「行頭・行末移動」「ヒストリ機能」などを提供するライブラリである。
readlineコマンドの使い方: UNIX/Linuxの部屋

readline
==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

For compilers to find readline you may need to set:
  export LDFLAGS="-L/usr/local/opt/readline/lib"
  export CPPFLAGS="-I/usr/local/opt/readline/include"

SQLite

軽量コンパクトなリレーショナルデータベースシステムです。主に組み込み用途や、小規模システムのデータストアとして利用されます。
オープンソースのデータベース / SQLiteとは

sqlite
==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

やっぱ、要らなくなったからPHPUnitをアンイストールする

$ brew uninstall --force phpunit
Uninstalling phpunit... (3 files, 2.6MB)
9
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
5