Skip to content

Commit a48b242

Browse files
committed
Update Regex Strings
Single quotes broke parsing for Sublime and other editors Signed-off-by: Justin Yost <justin@loadsys.com>
1 parent f1333fc commit a48b242

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/TestCase/Shell/ConfigReadShellTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ protected function getSUTClassName() {
163163
// -> ConfigRead\Test\TestCase\Shell\ConfigReadShellTest
164164

165165
$testingOverrideClass = preg_replace(
166-
'/^(.*)\\\([^\\\]+)Test$/',
166+
"/^(.*)\\\([^\\\]+)Test$/",
167167
'\1\\\Test\2',
168168
$testCaseClass
169169
); // -> ConfigRead\Test\TestCase\Shell\TestConfigReadShell
@@ -175,7 +175,7 @@ protected function getSUTClassName() {
175175
); // -> ConfigRead\Shell\ConfigReadShell
176176

177177
$this->classBasename = preg_replace(
178-
'/^.*\\\([^\\\]+)$/',
178+
"/^.*\\\([^\\\]+)$/",
179179
'\1',
180180
$testedClass
181181
); // -> ConfigReadShell

0 commit comments

Comments
 (0)