This website requires JavaScript.
320bab9e7c
ignore php-cs-fixer on php5.2
Dariusz Rumiński
2014-08-17 01:54:21 +02:00
761538e065
add php-cs-fixer into travis tasks
Dariusz Rumiński
2014-08-17 00:48:05 +02:00
c3e976a328
Merge branch 'fix/nested-partial-whitespace' into dev
Justin Hileman
2014-08-16 15:41:47 -07:00
7800aa8136
Add submodule instructions to CONTRIBUTING.
Justin Hileman
2014-08-16 15:38:26 -07:00
d07cac322c
update CS by php-cs-fixer
Dariusz Rumiński
2014-08-17 00:28:56 +02:00
bd3c7798c3
Merge branch 'feature/pragma-blocks' into dev
Justin Hileman
2014-08-15 23:18:10 -07:00
35456764a1
Only pass indent through to standalone nested partials.
Justin Hileman
2014-08-07 10:45:33 -07:00
5d77f4de9a
Move failing nested partial example into a test case.
Justin Hileman
2014-08-07 10:38:44 -07:00
114477811c
Add failing test For extra whitespace in nested partials.
Mike Sherov
2014-08-07 12:58:42 -04:00
6e37c344eb
Merge pull request #211 from keradus/php-cs-fixer
Justin Hileman
2014-07-25 07:50:26 -04:00
80d724f5f3
.php_cs - simplify
Dariusz Rumiński
2014-07-24 19:03:27 +02:00
3d25e12fe1
cs fixes
Dariusz Rumiński
2014-07-23 20:15:57 +02:00
6381604484
.php_cs add file for php-cs-fixer configuration
Dariusz Rumiński
2014-07-23 20:13:24 +02:00
1fe5b0dfc2
Whoops. Missed some docs and cleanup :)
Justin Hileman
2014-06-27 00:18:41 -07:00
349b58b8ca
Throw inheritance behind a BLOCKS pragma.
Justin Hileman
2014-06-26 23:31:41 -07:00
dd53137ae1
Add missing method docs, minor code cleanup.
Justin Hileman
2014-06-26 22:58:27 -07:00
7aee026403
Add default pragma option to Mustache_Engine.
Justin Hileman
2014-06-26 22:22:07 -07:00
4c4c6f156b
Merge remote-tracking branch 'jazzdan/dev' into feature/template-inheritance
Justin Hileman
2014-06-26 21:51:03 -07:00
0eb3e71dc8
Merge branch 'release/2.6.1' into dev
Justin Hileman
2014-06-20 12:35:59 -07:00
1430ca8849
Merge branch 'release/2.6.1'
Justin Hileman
2014-06-20 12:34:49 -07:00
b1e0a6d607
Bump to v2.6.1
Justin Hileman
2014-06-20 12:34:43 -07:00
8c67a15cf8
Add tag name to mismatched delimiter error message.
Justin Hileman
2014-06-20 12:30:53 -07:00
e8897b1228
Merge pull request #209 from smarden1/pr/even_triple_braces
Justin Hileman
2014-06-20 12:25:10 -07:00
6ba77964b8
uneven braces with custom delimiters throws Mustache_Exception_SyntaxException
steve
2014-06-19 23:25:46 -07:00
c037b31d25
add test coverage to ensure that custom delimiters don't swallow trailing characters after they close
steve
2014-06-19 20:51:02 -07:00
842b31b477
clean up Tokenizer->scan -- add error annotation, spaces between +, strict type checking, and self instead of Mustache_Tokenizer
steve
2014-06-19 11:29:21 -07:00
be19ebf5b2
add DateTimeZone UTC to DateTime calls in FiltersTest
steve
2014-06-17 22:29:13 -07:00
40e86247ad
math is hard - check the bounds of a string properly when looking to see if a closing } exists
steve
2014-06-18 16:34:32 -07:00
868b5b49eb
starting triple braces without ending triple braces throws an error - previously this was swallowing an additional character
steve
2014-06-18 15:36:02 -07:00
77f98ad864
Merge pull request #203 from spiasecki/feature/code_cleaning
Justin Hileman
2014-05-16 14:50:25 -07:00
808810f540
Apply PSR rules on bin directory
Dariusz Rumiński
2014-05-14 21:59:30 +02:00
d2f8944798
Add few spaces around concatenations
Dariusz Rumiński
2014-05-14 21:58:28 +02:00
01d03d91df
Strict comparison in Tokenizer
Dariusz Rumiński
2014-05-14 21:52:33 +02:00
5ea8dc21e9
Decrease indentation in HelperCollection constructor
Dariusz Rumiński
2014-05-14 21:49:53 +02:00
4353e7e2a4
Correct indentation in Engine
Dariusz Rumiński
2014-05-14 21:48:16 +02:00
dab50cdb8b
Merge pull request #202 from spiasecki/feature/code_cleaning
Justin Hileman
2014-05-14 13:06:39 -04:00
49da6d6fad
Remove empty line in head of few classes, most of classes do not have them
Dariusz Rumiński
2014-05-13 17:56:27 +02:00
39cadaca9c
Remove redundant semicolons
Dariusz Rumiński
2014-05-13 17:55:11 +02:00
be10fd7ab2
include FiveThree part into classname Mustache_Test_Functional_ClassWithLambda, supplement to 07e96b2a19
Dariusz Rumiński
2014-05-13 17:08:14 +02:00
9cb926a607
removing old todo
Dan Miller
2014-04-15 14:35:08 +00:00
834e16aacc
Add a comment about __call / is_callable
Justin Hileman
2014-04-14 21:36:34 -07:00
f4e992119e
Don\'t escape html from blocks, removing unneeded variable assigns
Dan Miller
2014-04-14 19:51:42 +00:00
56713e560f
ensure that text is ignored outside of a block inside of a parent tag
Dan Miller
2014-04-14 17:20:14 +00:00
4c83fb0147
Merge branch 'release/2.6.0' into dev
Justin Hileman
2014-04-13 18:24:55 -07:00
43dc9457a2
Merge branch 'release/2.6.0'
Justin Hileman
2014-04-13 18:24:40 -07:00
003a2ae5e7
Bump to v2.6.0
Justin Hileman
2014-04-13 18:23:23 -07:00
c96e985dbf
Shiny new shields!
Justin Hileman
2014-04-13 16:47:55 -07:00
efae42978d
Adding data provider to test legal and illegal syntax inside of a parent tag
Dan Miller
2014-04-11 16:46:27 +00:00
d27840f8ef
Throw exception when something other than text or block tags are encountered inside of a parent tag. Other small cleanups
Dan Miller
2014-04-09 15:09:01 +00:00
af8a62c5e2
Separate stacks are necessary for blocks to be resolved independently of variables. Renamed parent_* to block_*.
Dan Miller
2014-04-07 20:05:33 +00:00
63b835bd09
DRYing parentArgSection into the section method
Dan Miller
2014-04-07 18:11:43 +00:00
3c57d5f220
reverting vendor spec change
Dan Miller
2014-04-04 20:57:07 +00:00
ebb7fda2e5
removing deprecated code for loading non-existent inheritance tests from the mustache spec
Dan Miller
2014-04-04 20:45:21 +00:00
a631de174c
s/new_context/newContext/g
Dan Miller
2014-04-04 20:43:47 +00:00
31800de88f
removing unnecessary local variable in findFromParent function
Dan Miller
2014-04-04 20:42:56 +00:00
f47a09538e
php 5.2.x doesn't support closures, so added a private static funtion to be used from array_filter instead
Dan Miller
2014-04-04 20:07:50 +00:00
c6c67ce609
referencing nodes by class constant rather than string literal
Dan Miller
2014-04-04 19:53:06 +00:00
db14a6c863
hogan.js style template inheritance
Dan Miller
2014-04-04 18:29:26 +00:00
0315da508b
Again, but with more following the instructions.
Justin Hileman
2014-03-29 12:26:14 -07:00
8f831201bd
allow hhvm to fail for now
Justin Hileman
2014-03-29 10:58:16 -07:00
d5b1add824
let's try it with *all* the versions!
Justin Hileman
2014-03-29 10:41:09 -07:00
b8b156d3cc
Refactor to remove strict callables test duplication.
Justin Hileman
2014-03-25 19:35:56 -07:00
125873a8e0
Remove unused $partialData.
Justin Hileman
2014-03-25 19:28:36 -07:00
c10c966e60
Refactor to remove duplicate StreamLogger test code
Justin Hileman
2014-03-25 19:22:34 -07:00
402f5013dc
Refactor duplication out of Mustache injection test.
Justin Hileman
2014-03-25 19:16:29 -07:00
ad0204c372
Combine FiltersTest and SectionFiltersTest
Justin Hileman
2014-03-25 19:04:48 -07:00
2abbc4b35c
Refactor away engine logger test duplication.
Justin Hileman
2014-03-25 18:44:39 -07:00
0b85c9daff
Refactor out section callback test duplication.
Justin Hileman
2014-03-25 18:38:21 -07:00
ada9876c18
Refactor out test code duplication
Justin Hileman
2014-03-25 18:33:26 -07:00
77d99d2bd3
Fix disabling lambda template cache.
Justin Hileman
2014-03-25 18:16:35 -07:00
b61af6e4e8
Add (failing) test case for disabling lambda cache.
Justin Hileman
2014-03-25 18:15:52 -07:00
085729aa27
remove old test annotation.
Justin Hileman
2014-03-25 18:15:31 -07:00
fdff8a4d15
Let’s not use Composer’s autoload, since it fails in 5.2
Justin Hileman
2014-03-25 10:48:21 -07:00
af737f4cc7
Fix autoload for Travis
Justin Hileman
2014-03-25 10:19:55 -07:00
de2466864b
Remove redundant documentation.
Justin Hileman
2014-03-25 09:42:10 -07:00
69c1ff9daa
Revert "Reduce Engine constructor complexity."
Justin Hileman
2014-03-25 09:36:25 -07:00
2bb13b37a4
Minor CS changes.
Justin Hileman
2014-03-25 09:21:16 -07:00
151de6f13e
Extract spec loading code into base test case
Justin Hileman
2014-03-25 09:19:28 -07:00
3d9288dc8e
Extract duplicated tmpdir code into base test case
Justin Hileman
2014-03-25 08:23:04 -07:00
84a4ff5b16
Use Composer autoload for unit tests.
Justin Hileman
2014-03-25 08:19:46 -07:00
e9d4af3bbe
Reduce Engine constructor complexity.
Justin Hileman
2014-03-25 07:51:55 -07:00
b3e3e0a27a
Gah. Fix broken lambda tests.
Justin Hileman
2014-03-25 07:49:02 -07:00
8debbd58bb
Remove some dead code.
Justin Hileman
2014-03-25 07:31:22 -07:00
a2ca330cba
Fix missing properties.
Justin Hileman
2014-03-25 07:30:41 -07:00
f696e7afa6
Fix incorrect or missing type annotations.
Justin Hileman
2014-03-25 07:21:02 -07:00
22a47452da
How embarrassing.
Justin Hileman
2014-03-13 22:34:44 -07:00
1d8db69fb6
line numbers are numbers, not strings.
Justin Hileman
2014-02-20 10:31:41 -08:00
e00bebd141
Override encoding to improve tokenizer performance
Justin Hileman
2014-02-20 09:07:43 -08:00
6215e6b1b1
Store otag/ctag lengths rather than recomputing.
Justin Hileman
2014-02-20 06:44:36 -08:00
d534b168a0
Clean up comment code block style.
Justin Hileman
2014-02-20 08:21:52 -08:00
6fa8518a9a
Merge pull request #185 from jazzdan/dev
Justin Hileman
2014-01-14 12:19:33 -08:00
536c0edac7
Include line number with syntax errors Contains changes suggested in #184
Dan Miller
2014-01-13 11:19:04 -05:00
b84e9deec8
Merge branch 'hotfix/2.5.1' into dev
Justin Hileman
2014-01-08 16:36:44 -08:00
996c944fa2
Merge branch 'hotfix/2.5.1'
Justin Hileman
2014-01-08 16:36:09 -08:00
39dc20e691
Version bump v2.5.1
Justin Hileman
2014-01-08 16:36:02 -08:00
aa77e3bfd9
Ugh PHP.
Justin Hileman
2014-01-08 16:33:33 -08:00
f1d3955492
Add a failing test for #183
Justin Hileman
2014-01-08 16:28:55 -08:00
49eb190c42
Merge branch 'release/2.5.0' into dev
Justin Hileman
2013-12-14 12:58:49 -08:00
dd528e765a
Merge branch 'release/2.5.0'
Justin Hileman
2013-12-14 12:57:43 -08:00
bd2a1fa492
Bump to v2.5.0
Justin Hileman
2013-12-14 12:57:36 -08:00