summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-01-15 18:33:36 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-08-23 12:26:07 +0200
commit28f0d29a861f9af01dd289e614ac0b9f0ee18b38 (patch)
treea92b0210d947dc065ea61c824c989f994bc90e4d
parent38de5e9f10bcf9c01b8b0368e62817de4eab44d4 (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;
}
}