Commit Graph
25 Commits
Author SHA1 Message Date
Justin Hileman 324f1db963 Bump copyright year. 2017-07-02 22:24:03 -07:00
Justin Hileman 18a2adce3d Remove all the extra spaces StyleCI wanted me to add :) 2016-07-30 22:39:43 -07:00
Justin Hileman 01777faf6e Various style cleanups.
* a bunch of small changes, courtesy of styleci
 * update dates in file headers
 * add file headers to files that are missing them
2016-07-30 17:57:19 -07:00
Justin Hileman 8be838e144 Bump copyright dates. 2015-08-15 09:23:54 -07:00
Dariusz Ruminski 47eb13cb26 CS update 2015-03-28 17:54:07 +01:00
Justin Hileman 22611a957c CS fixes.
Plus add config for StyleCI.
2015-03-02 21:53:03 -08:00
Dariusz Rumiński 9340b3eed1 Fix multiline array CS 2014-09-14 18:21:08 +02:00
Dariusz Rumiński 0007be44cd indent fixes 2014-09-04 20:44:59 +02:00
Justin Hileman f34f6699c2 Increase test coverage.
… fix a bug exposed by increased test coverage :-/
2014-08-25 11:18:09 -07:00
Dariusz Rumiński d07cac322c update CS by php-cs-fixer 2014-08-17 00:29:05 +02:00
Justin Hileman 349b58b8ca Throw inheritance behind a BLOCKS pragma.
Update tests, known pragmas, and parsing.
2014-06-26 23:31:41 -07:00
Justin Hileman 4c4c6f156b Merge remote-tracking branch 'jazzdan/dev' into feature/template-inheritance
Conflicts:
	src/Mustache/Compiler.php
	test/Mustache/Test/TokenizerTest.php
2014-06-26 21:51:03 -07:00
Dan Miller af8a62c5e2 Separate stacks are necessary for blocks to be resolved independently of variables. Renamed parent_* to block_*. 2014-04-08 21:02:23 +00:00
Dan Miller db14a6c863 hogan.js style template inheritance 2014-04-04 18:41:24 +00:00
Justin Hileman 22a47452da How embarrassing.
I keep writing 2013 on my copyright notices.
2014-03-13 22:34:44 -07:00
Justin Hileman 0d161cc7d2 Bump copyright dates. 2013-09-18 12:10:17 -07:00
Justin Hileman 32461bfb48 Track line number in Tokenizer
(needed for standalone line filtering via Parser)
2013-05-15 13:37:05 -07:00
Justin Hileman 0436c59477 Improve Mustache exception types, catchability.
* Subclass common exception types (runtime, logic, invalid argument).
 * Add new "unknown x" exceptions for filters, helpers and templates.
 * Make all Mustache exceptions implement Mustache_Exception interface… Gotta catch 'em all!
2013-01-20 10:35:55 -08:00
Justin Hileman 2448992cc8 Update to proposed PSR-1 coding standard.
* 4 space (no tab) indent
 * K&R-style braces
2012-05-01 22:03:39 -07:00
Justin Hileman 1ffd7c1a8f Remove some more slashes for 5.2. 2012-05-01 14:25:02 -07:00
Justin Hileman 2328615772 Change text tokens to proper tokens (instead of strings) 2012-03-26 19:34:55 -07:00
Justin Hileman bec9ce8448 Add support for PHP 5.2.x 2012-03-17 23:05:52 -07:00
Justin Hileman a196ac8dab Clean up Tokenizer constants.
Remove a bunch of hardcoded strings from everywhere.
2012-03-05 14:25:32 -08:00
Justin Hileman eed4400afb Add file header docblocks. 2012-03-01 07:17:13 -08:00
Justin Hileman 0034bf657b Add test coverage for Mustache.php 2.0
Update legacy tests for new codebase.
2012-02-29 19:12:22 -08:00