partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit c86644c29fa8c923ef9511da39bd3f4b9962cc6a
parent 90ab70e023efed12b695bd80c65e3e635b9b1a8c
Author: Felicitus <felicitus@felicitus.org>
Date:   Thu,  8 Oct 2015 17:24:07 +0200

Don't strip comments, see #438

Diffstat:
Mapp/AppKernel.php | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/app/AppKernel.php b/app/AppKernel.php @@ -69,4 +69,16 @@ class AppKernel extends Kernel { $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); } + + /** + * Override to avoid stripping comments. + * + * @see https://github.com/partkeepr/PartKeepr/issues/438 + * @param string $source + * + * @return string + */ + public static function stripComments($source) { + return $source; + } }