@@ -766,12 +766,12 @@ public function testBeforeAfter(string $expected, string $needle, string $origin
766766 public static function provideBeforeAfter ()
767767 {
768768 return [
769- ['' , '' , 'hello world ' , 0 , true ],
770- ['' , '' , 'hello world ' , 0 , false ],
771- ['' , 'w ' , 'hello World ' , 0 , true ],
772- ['' , 'w ' , 'hello World ' , 0 , false ],
773- ['' , 'o ' , 'hello world ' , 10 , true ],
774- ['' , 'o ' , 'hello world ' , 10 , false ],
769+ ['hello world ' , '' , 'hello world ' , 0 , true ],
770+ ['hello world ' , '' , 'hello world ' , 0 , false ],
771+ ['hello World ' , 'w ' , 'hello World ' , 0 , true ],
772+ ['hello World ' , 'w ' , 'hello World ' , 0 , false ],
773+ ['hello world ' , 'o ' , 'hello world ' , 10 , true ],
774+ ['hello world ' , 'o ' , 'hello world ' , 10 , false ],
775775 ['hello ' , 'w ' , 'hello world ' , 0 , true ],
776776 ['world ' , 'w ' , 'hello world ' , 0 , false ],
777777 ['hello W ' , 'O ' , 'hello WORLD ' , 0 , true ],
@@ -794,12 +794,12 @@ public function testBeforeAfterIgnoreCase(string $expected, string $needle, stri
794794 public static function provideBeforeAfterIgnoreCase ()
795795 {
796796 return [
797- ['' , '' , 'hello world ' , 0 , true ],
798- ['' , '' , 'hello world ' , 0 , false ],
799- ['' , 'foo ' , 'hello world ' , 0 , true ],
800- ['' , 'foo ' , 'hello world ' , 0 , false ],
801- ['' , 'o ' , 'hello world ' , 10 , true ],
802- ['' , 'o ' , 'hello world ' , 10 , false ],
797+ ['hello world ' , '' , 'hello world ' , 0 , true ],
798+ ['hello world ' , '' , 'hello world ' , 0 , false ],
799+ ['hello world ' , 'foo ' , 'hello world ' , 0 , true ],
800+ ['hello world ' , 'foo ' , 'hello world ' , 0 , false ],
801+ ['hello world ' , 'o ' , 'hello world ' , 10 , true ],
802+ ['hello world ' , 'o ' , 'hello world ' , 10 , false ],
803803 ['hello ' , 'w ' , 'hello world ' , 0 , true ],
804804 ['world ' , 'w ' , 'hello world ' , 0 , false ],
805805 ['hello ' , 'W ' , 'hello world ' , 0 , true ],
@@ -822,12 +822,12 @@ public function testBeforeAfterLast(string $expected, string $needle, string $or
822822 public static function provideBeforeAfterLast ()
823823 {
824824 return [
825- ['' , '' , 'hello world ' , 0 , true ],
826- ['' , '' , 'hello world ' , 0 , false ],
827- ['' , 'L ' , 'hello world ' , 0 , true ],
828- ['' , 'L ' , 'hello world ' , 0 , false ],
829- ['' , 'o ' , 'hello world ' , 10 , true ],
830- ['' , 'o ' , 'hello world ' , 10 , false ],
825+ ['hello world ' , '' , 'hello world ' , 0 , true ],
826+ ['hello world ' , '' , 'hello world ' , 0 , false ],
827+ ['hello world ' , 'L ' , 'hello world ' , 0 , true ],
828+ ['hello world ' , 'L ' , 'hello world ' , 0 , false ],
829+ ['hello world ' , 'o ' , 'hello world ' , 10 , true ],
830+ ['hello world ' , 'o ' , 'hello world ' , 10 , false ],
831831 ['hello wor ' , 'l ' , 'hello world ' , 0 , true ],
832832 ['ld ' , 'l ' , 'hello world ' , 0 , false ],
833833 ['hello w ' , 'o ' , 'hello world ' , 0 , true ],
@@ -851,12 +851,12 @@ public function testBeforeAfterLastIgnoreCase(string $expected, string $needle,
851851 public static function provideBeforeAfterLastIgnoreCase ()
852852 {
853853 return [
854- ['' , '' , 'hello world ' , 0 , true ],
855- ['' , '' , 'hello world ' , 0 , false ],
856- ['' , 'FOO ' , 'hello world ' , 0 , true ],
857- ['' , 'FOO ' , 'hello world ' , 0 , false ],
858- ['' , 'o ' , 'hello world ' , 10 , true ],
859- ['' , 'o ' , 'hello world ' , 10 , false ],
854+ ['hello world ' , '' , 'hello world ' , 0 , true ],
855+ ['hello world ' , '' , 'hello world ' , 0 , false ],
856+ ['hello world ' , 'FOO ' , 'hello world ' , 0 , true ],
857+ ['hello world ' , 'FOO ' , 'hello world ' , 0 , false ],
858+ ['hello world ' , 'o ' , 'hello world ' , 10 , true ],
859+ ['hello world ' , 'o ' , 'hello world ' , 10 , false ],
860860 ['hello wor ' , 'l ' , 'hello world ' , 0 , true ],
861861 ['ld ' , 'l ' , 'hello world ' , 0 , false ],
862862 ['hello wor ' , 'L ' , 'hello world ' , 0 , true ],
0 commit comments