Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Merge d95e767 into 8d559a9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Nov 26, 2020
2 parents 8d559a9 + d95e767 commit aac146e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ["7.1", "7.2", "7.3", "7.4"]
php-version: ["7.1", "7.2", "7.3", "7.4", "8.0"]
os: [ubuntu-latest]

steps:
Expand All @@ -21,6 +21,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug

- name: Install dependencies
run: |
Expand Down
13 changes: 9 additions & 4 deletions composer.json
Expand Up @@ -14,13 +14,15 @@
"illuminate/support": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"laravel/lumen-framework": "^5.4 || ^6.0 || ^7.0",
"codeception/assert-throws": "^1.0",
"codeception/codeception": "^2.5",
"codeception/assert-throws": "^1.1",
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.3",
"codeception/specify": "^1.2",
"codeception/verify": "^1.2",
"laravel/lumen-framework": "^5.4 || ^6.0 || ^7.0",
"php-coveralls/php-coveralls": "^2.2",
"phpstan/phpstan": "^0.12.2"
"phpstan/phpstan": "^0.12.2",
"phpstan/phpstan-symfony": "^0.12.11"
},
"autoload": {
"psr-4": {
Expand All @@ -36,5 +38,8 @@
"codecept run --coverage --report --coverage-xml",
"phpstan analyse src/"
]
},
"config": {
"sort-packages": true
}
}
3 changes: 3 additions & 0 deletions phpstan.neon
@@ -1,3 +1,6 @@
includes:
- vendor/phpstan/phpstan-symfony/extension.neon

parameters:
level: 7
checkMissingIterableValueType: false
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/CorsMiddlewareTest.php
Expand Up @@ -15,7 +15,7 @@ class CorsMiddlewareTest extends \Codeception\Test\Unit
/**
* @inheritdoc
*/
protected function setup()
protected function setup(): void
{
$app = new MockApplication();
$app->register(CorsServiceProvider::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/CorsServiceProviderTest.php
Expand Up @@ -17,7 +17,7 @@ class CorsServiceProviderTest extends \Codeception\Test\Unit
/**
* @inheritdoc
*/
protected function setup()
protected function setup(): void
{
$this->app = new MockApplication();
$this->app->register(CorsServiceProvider::class);
Expand Down

0 comments on commit aac146e

Please sign in to comment.