build:
environment:
php:
version: 8.3.3
pecl_extensions:
- pcov
postgresql: false
redis: false
rabbitmq: false
nodes:
tests:
cache:
directories:
- vendor/
tests:
override:
-
command: ./vendor/bin/phpcs . --extensions=php --report=checkstyle --report-file=codesniffer.xml --standard=phpcs.xml
analysis:
file: codesniffer.xml
format: 'general-checkstyle'
- php ./tests/NetteDI.php
-
command: php ./tests/NetteDI.php
coverage:
file: coverage.xml
format: 'cobertura'