Depends: php-codesniffer, @
Test-Command: phpcs -s --extensions=php --standard=build/code-sniffer-ruleset.xml /usr/share/php/{Crypt,File,Math,Net,System}

Restrictions: rw-build-tree, allow-stderr
Depends: php-gmp, phpab, phpunit, pkg-php-tools, @
Test-Command: mkdir -p vendor ; phpabtpl --require phpseclib/phpseclib > debian/autoload.test.php.tpl ; phpab -o vendor/autoload.php -t debian/autoload.test.php.tpl tests ; phpunit --bootstrap vendor/autoload.php
