404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.226.94.64: ~ $
<?php

it('display progress when fixing issues', function () {
    [$statusCode, $output] = run('default', [
        'path' => base_path('tests/Fixtures/with-fixable-issues'),
        '--preset' => 'psr12',
    ]);

    expect($statusCode)->toBe(1)
        ->and($output)
        ->toContain('  ⨯');
});

it('display progress when detecting non fixable issues', function () {
    [$statusCode, $output] = run('default', [
        'path' => base_path('tests/Fixtures/with-non-fixable-issues'),
        '--preset' => 'psr12',
    ]);

    expect($statusCode)->toBe(1)
        ->and($output)
        ->toContain('  !');
});

it('display progress when no issues were found', function () {
    [$statusCode, $output] = run('default', [
        'path' => base_path('tests/Fixtures/without-issues'),
        '--preset' => 'psr12',
    ]);

    expect($statusCode)->toBe(0)
        ->and($output)
        ->toContain('  .');
});

Filemanager

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