Skip to content

Commit

Permalink
Removing the ?> from files generated by bake. Fixes #1631
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 2, 2011
1 parent fbab7bd commit 5a58d38
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion cake/console/templates/default/classes/controller.ctp
Expand Up @@ -58,4 +58,3 @@ echo $actions;
endif; ?> endif; ?>


} }
<?php echo "?>"; ?>
1 change: 0 additions & 1 deletion cake/console/templates/default/classes/fixture.ctp
Expand Up @@ -39,4 +39,3 @@ class <?php echo $model; ?>Fixture extends CakeTestFixture {
var $records = <?php echo $records; ?>; var $records = <?php echo $records; ?>;
<?php endif;?> <?php endif;?>
} }
<?php echo '?>'; ?>
1 change: 0 additions & 1 deletion cake/console/templates/default/classes/model.ctp
Expand Up @@ -139,4 +139,3 @@ if (!empty($associations['hasAndBelongsToMany'])):
endif; endif;
?> ?>
} }
<?php echo '?>'; ?>
1 change: 0 additions & 1 deletion cake/console/templates/default/classes/test.ctp
Expand Up @@ -54,4 +54,3 @@ class <?php echo $fullClassName; ?>TestCase extends CakeTestCase {


<?php endforeach;?> <?php endforeach;?>
} }
<?php echo '?>'; ?>
1 change: 1 addition & 0 deletions cake/tests/cases/console/libs/tasks/controller.test.php
Expand Up @@ -31,6 +31,7 @@
require CAKE . 'console' . DS . 'cake.php'; require CAKE . 'console' . DS . 'cake.php';
ob_end_clean(); ob_end_clean();
} }
null

This comment has been minimized.

Copy link
@hiromi2424

hiromi2424 Apr 2, 2011

please remove this line :)

This comment has been minimized.

Copy link
@markstory

markstory Apr 2, 2011

Author Member

Ah bugger, I'll get that fixed.



require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'project.php'; require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'project.php';
require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'controller.php'; require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'controller.php';
Expand Down

0 comments on commit 5a58d38

Please sign in to comment.