Skip to content

Commit 74617a5

Browse files
committed
Add badges
1 parent 90bee1d commit 74617a5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
key: ${{ runner.os }}-psalm-cache-${{ hashFiles('psalm.xml', 'psalm-baseline.xml') }}
5555

5656
- name: Run Psalm
57-
run: composer psalm
57+
run: composer psalm -- --shepherd

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
[![PHP Psalm](https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/psalm.yml/badge.svg)](https://github.com/InteractionDesignFoundation/coding-standard/actions/workflows/psalm.yml)
2+
[![Type coverage](https://shepherd.dev/github/interaction-design-foundation/coding-standard/coverage.svg)](https://shepherd.dev/github/interaction-design-foundation/coding-standard)
3+
14
# IxDF Coding Standard for Laravel
25

3-
An opinoned ruleset focused on strict types.
6+
An opinionated ruleset focused on strict types.
47
Suitable for both applications and packages.
58

69

@@ -41,13 +44,13 @@ composer require --dev interaction-design-foundation/coding-standard
4144
- To run checks only:
4245

4346
```shell
44-
composer cs-check
47+
composer cs:check
4548
```
4649

4750
- To automatically fix many CS issues:
4851

4952
```shell
50-
composer cs-fix
53+
composer cs:fix
5154
```
5255

5356
## Ignoring parts of a File

0 commit comments

Comments
 (0)