Skip to content

Commit 6d841ef

Browse files
committed
Add badges to README
1 parent db34d53 commit 6d841ef

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
composer-options: --optimize-autoloader
6262
dependency-versions: ${{ matrix.dependency-versions }}
63-
- run: task psalm -- --php-version=${{ matrix.php }} --stats --output-format=github
63+
- run: task psalm -- --stats --output-format=github ${{ matrix.dependency-versions == 'lowest' && '--shepherd' }}
6464

6565
phpstan:
6666
runs-on: ubuntu-latest
@@ -100,7 +100,11 @@ jobs:
100100
with:
101101
composer-options: --optimize-autoloader
102102
dependency-versions: ${{ matrix.dependency-versions }}
103-
- run: task test -- --colors=always
103+
- run: task test -- --colors=always --coverage-clover coverage.xml
104+
- if: ${{ matrix.php == '8.1' && matrix.dependency-versions == 'lowest' }}
105+
uses: codecov/codecov-action@v3
106+
env:
107+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
104108

105109
packages:
106110
runs-on: ubuntu-latest

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
<img src="https://github.com/typhoon-php/.github/raw/main/profile/logo.png" width="200" alt="Typhoon logo">
33
</p>
44

5+
[![PHP Version Require](http://poser.pugx.org/typhoon/reflection/require/php)](https://packagist.org/packages/typhoon/reflection)
6+
[![GitHub Release](https://img.shields.io/github/v/release/typhoon-php/typhoon)](https://github.com/typhoon-php/typhoon/releases)
7+
[![Total Downloads](http://poser.pugx.org/typhoon/reflection/downloads)](https://packagist.org/packages/typhoon/reflection)
8+
[![psalm-level](https://shepherd.dev/github/typhoon-php/typhoon/level.svg)](https://shepherd.dev/github/typhoon-php/typhoon)
9+
[![type-coverage](https://shepherd.dev/github/typhoon-php/typhoon/coverage.svg)](https://shepherd.dev/github/typhoon-php/typhoon)
10+
[![Code Coverage](https://codecov.io/gh/typhoon-php/typhoon/branch/0.4.x/graph/badge.svg)](https://codecov.io/gh/typhoon-php/typhoon/tree/0.4.x)
11+
512
Hello, PHP developer!
613

714
If you've ever used static analysis in your PHP projects, you probably wondered how all these cool phpDoc types could be

0 commit comments

Comments
 (0)