Skip to content

Commit 1389a06

Browse files
committed
Merge branch 'master' into v2
2 parents 4e8dddd + 317fed2 commit 1389a06

9 files changed

Lines changed: 59 additions & 177 deletions

.github/workflows/run-tests-mysql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
operating-system: [ubuntu-latest]
25-
php-versions: ['8.3', '8.4']
25+
php-versions: ["8.4", "8.5"]
2626
dependency-stability: [prefer-stable]
27-
laravel: ['11.*', '12.*']
27+
laravel: ["12.*", "13.*"]
2828
include:
29-
- laravel: 11.*
30-
testbench: 9.*
3129
- laravel: 12.*
3230
testbench: 10.*
31+
- laravel: 13.*
32+
testbench: 11.*
3333

3434
name: P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
3535

.github/workflows/run-tests-postgres.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
operating-system: [ubuntu-latest]
26-
php-versions: ['8.3', '8.4']
26+
php-versions: ["8.4", "8.5"]
2727
dependency-stability: [prefer-stable]
28-
laravel: ['11.*', '12.*']
28+
laravel: ["12.*", "13.*"]
2929
include:
30-
- laravel: 11.*
31-
testbench: 9.*
3230
- laravel: 12.*
3331
testbench: 10.*
32+
- laravel: 13.*
33+
testbench: 11.*
3434

3535
name: P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
3636

.github/workflows/run-tests.yml

Lines changed: 5 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -12,86 +12,16 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
operating-system: [ubuntu-latest]
15-
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
15+
php-versions: ["8.4", "8.5"]
1616
dependency-stability: [prefer-stable]
17-
laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*', '12.*']
17+
laravel: ["12.*", "13.*"]
1818
include:
19-
- laravel: 6.*
20-
testbench: 4.*
21-
dbal: ^2.6
22-
- laravel: 7.*
23-
testbench: 5.*
24-
dbal: ^2.6
25-
- laravel: 8.*
26-
testbench: 6.*
27-
dbal: ^3.1.2|^2.13.3
28-
- laravel: 9.*
29-
testbench: 7.*
30-
dbal: ^3.1.2
31-
- laravel: 10.*
32-
testbench: 8.*
33-
dbal: ^3.1.2
34-
- laravel: 11.*
35-
testbench: 9.*
36-
dbal: ^3.1.2
3719
- laravel: 12.*
3820
testbench: 10.*
3921
dbal: ^4.2
40-
exclude:
41-
- laravel: 6.*
42-
php-versions: 8.1
43-
- laravel: 6.*
44-
php-versions: 8.2
45-
- laravel: 6.*
46-
php-versions: 8.3
47-
- laravel: 6.*
48-
php-versions: 8.4
49-
- laravel: 7.*
50-
php-versions: 8.0
51-
- laravel: 7.*
52-
php-versions: 8.1
53-
- laravel: 7.*
54-
php-versions: 8.2
55-
- laravel: 7.*
56-
php-versions: 8.3
57-
- laravel: 7.*
58-
php-versions: 8.4
59-
- laravel: 8.*
60-
php-versions: 7.2
61-
- laravel: 9.*
62-
php-versions: 7.2
63-
- laravel: 9.*
64-
php-versions: 7.3
65-
- laravel: 9.*
66-
php-versions: 7.4
67-
- laravel: 10.*
68-
php-versions: 8.0
69-
- laravel: 10.*
70-
php-versions: 7.2
71-
- laravel: 10.*
72-
php-versions: 7.3
73-
- laravel: 10.*
74-
php-versions: 7.4
75-
- laravel: 11.*
76-
php-versions: 8.0
77-
- laravel: 11.*
78-
php-versions: 8.1
79-
- laravel: 11.*
80-
php-versions: 7.2
81-
- laravel: 11.*
82-
php-versions: 7.3
83-
- laravel: 11.*
84-
php-versions: 7.4
85-
- laravel: 12.*
86-
php-versions: 7.2
87-
- laravel: 12.*
88-
php-versions: 7.3
89-
- laravel: 12.*
90-
php-versions: 7.4
91-
- laravel: 12.*
92-
php-versions: 8.0
93-
- laravel: 12.*
94-
php-versions: 8.1
22+
- laravel: 13.*
23+
testbench: 11.*
24+
dbal: ^4.2
9525

9626
name: P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
9727

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
],
1919
"require": {
2020
"php": "^7.2|^8.0",
21-
"illuminate/config": "^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
22-
"illuminate/database": "^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
23-
"illuminate/support": "^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0"
21+
"illuminate/config": "^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0",
22+
"illuminate/database": "^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0",
23+
"illuminate/support": "^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0"
2424
},
2525
"require-dev": {
2626
"doctrine/dbal": "^3.1.2|^2.13.3|^4.2",
2727
"fakerphp/faker": "^1.16|^1.9.1",
2828
"friendsofphp/php-cs-fixer": "^3.2|^2.18",
29-
"orchestra/testbench": "^3.0|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
30-
"phpunit/phpunit": "^8.0|^9.3.3|^10.5|^11.5.3"
29+
"orchestra/testbench": "^3.0|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
30+
"phpunit/phpunit": "^8.0|^9.3.3|^10.5|^11.5.3|^12.5.12"
3131
},
3232
"autoload": {
3333
"psr-4": {

phpunit.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,13 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
55
backupGlobals="false"
6-
backupStaticAttributes="false"
76
bootstrap="vendor/autoload.php"
87
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
128
processIsolation="false"
139
stopOnFailure="false"
1410
failOnWarning="true"
1511
failOnRisky="true"
1612
failOnEmptyTestSuite="true"
17-
beStrictAboutOutputDuringTests="true"
18-
verbose="true"
1913
>
2014
<testsuites>
2115
<testsuite name="Messenger Test Suite">

tests/CustomModelsTest.php

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,28 @@
1212

1313
class CustomModelsTest extends TestCase
1414
{
15-
/** @test */
16-
public function it_can_use_custom_message_model(): void
15+
public function test_it_can_use_custom_message_model(): void
1716
{
1817
$this->setMessageCustomModel();
1918
$this->assertEquals(CustomMessage::class, get_class(Models::message()));
2019
$this->unsetMessageCustomModel();
2120
}
2221

23-
/** @test */
24-
public function it_can_use_custom_participant_model(): void
22+
public function test_it_can_use_custom_participant_model(): void
2523
{
2624
$this->setParticipantCustomModel();
2725
$this->assertEquals(CustomParticipant::class, get_class(Models::participant()));
2826
$this->unsetParticipantCustomModel();
2927
}
3028

31-
/** @test */
32-
public function it_can_use_custom_thread_model(): void
29+
public function test_it_can_use_custom_thread_model(): void
3330
{
3431
$this->setThreadCustomModel();
3532
$this->assertEquals(CustomThread::class, get_class(Models::thread()));
3633
$this->unsetThreadCustomModel();
3734
}
3835

39-
/** @test */
40-
public function it_can_use_custom_table(): void
36+
public function test_it_can_use_custom_table(): void
4137
{
4238
$this->setMessageCustomModel();
4339
$this->setMessageCustomTable();
@@ -48,8 +44,7 @@ public function it_can_use_custom_table(): void
4844
$this->unsetMessageCustomTable();
4945
}
5046

51-
/** @test */
52-
public function it_should_return_custom_name_when_not_available(): void
47+
public function test_it_should_return_custom_name_when_not_available(): void
5348
{
5449
$modelName = 'ModelNotFound';
5550

tests/EloquentMessageTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
class EloquentMessageTest extends TestCase
66
{
7-
/** @test */
8-
public function it_should_get_the_recipients_of_a_message(): void
7+
public function test_it_should_get_the_recipients_of_a_message(): void
98
{
109
$message = $this->messageFactory();
1110
$thread = $this->threadFactory();

0 commit comments

Comments
 (0)