Commit 51508af4 authored by Anton Smirnov's avatar Anton Smirnov
Browse files

Fail on notice/warning/deprecation

parent 62561395
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ cache:
    - composer config -g cache-dir "$(pwd)/.composer-cache"
  script:
    - composer update
    - vendor/bin/phpunit
    - vendor/bin/phpunit --fail-on-deprecation --fail-on-notice --fail-on-warning

# lowest version with lowest dependencies
test-8.1-lowest:
@@ -33,7 +33,7 @@ test-8.1-lowest:
  image: php:8.1
  script:
    - composer update --prefer-lowest
    - vendor/bin/phpunit
    - vendor/bin/phpunit --fail-on-notice --fail-on-warning

# lowest version
test-8.1:
+2 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         executionOrder="random"
         displayDetailsOnTestsThatTriggerErrors="true"
         displayDetailsOnTestsThatTriggerNotices="true"
         displayDetailsOnTestsThatTriggerWarnings="true"
         displayDetailsOnTestsThatTriggerDeprecations="true"
         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">