Compare commits

...

8 Commits

Author SHA1 Message Date
1513ede73b release: v3.3.2 2024-10-12 12:36:44 +01:00
8c65197881 chore: bumps depndencies 2024-10-12 12:33:57 +01:00
3f65af9fdf Merge pull request #1292 from olivernybroe/policy-suffix
Add Policy suffix to policies
2024-10-11 09:34:05 +01:00
42d89814e3 Merge pull request #1293 from AbdellahBoutmad/dir
modify test command in contrbuting.md
2024-10-11 09:33:41 +01:00
1e3156a5b6 release: v3.3.1 2024-10-11 09:31:24 +01:00
97713c0832 chore: bumps dependencies 2024-10-11 09:31:16 +01:00
62b0e3c9df modify test command in contrbuting.md 2024-10-10 12:34:04 +01:00
647de2f1cf Add Policy suffix to policies 2024-10-10 08:08:10 +02:00
6 changed files with 12 additions and 8 deletions

View File

@ -42,7 +42,7 @@ composer test
Check types: Check types:
```bash ```bash
composer test:types composer test:type:check
``` ```
Unit tests: Unit tests:

View File

@ -18,16 +18,16 @@
], ],
"require": { "require": {
"php": "^8.2.0", "php": "^8.2.0",
"brianium/paratest": "^7.5.6", "brianium/paratest": "^7.5.7",
"nunomaduro/collision": "^8.4.0", "nunomaduro/collision": "^8.4.0",
"nunomaduro/termwind": "^2.1.0", "nunomaduro/termwind": "^2.1.0",
"pestphp/pest-plugin": "^3.0.0", "pestphp/pest-plugin": "^3.0.0",
"pestphp/pest-plugin-arch": "^3.0.0", "pestphp/pest-plugin-arch": "^3.0.0",
"pestphp/pest-plugin-mutate": "^3.0.5", "pestphp/pest-plugin-mutate": "^3.0.5",
"phpunit/phpunit": "^11.4.0" "phpunit/phpunit": "^11.4.1"
}, },
"conflict": { "conflict": {
"phpunit/phpunit": ">11.4.0", "phpunit/phpunit": ">11.4.1",
"sebastian/exporter": "<6.0.0", "sebastian/exporter": "<6.0.0",
"webmozart/assert": "<1.11.0" "webmozart/assert": "<1.11.0"
}, },
@ -52,7 +52,7 @@
] ]
}, },
"require-dev": { "require-dev": {
"pestphp/pest-dev-tools": "^3.0.0", "pestphp/pest-dev-tools": "^3.2.0",
"pestphp/pest-plugin-type-coverage": "^3.1.0", "pestphp/pest-plugin-type-coverage": "^3.1.0",
"symfony/process": "^7.1.5" "symfony/process": "^7.1.5"
}, },

View File

@ -162,5 +162,9 @@ final class Laravel extends AbstractPreset
'exit', 'exit',
'ray', 'ray',
])->not->toBeUsed(); ])->not->toBeUsed();
$this->expectations[] = expect('App\Policies')
->classes()
->toHaveSuffix('Policy');
} }
} }

View File

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

View File

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

View File

@ -1,3 +1,3 @@
Pest Testing Framework 3.3.0. Pest Testing Framework 3.3.2.