<?php it('uses the laravel preset by default', function () { [$statusCode, $output] = run('default', [ 'path' => base_path('tests/Fixtures/without-issues'), ]); expect($statusCode)->toBe(0) ->and($output) ->toContain('── Laravel'); }); it('may use the PSR 12 preset', function () { [$statusCode, $output] = run('default', [ 'path' => base_path('tests/Fixtures/without-issues'), '--preset' => 'psr12', ]); expect($statusCode)->toBe(0) ->and($output) ->toContain('── PSR 12'); }); it('may use the Laravel preset', function () { [$statusCode, $output] = run('default', [ 'path' => base_path('tests/Fixtures/without-issues'), '--preset' => 'laravel', ]); expect($statusCode)->toBe(0) ->and($output) ->toContain('── Laravel'); }); it('may use the Symfony preset', function () { [$statusCode, $output] = run('default', [ 'path' => base_path('tests/Fixtures/without-issues'), '--preset' => 'symfony', ]); expect($statusCode)->toBe(0) ->and($output) ->toContain('── Symfony'); });
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Fixers | Folder | 0755 |
|
|
ConfigurationTest.php | File | 315 B | 0644 |
|
DirtyTest.php | File | 1.54 KB | 0644 |
|
FormatTest.php | File | 2.64 KB | 0644 |
|
PresetTest.php | File | 1.18 KB | 0644 |
|
ProgressTest.php | File | 957 B | 0644 |
|
SummaryTest.php | File | 1.25 KB | 0644 |
|
VerboseTest.php | File | 364 B | 0644 |
|