Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[{package.json,*.scss,*.css}]
[*.yml]
indent_size = 2

[*.md]
Expand Down
25 changes: 9 additions & 16 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.1, 8.2, 8.3 ]
laravel: [ 10.*, 11.* ]
php: [ 8.3, 8.4 ]
laravel: [ 11.*, 12.* ]
dependency-version: [ prefer-stable ]
exclude:
- laravel: 11.*
php: 8.1
# exclude:
# - laravel: 11.*
# php: 8.1
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
- laravel: 12.*
testbench: 10.*

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

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- name: Execute tests
run: vendor/bin/phpunit --coverage-clover=coverage.xml

- if: github.event_name == 'push'
name: Run Codacy Coverage Reporter
uses: codacy/codacy-coverage-reporter-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "codezero/laravel-uri-translator",
"name": "carandclassic/laravel-uri-translator",
"description": "Translate a URI or individual slugs.",
"keywords": [
"php",
Expand All @@ -20,12 +20,12 @@
}
],
"require": {
"php": "^8.1",
"illuminate/support": "^10.0|^11.0"
"php": "^8.3",
"illuminate/support": "^10.0|^11.0|^12.0"
},
"require-dev": {
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.5"
"orchestra/testbench": "^8.0|^9.0|^10.0",
"phpunit/phpunit": "^10.5|^11.0"
},
"scripts": {
"test": "phpunit"
Expand Down