Skip to content

Commit 50f6eb4

Browse files
authored
Merge pull request #1 from carandclassic/laravel-12
Bump constrained versions to Laravel 12
2 parents 9d94312 + 713c554 commit 50f6eb4

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ end_of_line = lf
1111
insert_final_newline = true
1212
trim_trailing_whitespace = true
1313

14-
[{package.json,*.scss,*.css}]
14+
[*.yml]
1515
indent_size = 2
1616

1717
[*.md]

.github/workflows/run-tests.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [ 8.1, 8.2, 8.3 ]
12-
laravel: [ 10.*, 11.* ]
11+
php: [ 8.3, 8.4 ]
12+
laravel: [ 11.*, 12.* ]
1313
dependency-version: [ prefer-stable ]
14-
exclude:
15-
- laravel: 11.*
16-
php: 8.1
14+
# exclude:
15+
# - laravel: 11.*
16+
# php: 8.1
1717
include:
18-
- laravel: 10.*
19-
testbench: 8.*
2018
- laravel: 11.*
2119
testbench: 9.*
20+
- laravel: 12.*
21+
testbench: 10.*
2222

2323
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828

2929
- name: Cache dependencies
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: ~/.composer/cache/files
3333
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
@@ -44,10 +44,3 @@ jobs:
4444

4545
- name: Execute tests
4646
run: vendor/bin/phpunit --coverage-clover=coverage.xml
47-
48-
- if: github.event_name == 'push'
49-
name: Run Codacy Coverage Reporter
50-
uses: codacy/codacy-coverage-reporter-action@master
51-
with:
52-
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
53-
coverage-reports: coverage.xml

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "codezero/laravel-uri-translator",
2+
"name": "carandclassic/laravel-uri-translator",
33
"description": "Translate a URI or individual slugs.",
44
"keywords": [
55
"php",
@@ -20,12 +20,12 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^8.1",
24-
"illuminate/support": "^10.0|^11.0"
23+
"php": "^8.3",
24+
"illuminate/support": "^10.0|^11.0|^12.0"
2525
},
2626
"require-dev": {
27-
"orchestra/testbench": "^8.0|^9.0",
28-
"phpunit/phpunit": "^10.5"
27+
"orchestra/testbench": "^8.0|^9.0|^10.0",
28+
"phpunit/phpunit": "^10.5|^11.0"
2929
},
3030
"scripts": {
3131
"test": "phpunit"

0 commit comments

Comments
 (0)