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: php5-simplexml php5-tokenizer 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: Author: netchild Date: Sat Jul 25 11:38:15 UTC 2015 New revision: 392875 URL: https://svnweb.freebsd.org/changeset/ports/392875 Log: Add missing dependencies. PR: 191912 Sponsored by: Essen FreeBSD Hackathon 2015 Changes: head/devel/pear-PHP_CodeSniffer/Makefile