Skip to content
Permalink
Browse files

Merge pull request #96 from kubawerlos/psalm-shepherd

Psalm: shepherd
  • Loading branch information...
kubawerlos committed Sep 22, 2019
2 parents c5ef0f4 + abccb5f commit d958dabe80723f740130d9e06adca2f9e07d379e
Showing with 7 additions and 1 deletion.
  1. +1 −0 README.md
  2. +1 −1 composer.json
  3. +5 −0 src-dev/Readme/ReadmeCommand.php
@@ -10,6 +10,7 @@
[![Code coverage](https://img.shields.io/coveralls/github/kubawerlos/php-cs-fixer-custom-fixers/master.svg)](https://coveralls.io/github/kubawerlos/php-cs-fixer-custom-fixers?branch=master)
![Tests](https://img.shields.io/badge/tests-1111-brightgreen.svg)
[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/kubawerlos/php-cs-fixer-custom-fixers/master)](https://stryker-mutator.github.io)
[![Psalm type coverage](https://shepherd.dev/github/kubawerlos/php-cs-fixer-custom-fixers/coverage.svg)](https://shepherd.dev/github/kubawerlos/php-cs-fixer-custom-fixers)

A set of custom fixers for [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer).

@@ -50,7 +50,7 @@
"./dev-tools/vendor/bin/phpcpd ./src",
"./dev-tools/vendor/bin/phpmd ./src text ./phpmd.xml",
"./dev-tools/vendor/bin/phpstan analyse --ansi",
"./dev-tools/vendor/bin/psalm --find-dead-code"
"./dev-tools/vendor/bin/psalm --find-dead-code --shepherd"
],
"fix": [
"composer normalize --working-dir=./dev-tools ./../composer.json",
@@ -81,6 +81,11 @@ private function badges(): string
\sprintf('https://badge.stryker-mutator.io/github.com/%s/master', $this->composer()->name),
'https://stryker-mutator.github.io'
),
$this->badge(
'Psalm type coverage',
\sprintf('https://shepherd.dev/github/%s/coverage.svg', $this->composer()->name),
\sprintf('https://shepherd.dev/github/%s', $this->composer()->name)
),
]) . "\n";
}

0 comments on commit d958dab

Please sign in to comment.
You can’t perform that action at this time.