summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-01-15 18:33:36 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-01-15 18:33:36 +0100
commitae49488b23722b4e56b18b0492da2f855119d1ae (patch)
treeec7e9e98a518f2266903ee93c36b2975aee1f951
parent09818e89b3df3093189152fcbfeab566437871c1 (diff)
prado-cli: don't add php's terminator tag to generated files
-rwxr-xr-xbin/prado-cli.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/bin/prado-cli.php b/bin/prado-cli.php
index 98e9678c..1906946b 100755
--- a/bin/prado-cli.php
+++ b/bin/prado-cli.php
@@ -301,8 +301,7 @@ require_once($frameworkPath);
$application=new TApplication;
$application->run();
-
-?>';
+';
}
protected function renderConfigFile($appName)
@@ -426,8 +425,7 @@ $test_cases = dirname(__FILE__)."/unit";
$tester = new PradoUnitTester($test_cases, $app_directory);
$tester->run(new HtmlReporter());
-
-?>';
+';
}
protected function renderFunctionalTestFixture()
@@ -441,8 +439,7 @@ $test_cases = dirname(__FILE__)."/functional";
$tester=new PradoFunctionalTester($test_cases);
$tester->run(new SimpleReporter());
-
-?>';
+';
}
}
@@ -729,7 +726,7 @@ $props
return parent::finder(\$className);
}
}
-?>
+
EOD;
}
}