File: phpunit

package info (click to toggle)
php-nesbot-carbon 2.73.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 19,940 kB
  • sloc: php: 158,741; xml: 99; makefile: 32; sh: 14
file content (18 lines) | stat: -rwxr-xr-x 501 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set +x

phpabtpl \
	--require nesbot/carbon \
	--require carbonphp/carbon-doctrine-types \
	--require doctrine/dbal \
	> $AUTOPKGTEST_TMP/autoload.php.test.tpl

phpab \
	--output $AUTOPKGTEST_TMP/autoload.php \
	--template $AUTOPKGTEST_TMP/autoload.php.test.tpl \
	--exclude 'tests/PHPUnit/AssertObjectHasPropertyPolyfillTrait.php' \
	--blacklist 'carbon\\cli' \
	--blacklist 'symfony\\component\\translation\\translatorinterface' \
	tests

phpunit --bootstrap $AUTOPKGTEST_TMP/autoload.php