Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing the ?> from files generated by bake. Fixes #1631

  • Loading branch information...
commit 5a58d38a805dcd8a2c69c004757041d8c6fd96d3 1 parent fbab7bd
@markstory markstory authored
View
1  cake/console/templates/default/classes/controller.ctp
@@ -58,4 +58,3 @@ echo $actions;
endif; ?>
}
-<?php echo "?>"; ?>
View
1  cake/console/templates/default/classes/fixture.ctp
@@ -39,4 +39,3 @@ class <?php echo $model; ?>Fixture extends CakeTestFixture {
var $records = <?php echo $records; ?>;
<?php endif;?>
}
-<?php echo '?>'; ?>
View
1  cake/console/templates/default/classes/model.ctp
@@ -139,4 +139,3 @@ if (!empty($associations['hasAndBelongsToMany'])):
endif;
?>
}
-<?php echo '?>'; ?>
View
1  cake/console/templates/default/classes/test.ctp
@@ -54,4 +54,3 @@ class <?php echo $fullClassName; ?>TestCase extends CakeTestCase {
<?php endforeach;?>
}
-<?php echo '?>'; ?>
View
1  cake/tests/cases/console/libs/tasks/controller.test.php
@@ -31,6 +31,7 @@
require CAKE . 'console' . DS . 'cake.php';
ob_end_clean();
}
+null

please remove this line :)

@markstory Owner

Ah bugger, I'll get that fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'project.php';
require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'controller.php';
Please sign in to comment.
Something went wrong with that request. Please try again.