Skip to content

Commit db6196d

Browse files
committed
Remove no longer needed patch
1 parent 1dc922a commit db6196d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

compiler/build/scoper.inc.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,6 @@ function (string $filePath, string $prefix, string $content): string {
212212

213213
return str_replace(sprintf('%s\\PropertyHookType', $prefix), 'PropertyHookType', $content);
214214
},
215-
function (string $filePath, string $prefix, string $content): string {
216-
if (
217-
$filePath !== 'vendor/nette/utils/src/Utils/Strings.php'
218-
&& $filePath !== 'vendor/nette/utils/src/Utils/Arrays.php'
219-
) {
220-
return $content;
221-
}
222-
223-
return str_replace('#[Language(\'RegExp\')] ', '', $content);
224-
},
225215
function (string $filePath, string $prefix, string $content): string {
226216
if (strpos($filePath, 'src/') !== 0) {
227217
return $content;

0 commit comments

Comments
 (0)