Skip to content

Commit

Permalink
(auto): apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FreakyWizard authored and github-actions[bot] committed Nov 15, 2024
1 parent c3960c7 commit 38e4381
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions tests/Feature/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,25 @@
});

it('can override all rules', function () {
$config = Config::create(Finder::create());
$config = Config::create(Finder::create());

$config->setRules([]);
$config->setRules([]);

expect($config->getRules())->toBeEmpty();
expect($config->getRules())->toBeEmpty();
});

it('can override line ending', function () {
$config = Config::create(Finder::create());
$config = Config::create(Finder::create());

$config->setLineEnding("\t\n");
$config->setLineEnding("\t\n");

expect($config->getLineEnding())->toBe("\t\n");
expect($config->getLineEnding())->toBe("\t\n");
});

it('can override risky allowed', function () {
$config = Config::create(Finder::create());
$config = Config::create(Finder::create());

$config->setRiskyAllowed(false);
$config->setRiskyAllowed(false);

expect($config->getRiskyAllowed())->toBe(false);
expect($config->getRiskyAllowed())->toBe(false);
});


0 comments on commit 38e4381

Please sign in to comment.