Skip to content

Commit

Permalink
Merge pull request #19 from renoki-co/shift-build-2349
Browse files Browse the repository at this point in the history
Laravel 9.x
  • Loading branch information
rennokki authored Feb 3, 2022
2 parents 69cf93f + c0dc3c7 commit cd59f8d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,19 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
laravel:
- 7.*
- 8.*
- 9.*
prefer:
- 'prefer-lowest'
- 'prefer-stable'
include:
- laravel: '7.*'
testbench: '5.*'
- laravel: '8.*'
testbench: '6.*'
- laravel: '9.*'
testbench: '7.*'

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} --${{ matrix.prefer }}

Expand All @@ -56,9 +54,9 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.prefer }} --prefer-dist --no-interaction --no-suggest
- name: Run static analysis
run: |
vendor/bin/psalm
# - name: Run static analysis
# run: |
# vendor/bin/psalm

- name: Run tests
run: |
Expand Down
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"name": "renoki-co/laravel-explicit-array",
"description": "Improved Laravel dot notation for explicit array keys.",
"keywords": ["laravel", "php", "arr", "support", "array"],
"keywords": [
"laravel",
"php",
"arr",
"support",
"array"
],
"license": "Apache-2.0",
"homepage": "https://github.com/renoki-co/laravel-explicit-array",
"authors": [
Expand All @@ -12,7 +18,7 @@
}
],
"require": {
"illuminate/support": "^7.40|^8.40"
"illuminate/support": "^9.0"
},
"autoload": {
"psr-4": {
Expand All @@ -29,8 +35,9 @@
},
"require-dev": {
"mockery/mockery": "^1.5",
"orchestra/testbench": "^6.24.0",
"vimeo/psalm": "4.19.0"
"orchestra/testbench": "^7.0",
"vimeo/psalm": "4.19.0",
"phpunit/phpunit": "^9.0"
},
"config": {
"sort-packages": true
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class TestCase extends Orchestra
/**
* {@inheritdoc}
*/
public function setUp(): void
protected function setUp(): void
{
parent::setUp();
}
Expand Down

0 comments on commit cd59f8d

Please sign in to comment.