Compare commits

...

3 Commits

Author SHA1 Message Date
9a8f6e6414 release: v2.28.0 2023-12-05 19:06:22 +00:00
4ece95a040 tests: uses arch function 2023-12-05 19:06:11 +00:00
0cc09380bc chore: bumps dependencies 2023-12-05 19:06:03 +00:00
5 changed files with 9 additions and 9 deletions

View File

@ -22,11 +22,11 @@
"nunomaduro/collision": "^7.10.0|^8.0.0", "nunomaduro/collision": "^7.10.0|^8.0.0",
"nunomaduro/termwind": "^1.15.1|^2.0.0", "nunomaduro/termwind": "^1.15.1|^2.0.0",
"pestphp/pest-plugin": "^2.1.1", "pestphp/pest-plugin": "^2.1.1",
"pestphp/pest-plugin-arch": "^2.4.1", "pestphp/pest-plugin-arch": "^2.5.0",
"phpunit/phpunit": "^10.5.1" "phpunit/phpunit": "^10.5.2"
}, },
"conflict": { "conflict": {
"phpunit/phpunit": ">10.5.1", "phpunit/phpunit": ">10.5.2",
"sebastian/exporter": "<5.1.0", "sebastian/exporter": "<5.1.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string function version(): string
{ {
return '2.27.0'; return '2.28.0';
} }
function testDirectory(string $file = ''): string function testDirectory(string $file = ''): string

View File

@ -1,5 +1,5 @@
Pest Testing Framework 2.27.0. Pest Testing Framework 2.28.0.
USAGE: pest <file> [options] USAGE: pest <file> [options]

View File

@ -1,3 +1,3 @@
Pest Testing Framework 2.27.0. Pest Testing Framework 2.28.0.

View File

@ -2,12 +2,12 @@
use Pest\Expectation; use Pest\Expectation;
test('globals') arch('globals')
->expect(['dd', 'dump', 'ray', 'die', 'var_dump', 'sleep']) ->expect(['dd', 'dump', 'ray', 'die', 'var_dump', 'sleep'])
->not->toBeUsed() ->not->toBeUsed()
->ignoring(Expectation::class); ->ignoring(Expectation::class);
test('dependencies') arch('dependencies')
->expect('Pest') ->expect('Pest')
->toOnlyUse([ ->toOnlyUse([
'dd', 'dd',
@ -24,7 +24,7 @@ test('dependencies')
'Symfony\Component\Process', 'Symfony\Component\Process',
])->ignoring(['Composer', 'PHPUnit', 'SebastianBergmann']); ])->ignoring(['Composer', 'PHPUnit', 'SebastianBergmann']);
test('contracts') arch('contracts')
->expect('Pest\Contracts') ->expect('Pest\Contracts')
->toOnlyUse([ ->toOnlyUse([
'NunoMaduro\Collision\Contracts', 'NunoMaduro\Collision\Contracts',