Justin Hileman
4dd6383a3d
Use latest PHPUnit dev dependency.
2016-02-14 08:37:53 -08:00
Justin Hileman
f3ae65eb33
Fix incorrect indent on interpolated lambdas.
...
Fixes #286
2016-02-14 08:37:41 -08:00
Justin Hileman
131cad6024
Add a failing test for #286
2016-02-13 15:36:35 -08:00
Justin Hileman
9cc21d63f7
Respect delimiter changes in lambda helper.
...
See janl/mustache.js#489
2015-10-12 12:48:21 -07:00
Justin Hileman
5353b36ec6
Merge branch 'release/2.9.0' into dev
2015-08-15 12:23:20 -07:00
Justin Hileman
c745b01956
Merge branch 'release/2.9.0'
2015-08-15 12:23:13 -07:00
Justin Hileman
eff33aff4e
Bump to v2.9.0
2015-08-15 12:18:51 -07:00
Justin Hileman
1b1757987a
Put anchored dots behind {{%ANCHORED-DOT}} pragma.
2015-08-15 12:18:04 -07:00
Justin Hileman
664895f4b9
Add a simple BLOCKS pragma example.
2015-08-15 09:38:32 -07:00
Justin Hileman
8be838e144
Bump copyright dates.
2015-08-15 09:23:54 -07:00
Justin Hileman
7b81206923
Remove create_example script.
...
I'm not sure it has ever been used, and it's not all that difficult to create one manually.
2015-08-15 09:22:13 -07:00
Justin Hileman
72b9693912
Merge pull request #129 from bobthecow/feature/anchor-dot-context
...
Add "anchored dot notation"
2015-08-15 09:19:48 -07:00
Justin Hileman
a5ad0a86db
Anchor dot notation context: {{ .foo }}
...
1. Given that {{ . }} resolves as the top of the context stack;
2. And when any falsey segment in a dotted name is encountered, the whole name yields '';
3. A name like {{ .name }} should imply {{ [top of stack].name }};
4. Thus, it must resolve as truthy only if a member of the top of the context stack matches name.
See mustache/spec#52
2015-08-15 09:09:42 -07:00
Justin Hileman
ba028d1dcf
We won't be needing this anymore.
2015-07-18 07:30:38 -07:00
Justin Hileman
6b16313ced
Update travis-ci environments.
...
hhvm-nightly is no more, but there is a php 7.0. Will it pass? The suspense is killing me!
2015-07-18 07:28:44 -07:00
Justin Hileman
27a8bf0b69
Update to latest php-cs-fixer config.
...
Update to corresponding style-ci config options. Fix a few code style issues in the process.
2015-07-18 07:23:23 -07:00
Justin Hileman
d8da5f1d99
Clean up compiled PHP coding style.
2015-07-18 01:12:21 -07:00
Justin Hileman
91c71191c8
Merge remote-tracking branch 'damyon/PULL_264' into dev
2015-07-18 01:11:59 -07:00
Damyon Wiese
1e63ba5fd9
Add block functions to the template, so they can be evaluated lazily.
...
Fixes #264
2015-07-17 21:14:34 +08:00
Damyon Wiese
11ad87ae2d
Lazily evaluate blocks pragmas.
...
The specific example in the docs page about what does not work, is exactly what we need
to make this useful.
Fixes #264
2015-07-17 11:58:36 +08:00
Justin Hileman
a066f27e66
Merge branch 'release/2.8.0' into dev
2015-03-31 23:39:06 -07:00
Justin Hileman
64c28cc73e
Merge branch 'release/2.8.0'
2015-03-31 23:37:33 -07:00
Justin Hileman
46facc76b5
Bump to v2.8.0
2015-03-31 23:37:28 -07:00
Justin Hileman
c4b1712d98
Merge branch 'fix/template-inheritance-whitespace' into dev
2015-03-31 23:24:25 -07:00
Justin Hileman
7b57d9b1d2
Merge pull request #256 from keradus/cs
...
CS update
2015-03-31 23:09:23 -07:00
Dariusz Ruminski
47eb13cb26
CS update
2015-03-28 17:54:07 +01:00
Justin Hileman
7cb9fdff6a
Never indent block arg sections.
...
Fixes #253
2015-03-03 10:05:27 -08:00
Mike Sherov
067fd6c33e
Failing Test For Inheritance Indentation inside a replacement variable.
2015-03-03 11:54:21 -05:00
Justin Hileman
22611a957c
CS fixes.
...
Plus add config for StyleCI.
2015-03-02 21:53:03 -08:00
Justin Hileman
4cd8521341
Merge pull request #248 from keradus/phpdoc_no_empty_return
...
apply phpdoc_no_empty_return fixer
2015-03-02 21:45:36 -08:00
Justin Hileman
e00d1f15e6
Merge pull request #249 from keradus/phpdoc_trim
...
apply phpdoc_trim fixer
2015-02-26 15:18:35 -08:00
Justin Hileman
7e226a118c
Merge pull request #250 from keradus/no_empty_lines_after_phpdocs
...
apply no_empty_lines_after_phpdocs fixer
2015-02-26 15:18:26 -08:00
Dariusz Ruminski
42c34b6e34
apply phpdoc_no_empty_return fixer
2015-02-26 21:40:19 +01:00
Dariusz Ruminski
c415dc318d
apply phpdoc_trim fixer
2015-02-26 21:36:12 +01:00
Dariusz Ruminski
ea08692253
apply no_empty_lines_after_phpdocs fixer
2015-02-26 21:35:27 +01:00
Justin Hileman
6dd2a45358
Merge pull request #245 from keradus/travis-sudo
...
.travis.yml - no need for sudo
2014-12-27 13:31:17 -08:00
Dariusz Rumiński
fd470db080
.travis.yml - no need for sudo
2014-12-27 22:28:58 +01:00
Justin Hileman
57191fdd82
Merge pull request #244 from keradus/dev-php_cs
...
update .php_cs file - set dir to check
2014-12-27 13:27:46 -08:00
Dariusz Rumiński
c81138f6ac
update .php_cs file - set dir to check
2014-12-27 22:12:11 +01:00
Justin Hileman
f4f77a7882
Better dev dependencies.
...
* Add dependency on php-cs-fixer, since we use it.
* Add a useful PHPUnit dependency version.
2014-12-27 07:34:16 -08:00
Justin Hileman
cdb8f8d340
Fix bin/create_example CS
2014-12-27 07:33:27 -08:00
Justin Hileman
953a1e6bc5
Update php-cs-fixer config.
2014-12-27 07:33:18 -08:00
Justin Hileman
633d1f2913
Add hhvm-nightly to Travis config.
2014-12-27 07:29:04 -08:00
Justin Hileman
7cbc0d0796
Plural, too :)
2014-12-27 07:26:15 -08:00
Justin Hileman
6c1e5154e6
Merge pull request #243 from LostKobrakai/master
...
Changed dollar sign to full word
2014-12-19 09:56:05 -08:00
Benjamin Milde
87dd660266
Changed dollar sign to a full word
...
Related to: https://github.com/bobthecow/mustache.php/issues/241
2014-12-19 18:41:05 +01:00
Justin Hileman
792b3b4599
Shinier, newer badges.
2014-12-15 18:34:29 -08:00
Justin Hileman
c43f2f1a50
Merge pull request #238 from keradus/php-cs-fixer-1.0
...
update PHP-CS-Fixer to 1.0
2014-11-15 14:56:31 -08:00
Dariusz Rumiński
e1458c7ede
.travis.yml - do not run PHP CS Fixer on HHVM
2014-11-15 22:28:37 +01:00
Dariusz Rumiński
07c8faa73b
.php_cs - exclude file
2014-11-15 21:35:21 +01:00