Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable UpgradeShell to recognize new line between class name and {

  • Loading branch information...
commit a3a2d55c94a26284833629479334a29e5ace1dc8 1 parent 0b4f735
Cauan Cabral CauanCabral authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Console/Command/UpgradeShell.php
2  lib/Cake/Console/Command/UpgradeShell.php
View
@@ -191,7 +191,7 @@ public function locations() {
$defaultOptions = array(
'recursive' => true,
'checkFolder' => true,
- 'regex' => '@class (\S*) .*{@i'
+ 'regex' => '@class (\S*) .*(\s|\v)*{@i'
);
foreach ($sourceDirs as $dir => $options) {
if (is_numeric($dir)) {
Please sign in to comment.
Something went wrong with that request. Please try again.