[ClassMapGeneratot] Filter out non php code
Otherwise files like https://github.com/propelorm/Propel/blob/master/generator/lib/behavior/i18n/templates/queryUseI18nQuery.php would fail ("class" keyword would not be filtered out by php_strip_whitespace())main
parent
ab48114531
commit
86bb1be61f
@ -0,0 +1,6 @@
|
||||
/*
|
||||
* class templateClass_1
|
||||
* interface templateInterface_1
|
||||
* trait temlpateTrait_1
|
||||
*/
|
||||
<?php echo $code
|
@ -0,0 +1,8 @@
|
||||
/*
|
||||
* class templateClass_2
|
||||
* interface templateInterface_2
|
||||
* trait temlpateTrait_2
|
||||
*/
|
||||
<?php
|
||||
echo $code
|
||||
?>
|
Loading…
Reference in New Issue