Skip to content

Commit

Permalink
Update variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
josephscott committed May 23, 2024
1 parent 31f7a0d commit 2f790e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/rule-change-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
declare( strict_types = 1 );

test( 'rule-change', function () {
$js_config = new JosephScott\PHPCSFixer_Config( __DIR__ );
$fixer_config = new JosephScott\PHPCSFixer_Config( __DIR__ );

$js_config->rules['array_indention'] = false;
$new_config = $js_config->get_config();
$fixer_config->rules['array_indention'] = false;
$new_config = $fixer_config->get_config();

$string_config = var_export( $new_config, true );
expect( $string_config )->toContain( "'array_indention' => false," );
Expand Down

0 comments on commit 2f790e4

Please sign in to comment.