Skip to content

Commit

Permalink
feat!: laravel 11 support
Browse files Browse the repository at this point in the history
Close #14
  • Loading branch information
audunru committed Apr 7, 2024
1 parent b8efa0e commit 5392670
Show file tree
Hide file tree
Showing 4 changed files with 2,004 additions and 1,908 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
# Taken from https://github.com/kirschbaum-development/laravel-test-runner-container/blob/master/8.1/Dockerfile
php-version: "8.2"
# Taken from https://github.com/kirschbaum-development/laravel-test-runner-container/blob/master/8.2/Dockerfile
extensions: mbstring, mysql, xml, xsl, zip, curl, bcmath, intl, bz2

- name: Install composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 8.1
version: 8.2
preset: laravel
enabled:
- align_double_arrow
Expand Down
18 changes: 12 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
}
],
"require": {
"php": "^8.1",
"laravel/framework": "^10.0",
"php": "^8.2",
"laravel/framework": "^11.0",
"spatie/enum": "^3.9",
"spatie/laravel-package-tools": "^1.9",
"timacdonald/has-parameters": "^1.2"
"timacdonald/has-parameters": "dev-laravel-11"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^9.0",
"php-coveralls/php-coveralls": "^2.2",
"phpmd/phpmd": "^2.10",
"phpunit/phpunit": "^10.0",
"phpunit/phpunit": "^11.0",
"roave/security-advisories": "dev-latest",
"spatie/array-to-xml": "^3.1",
"spatie/simple-excel": "^3.0"
Expand Down Expand Up @@ -71,5 +71,11 @@
"php ./vendor/bin/phpmd config,src,tests ansi phpmd-ruleset.xml",
"XDEBUG_MODE=coverage php ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml"
]
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/patrickomeara/has-parameters"
}
]
}

0 comments on commit 5392670

Please sign in to comment.