Skip to content

Commit 7b66aae

Browse files
committed
ITT: Laravel few versions support markers added.
1 parent ba79bee commit 7b66aae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Asserts/DatabaseAsserts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function dontSeeDatabaseTable($table)
1818

1919
protected function seeInDatabaseMany($table, array $rows)
2020
{
21-
/** @laravel-versions */
21+
/* @laravel-versions */
2222
$assert = method_exists($this, 'assertDatabaseHas') ? 'assertDatabaseHas' : 'seeInDatabase';
2323

2424
foreach ($rows as $row) {
@@ -30,7 +30,7 @@ protected function seeInDatabaseMany($table, array $rows)
3030

3131
protected function dontSeeInDatabaseMany($table, array $rows)
3232
{
33-
/** @laravel-versions */
33+
/* @laravel-versions */
3434
$assert = method_exists($this, 'assertDatabaseMissing') ? 'assertDatabaseMissing' : 'dontSeeInDatabase';
3535

3636
foreach ($rows as $row) {

src/Asserts/EloquentAsserts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function assertEloquentHasMany($class, $relation)
5454
$childModel = $hasManyRelation->getRelated();
5555
$childKey = $childModel->getKeyName();
5656

57-
/** @laravel-versions */
57+
/* @laravel-versions */
5858
$childForeignKey = method_exists($hasManyRelation, 'getForeignKeyName')
5959
? $hasManyRelation->getForeignKeyName() : last(explode('.', $hasManyRelation->getForeignKey()));
6060

src/Asserts/ScheduleAsserts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function seeInSchedule($command, $expression, $runInBackground = false
3131
$expression = $this->normalizeScheduleExpression(clone $event, $expression);
3232
$this->assertEquals($expression, $event->expression, $message);
3333

34-
/** @laravel-versions */
34+
/* @laravel-versions */
3535
if (isset($event->runInBackground)) {
3636
$message = "Failed asserting that command `{$command}` is scheduled with the same `run in background` mode.";
3737
$this->assertEquals($runInBackground, $event->runInBackground, $message);

tests/TestingTools/Asserts/ScheduleAssertsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private function createSampleSchedule()
2424

2525
$baz = $schedule->command('baz')->twiceDaily();
2626

27-
/** @laravel-versions */
27+
/* @laravel-versions */
2828
if (method_exists($baz, 'runInBackground')) {
2929
$baz->runInBackground();
3030
}

0 commit comments

Comments
 (0)