Skip to content

Commit 3584634

Browse files
authored
Merge pull request #16 from maloun96/laravel10
feat: laravel10
2 parents 9bc858e + 6b0a7c5 commit 3584634

File tree

4 files changed

+15
-35
lines changed

4 files changed

+15
-35
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.0'
19+
php-version: '8.1'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.0]
13-
laravel: [9.*]
12+
php: [8.1]
13+
laravel: [^10.0]
1414
stability: [prefer-stable]
1515
include:
16-
- laravel: 9.*
17-
testbench: 7.*
16+
- laravel: ^10.0
17+
testbench: ^8.0
1818

1919
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2020

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.0",
20-
"illuminate/support": "^9.0",
19+
"php": "^8.0|^8.1",
20+
"illuminate/support": "^9.0|^10.0",
2121
"laravel/slack-notification-channel": "^2.4",
2222
"ext-json": "*"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.2",
26-
"laravel/sanctum": "^2.8",
27-
"orchestra/testbench": "^7.0",
28-
"phpunit/phpunit": "^9.3",
26+
"laravel/sanctum": "^3.2",
27+
"orchestra/testbench": "^8.0",
28+
"phpunit/phpunit": "^10.0",
2929
"symfony/stopwatch": "^4.4|^5.0",
30-
"nunomaduro/larastan": "^2.0",
30+
"nunomaduro/larastan": "^2.4",
3131
"phpstan/extension-installer": "^1.1"
3232
},
3333
"autoload": {

phpunit.xml.dist

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
2+
<phpunit bootstrap="vendor/autoload.php"
3+
backupGlobals="false"
54
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
verbose="true"
12-
>
5+
stopOnFailure="false">
136
<testsuites>
14-
<testsuite name="Binarcode Test Suite">
7+
<testsuite name="BinarCode Test Suite">
158
<directory>tests</directory>
169
</testsuite>
1710
</testsuites>
18-
<coverage>
19-
<include>
20-
<directory suffix=".php">./src</directory>
21-
</include>
22-
<report>
23-
<html outputDirectory="build/coverage"/>
24-
<text outputFile="build/coverage.txt"/>
25-
<clover outputFile="build/logs/clover.xml"/>
26-
</report>
27-
</coverage>
28-
<logging>
29-
<junit outputFile="build/report.junit.xml"/>
30-
</logging>
3111
</phpunit>

0 commit comments

Comments
 (0)