Justin Hileman
|
4decec3c0e
|
Reformat code so php-cs-fixer doesn’t keep breaking it.
|
2014-08-18 18:33:30 -07:00 |
|
Justin Hileman
|
89b322c3e8
|
Merge pull request #221 from keradus/cs
update CS by php-cs-fixer
|
2014-08-18 17:08:29 -07:00 |
|
Justin Hileman
|
c3e976a328
|
Merge branch 'fix/nested-partial-whitespace' into dev
|
2014-08-16 15:41:47 -07:00 |
|
Dariusz Rumiński
|
d07cac322c
|
update CS by php-cs-fixer
|
2014-08-17 00:29:05 +02:00 |
|
Justin Hileman
|
bd3c7798c3
|
Merge branch 'feature/pragma-blocks' into dev
|
2014-08-15 23:18:10 -07:00 |
|
Justin Hileman
|
5d77f4de9a
|
Move failing nested partial example into a test case.
See #214
|
2014-08-07 10:40:06 -07:00 |
|
Dariusz Rumiński
|
3d25e12fe1
|
cs fixes
|
2014-07-24 18:37:55 +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
|
dd53137ae1
|
Add missing method docs, minor code cleanup.
|
2014-06-26 23:05:44 -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
|
56713e560f
|
ensure that text is ignored outside of a block inside of a parent tag
|
2014-04-14 17:20:14 +00:00 |
|
Dan Miller
|
efae42978d
|
Adding data provider to test legal and illegal syntax inside of a parent tag
|
2014-04-11 16:46:27 +00:00 |
|
Dan Miller
|
d27840f8ef
|
Throw exception when something other than text or block tags are encountered inside of a parent tag. Other small cleanups
|
2014-04-09 16:15:05 +00: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
|
ebb7fda2e5
|
removing deprecated code for loading non-existent inheritance tests from the mustache spec
|
2014-04-04 20:45:21 +00:00 |
|
Dan Miller
|
db14a6c863
|
hogan.js style template inheritance
|
2014-04-04 18:41:24 +00:00 |
|
Justin Hileman
|
125873a8e0
|
Remove unused $partialData.
|
2014-03-25 19:28:36 -07:00 |
|
Justin Hileman
|
402f5013dc
|
Refactor duplication out of Mustache injection test.
|
2014-03-25 19:16:29 -07:00 |
|
Justin Hileman
|
0b85c9daff
|
Refactor out section callback test duplication.
|
2014-03-25 18:38:21 -07:00 |
|
Justin Hileman
|
ada9876c18
|
Refactor out test code duplication
(enable/disable lambda template cache test)
|
2014-03-25 18:33:26 -07:00 |
|
Justin Hileman
|
b61af6e4e8
|
Add (failing) test case for disabling lambda cache.
|
2014-03-25 18:15:52 -07:00 |
|
Justin Hileman
|
151de6f13e
|
Extract spec loading code into base test case
|
2014-03-25 09:20:04 -07:00 |
|
Justin Hileman
|
f696e7afa6
|
Fix incorrect or missing type annotations.
|
2014-03-25 07:31:04 -07:00 |
|
Justin Hileman
|
22a47452da
|
How embarrassing.
I keep writing 2013 on my copyright notices.
|
2014-03-13 22:34:44 -07:00 |
|
Justin Hileman
|
6b7f33c78d
|
Add passthrough optimization for lambda sections.
Higher order sections which return mustache-free strings don’t need to be re-parsed, compiled and rendered. Just use the string, silly!
Fixes #141
|
2013-12-14 10:45:17 -08:00 |
|
Justin Hileman
|
0d161cc7d2
|
Bump copyright dates.
|
2013-09-18 12:10:17 -07:00 |
|
Justin Hileman
|
07e96b2a19
|
Only run partials + lambda indent test on 5.3+
|
2013-07-21 13:32:56 -07:00 |
|
Justin Hileman
|
408ff8d345
|
Add a failing test for #128
|
2013-07-21 00:48:18 -07:00 |
|
Justin Hileman
|
277288137b
|
Coding standards fixes.
|
2012-08-02 10:36:07 -07: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
|
be5cfb3e9e
|
Rename Mustache_Mustache to Mustache_Engine.
Because the former was just too absurd to keep typing.
|
2012-05-01 21:30:22 -07:00 |
|
Justin Hileman
|
a47289607d
|
Templates are only callable in 5.3+
|
2012-05-01 14:08:14 -07:00 |
|
Justin Hileman
|
d1912038f3
|
Segregate 5.3+ tests, exclude them from phpunit config.
|
2012-05-01 14:03:11 -07:00 |
|
Justin Hileman
|
9316775ccb
|
Fix test failures in PHP 5.2.x
|
2012-05-01 10:19:03 -07:00 |
|
Justin Hileman
|
1430b27f86
|
Move examples into the test fixtures.
|
2012-03-26 19:05:08 -07:00 |
|
scribu
|
550da21455
|
replace __DIR__ with dirname(__FILE__)
|
2012-03-17 23:05:52 -07:00 |
|
Justin Hileman
|
bec9ce8448
|
Add support for PHP 5.2.x
|
2012-03-17 23:05:52 -07:00 |
|
Justin Hileman
|
4e733287cc
|
Clean up vendor libraries.
|
2012-03-01 07:27:11 -08:00 |
|
Justin Hileman
|
eed4400afb
|
Add file header docblocks.
|
2012-03-01 07:17:13 -08:00 |
|
Justin Hileman
|
5c4fcd0c9a
|
Coding standard cleanup.
|
2012-03-01 05:26:32 -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 |
|
Justin Hileman
|
8710e4b8a4
|
Rearrange legacy tests.
|
2012-02-29 18:54:05 -08:00 |
|