Skip to content

Commit 1cbcf51

Browse files
Merge pull request #17 from TheDragonCode/1.x
1.x
2 parents 695ee67 + b7bb3f7 commit 1cbcf51

File tree

4 files changed

+6
-19
lines changed

4 files changed

+6
-19
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
php: [ "8.1", "8.2" ]
14+
php: [ "8.1", "8.2", "8.3" ]
1515

1616
name: PHP ${{ matrix.php }}
1717

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
"archtechx/enums": "^0.3.2"
4646
},
4747
"require-dev": {
48-
"illuminate/contracts": "^10.14",
48+
"illuminate/contracts": "^10.14 || ^11.0",
4949
"pestphp/pest": "^2.8",
50-
"symfony/var-dumper": "^6.3"
50+
"symfony/var-dumper": "^6.3 || ^7.0"
5151
},
5252
"suggest": {
5353
"dragon-code/translation-set": "Translation of validation rules into 78 localizations for Laravel Framework"

tests/Pest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,13 @@
1111
|
1212
*/
1313

14-
/*
15-
|--------------------------------------------------------------------------
16-
| Expectations
17-
|--------------------------------------------------------------------------
18-
|
19-
| When you're writing tests, you often need to check that values meet certain conditions. The
20-
| "expect()" function gives you access to a set of "expectations" methods that you can use
21-
| to assert different things. Of course, you may extend the Expectation API at any time.
22-
|
23-
*/
24-
2514
use DragonCode\CardNumber\CardNumber;
2615
use DragonCode\CardNumber\Enums\CardType;
2716
use DragonCode\CardNumber\Factories\Factory;
2817
use DragonCode\CardNumber\Formatters\DefaultFormatter;
2918
use DragonCode\CardNumber\Formatters\Formatter;
3019
use DragonCode\CardNumber\Laravel\Validation\Rules\CardNumberRule;
3120

32-
expect()->extend('toBeOne', fn () => $this->toBe(1));
33-
3421
/*
3522
|--------------------------------------------------------------------------
3623
| Functions

tests/Unit/Generator/Factories/CustomerFactoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
$year = date('y');
1616

17-
generatedEquals($factory1, $year . '0-4001-2348', $formatter);
18-
generatedEquals($factory2, $year . '0-3012-3451', $formatter);
19-
generatedEquals($factory3, $year . '0-1123-4566', $formatter);
17+
generatedEquals($factory1, $year . '0-4001-2346', $formatter);
18+
generatedEquals($factory2, $year . '0-3012-3459', $formatter);
19+
generatedEquals($factory3, $year . '0-1123-4564', $formatter);
2020
});

0 commit comments

Comments
 (0)