diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b131df..1e4c699 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,8 +42,6 @@ jobs: - name: Infection run: ./vendor/bin/infection --min-msi=100 - env: - INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }} - name: PHPStan run: ./vendor/bin/phpstan diff --git a/readme.md b/readme.md index 96450a6..1c59a0f 100644 --- a/readme.md +++ b/readme.md @@ -2,8 +2,6 @@ # Has Parameters -![CI](https://github.com/timacdonald/has-parameters/workflows/CI/badge.svg) [![codecov](https://codecov.io/gh/timacdonald/has-parameters/branch/master/graph/badge.svg)](https://codecov.io/gh/timacdonald/has-parameters) [![Mutation testing](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Ftimacdonald%2Fhas-parameters%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/timacdonald/has-parameters/master) - A trait for Laravel middleware that allows you to pass arguments in a more PHP'ish way, including as a key => value pair for named parameters, and as a list for variadic parameters. Improves static analysis / IDE support, allows you to specify arguments by referencing the parameter name, enables skipping optional parameters (which fallback to their default value), and adds some validation so you don't forget any required parameters by accident. Read more about the why in my blog post [Rethinking Laravel's middleware argument API](https://timacdonald.me/rethinking-laravels-middleware-argument-api/)