Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/cwpsrv/var/services/roundcube/plugins/carddav/vendor/mstilkerich/carddavclient/ |
Upload File : |
DOCDIR := doc/api/ .PHONY: all stylecheck phpcompatcheck staticanalyses psalmanalysis doc tests verification all: staticanalyses doc verification: staticanalyses tests staticanalyses: stylecheck phpcompatcheck psalmanalysis stylecheck: vendor/bin/phpcs --colors --standard=PSR12 src/ tests/ phpcompatcheck: vendor/bin/phpcs --colors --standard=PHPCompatibility --runtime-set testVersion 7.1 src/ tests/ psalmanalysis: tests/interop/AccountData.php vendor/bin/psalm --no-cache --shepherd --report=testreports/psalm.txt --report-show-info=true --no-progress tests: tests-interop unittests vendor/bin/phpcov merge --html testreports/coverage testreports .PHONY: unittests unittests: tests/unit/phpunit.xml @echo @echo ========================================================== @echo " EXECUTING UNIT TESTS" @echo ========================================================== @echo @mkdir -p testreports/unit vendor/bin/phpunit -c tests/unit/phpunit.xml .PHONY: tests-interop tests-interop: tests/interop/phpunit.xml @echo @echo ========================================================== @echo " EXECUTING CARDDAV INTEROPERABILITY TESTS" @echo ========================================================== @echo @mkdir -p testreports/interop vendor/bin/phpunit -c tests/interop/phpunit.xml doc: rm -rf $(DOCDIR) phpDocumentor.phar -d src/ -t $(DOCDIR) --title="CardDAV Client Library" --setting=graphs.enabled=true --validate [ -d ../carddavclient-pages ] && rsync -r --delete --exclude .git doc/api/ ../carddavclient-pages # For github CI system - if AccountData.php is not available, create from AccountData.php.dist tests/interop/AccountData.php: | tests/interop/AccountData.php.dist cp $| $@ .PHONY: codecov-upload codecov-upload: if [ -n "$$CODECOV_TOKEN" ]; then \ curl -s https://codecov.io/bash >testreports/codecov.sh; \ bash testreports/codecov.sh -F unittests -f testreports/unit/clover.xml -n 'Carddavclient unit test coverage'; \ bash testreports/codecov.sh -F interop -f testreports/interop/clover.xml -n 'Carddavclient interoperability test coverage'; \ else \ echo "Error: Set CODECOV_TOKEN environment variable first"; \ exit 1; \ fi