mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Test for dead code in travis
This commit is contained in:
parent
7f526c07a0
commit
2cfd05a00e
@ -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
|
||||
|
21
psalm.xml
21
psalm.xml
@ -7,4 +7,25 @@
|
||||
<projectFiles>
|
||||
<directory name="src" />
|
||||
</projectFiles>
|
||||
|
||||
<issueHandlers>
|
||||
<PossiblyUnusedMethod>
|
||||
<errorLevel type="suppress">
|
||||
<referencedMethod name="Erusev\Parsedown\Components\Inlines\PlainText::text" />
|
||||
<referencedMethod name="Erusev\Parsedown\Html\Renderables\Container::contents" />
|
||||
<referencedMethod name="Erusev\Parsedown\Html\Renderables\Element::create" />
|
||||
<referencedMethod name="Erusev\Parsedown\Html\Renderables\Element::attributes" />
|
||||
<referencedMethod name="Erusev\Parsedown\Html\Renderables\Element::settingName" />
|
||||
<referencedMethod name="Erusev\Parsedown\Html\Renderables\Element::settingAttributes" />
|
||||
<referencedMethod name="Erusev\Parsedown\Html\Renderables\Element::settingContents" />
|
||||
<referencedMethod name="Erusev\Parsedown\Html\Renderables\Text::getStringBacking" />
|
||||
<referencedMethod name="Erusev\Parsedown\Parsedown::__construct" />
|
||||
<referencedMethod name="Erusev\Parsedown\Parsedown::text" />
|
||||
<referencedMethod name="Erusev\Parsedown\Parsing\Lines::appendingContext" />
|
||||
<referencedMethod name="Erusev\Parsedown\State::get" />
|
||||
<referencedMethod name="Erusev\Parsedown\Parsedown::line" />
|
||||
<referencedMethod name="Erusev\Parsedown\Parsing\Lines::last" />
|
||||
</errorLevel>
|
||||
</PossiblyUnusedMethod>
|
||||
</issueHandlers>
|
||||
</psalm>
|
||||
|
Loading…
Reference in New Issue
Block a user