Skip to content

Releases: slepic/php-template

New Class DefaultDataTemplate

11 Dec 14:25
0b24d5a
Compare
Choose a tag to compare
1.1.0

add class DefaultDataTemplate (#2)

1.0.1

10 May 13:10
Compare
Choose a tag to compare
  • fix githooks and remove php-cs-fixer config

PHP 7.4 Compatibility

10 May 13:05
e92d806
Compare
Choose a tag to compare
  • bump PHP to ^7.4 || ^8.0
  • TemplateInterface::render() now has string return typehint
  • OutputBufferTemplate::render throws InvalidArgumentException if data argument contains keys that cannot be used as local variable names
  • use squizlabs/php_codesniffer instead of friendsofphp/php-cs-fixer for style check
  • bump dev deps to latest versions
  • use composer docker image for dev
  • move composer scripts to makefile

0.2.0

07 Jul 00:27
cd4ee94
Compare
Choose a tag to compare
  • Added array typehint for first argument of TemplateInterface::render().
  • Changed travis setup to only run tests in oldest and newest php versions supported by this package (that is 5.6 and 7.3).

0.1.0

03 May 23:16
03e39ca
Compare
Choose a tag to compare

TemplateInterface
OutbutBufferTemplate