From 2cfd05a00e5796944917b2ea65d4734c795c7ac0 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Mon, 21 Jan 2019 18:21:34 +0000 Subject: [PATCH] Test for dead code in travis --- .travis.yml | 1 + psalm.xml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/.travis.yml b/.travis.yml index ebe88d1..8a92f0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,7 @@ jobs: - '[ -z "$TRAVIS_TAG" ] || [ "$TRAVIS_TAG" == "$(php -r "require(\"vendor/autoload.php\"); echo Erusev\Parsedown\Parsedown::version;")" ]' - composer test-static - composer test-formatting + - composer test-dead-code - stage: Test CommonMark (weak) php: 7.3 diff --git a/psalm.xml b/psalm.xml index 2c03807..de47136 100644 --- a/psalm.xml +++ b/psalm.xml @@ -7,4 +7,25 @@ + + + + + + + + + + + + + + + + + + + + +