mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 02:07:23 +01:00
feat(presets): more rules
This commit is contained in:
25
src/ArchPresets/Laravel.php
Normal file
25
src/ArchPresets/Laravel.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Pest\ArchPresets;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
final class Laravel extends AbstractPreset
|
||||
{
|
||||
/**
|
||||
* Executes the arch preset.
|
||||
*/
|
||||
public function execute(): void
|
||||
{
|
||||
$this->expectations[] = expect([
|
||||
'env',
|
||||
])->not->toBeUsed();
|
||||
|
||||
$this->expectations[] = expect([
|
||||
'exit',
|
||||
])->not->toBeUsed();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user