I just installed devel/pear-PHP_CodeSniffer on a system which had no PHP installed before.
devel/pear and subsequently lang/php5 and textproc/php5-xml where installed as dependences.
However, running phpcs required two additional dependencies:
After installing these two everything worked fine. Maybe the Port could be updated to include these additional requirements. Thanks.
over to maintainer
A commit references this bug:
Date: Sat Jul 25 11:38:15 UTC 2015
New revision: 392875
Add missing dependencies.
Sponsored by: Essen FreeBSD Hackathon 2015