diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b774dcb..154073d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,9 @@ jobs: strategy: matrix: include: + - php: 8.1 + illuminate: ^9.0 + phpunit: ^9.0 - php: 8.1 illuminate: ^8.0 phpunit: ^9.0 diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index 8c74795..0000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,23 +0,0 @@ -build: - environment: - php: - version: 7.3 - -filter: - excluded_paths: [tests/*] - -checks: - php: - remove_extra_empty_lines: true - remove_php_closing_tag: true - remove_trailing_whitespace: true - fix_use_statements: - remove_unused: true - preserve_multiple: false - preserve_blanklines: true - order_alphabetically: true - fix_php_opening_tag: true - fix_linefeed: true - fix_line_ending: true - fix_identation_4spaces: true - fix_doc_comments: true diff --git a/README.jp.md b/README.jp.md index 9729124..8733b13 100644 --- a/README.jp.md +++ b/README.jp.md @@ -4,7 +4,6 @@ [![Total downloads][ico-downloads]][link-packagist] [![Software License][ico-license]](LICENSE.md) [![Build Status][ico-build]][link-build] -[![Scrutinizer Score][ico-scrutinizer]][link-scrutinizer] ![very-basic-auth](https://user-images.githubusercontent.com/907114/40575964-331559ce-60ef-11e8-8366-aba700fc5567.png) @@ -27,10 +26,10 @@ Basic認証は望まないユーザーからのアクセスを排除すること ## 対応バージョン -Laravel | l5-very-basic-auth -:------------------------------------------------------|:---------- -`^5.4` | `5.*` -^6 || ^7 || ^8 | `6.*` +Laravel | l5-very-basic-auth +:----------------------------------------------------------------------|:---------- +`^5.4` | `5.*` +^6 || ^7 || ^8 || ^9 | `6.*` #### Laravel4.xを使っている場合 @@ -155,7 +154,5 @@ MITライセンスです。 詳しくはこちらを見てください。[Licens [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square [ico-build]: https://img.shields.io/github/workflow/status/olssonm/l5-very-basic-auth/Run%20tests.svg?style=flat-square&label=tests [ico-downloads]: https://img.shields.io/packagist/dt/olssonm/l5-very-basic-auth.svg?style=flat-square -[ico-scrutinizer]: https://img.shields.io/scrutinizer/g/olssonm/l5-very-basic-auth.svg?style=flat-square [link-packagist]: https://packagist.org/packages/olssonm/l5-very-basic-auth [link-build]: https://github.com/olssonm/l5-very-basic-auth/actions?query=workflow%3A%22Run+tests%22 -[link-scrutinizer]: https://scrutinizer-ci.com/g/olssonm/l5-very-basic-auth diff --git a/README.md b/README.md index 3cbda04..d064186 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ While HTTP Basic Auth does give you a protection layer against unwanted visitors ## Version Compatibility -Laravel | l5-very-basic-auth -:------------------------------------------------------|:---------- -`^5.4` | `5.*` -^6 || ^7 || ^8 | `6.*` +Laravel | l5-very-basic-auth +:----------------------------------------------------------------------|:---------- +`^5.4` | `5.*` +^6 || ^7 || ^8 || ^9 | `6.*` *The odd versioning is due to breaking changes in the testing framework and PHP versions. `3.x`-releases are for Laravel 5.4 (PHP 5.6 and up) and `4.x`-releases for Laravel 5.5.* @@ -184,7 +184,5 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square [ico-build]: https://img.shields.io/github/workflow/status/olssonm/l5-very-basic-auth/Run%20tests.svg?style=flat-square&label=tests [ico-downloads]: https://img.shields.io/packagist/dt/olssonm/l5-very-basic-auth.svg?style=flat-square -[ico-scrutinizer]: https://img.shields.io/scrutinizer/g/olssonm/l5-very-basic-auth.svg?style=flat-square [link-packagist]: https://packagist.org/packages/olssonm/l5-very-basic-auth [link-build]: https://github.com/olssonm/l5-very-basic-auth/actions?query=workflow%3A%22Run+tests%22 -[link-scrutinizer]: https://scrutinizer-ci.com/g/olssonm/l5-very-basic-auth diff --git a/composer.json b/composer.json index 52c49d8..485747c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "olssonm/l5-very-basic-auth", - "description": "Stateless HTTP basic auth without the need for a database. For Laravel 5", + "description": "Laravel stateless HTTP basic auth without the need for a database", "keywords": [ "olssonm", "laravel", @@ -17,7 +17,7 @@ } ], "require": { - "illuminate/support": "^6.0|^7.0|^8.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0", "php" : "^7.2|^8.0", "squizlabs/php_codesniffer": "^3.5" }, @@ -51,5 +51,6 @@ ] } }, - "minimum-stability": "stable" + "minimum-stability": "dev", + "prefer-stable": true }