Browse Source

chore: typo (#7367)

SpacePossum 1 year ago
parent
commit
ca5617e824
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/Fixer/Operator/BinaryOperatorSpacesFixerTest.php

+ 2 - 2
tests/Fixer/Operator/BinaryOperatorSpacesFixerTest.php

@@ -515,7 +515,7 @@ $a = $ae?? $b;
             ['operators' => ['=' => BinaryOperatorSpacesFixer::ALIGN_SINGLE_SPACE, '??' => BinaryOperatorSpacesFixer::ALIGN_SINGLE_SPACE_MINIMAL]],
         ];
 
-        yield 'align array destruction' => [
+        yield 'align array destructuring' => [
             '<?php
                     $c                 = [$d] = $e[1];
                     function A(){}[$a] = $a[$c];
@@ -529,7 +529,7 @@ $a = $ae?? $b;
             ['operators' => ['=' => BinaryOperatorSpacesFixer::ALIGN]],
         ];
 
-        yield 'align array destruction with assignments' => [
+        yield 'align array destructuring with assignments' => [
             '<?php
                     $d = [
                         "a" => $a,