Skip to content

Commit

Permalink
fix(ComposerTemplateParser): Fix race condition where ComponentTempla…
Browse files Browse the repository at this point in the history
…teParser.php.inc can be loaded instead of ComponentTemplateParser.php, causing the custom template code to not work. - Github Issue #13
  • Loading branch information
silbinarywolf committed May 19, 2018
1 parent 4f5ad00 commit 40be16d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
README.md export-ignore
LICENSE.md export-ignore
CONTRIBUTING.md export-ignore
/components/src/SilbinaryWolf/Components/ComponentTemplateParser.php.inc export-ignore
/components/src/SilbinaryWolf/Components/ComponentTemplateParser.peg export-ignore
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"phpstan": "bash ../vendor/bin/phpstan analyse src/ tests/ -c \".phpstan.neon\" -a \"tests/bootstrap-phpstan.php\" --level 3",
"phpcbf": "phpcbf --ignore=SilbinaryWolf/Components/ComponentTemplateParser.php src/ tests/",
"php-peg": "php ../framework/thirdparty/php-peg/cli.php ./src/SilbinaryWolf/Components/ComponentTemplateParser.php.inc > ./src/SilbinaryWolf/Components/ComponentTemplateParser.php"
"php-peg": "php ../framework/thirdparty/php-peg/cli.php ./src/SilbinaryWolf/Components/ComponentTemplateParser.peg > ./src/SilbinaryWolf/Components/ComponentTemplateParser.php"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 40be16d

Please sign in to comment.