Skip to content

v2.5.0

Compare
Choose a tag to compare
@SerhiiCho SerhiiCho released this 19 Nov 15:51
  • Added support for elseif (<expression>) and else if (<expression>) statements like we have in PHP. You can use them like this: {{ if true }}<h1>True</h1>{{ elseif false }}<h1>False</h1>{{ else }}<h1>Something else</h1>{{ endif }}
  • Added PHP Stan static analysis tool
  • Added CS Fixer code style fixer
  • 🐛 Bug fixes in the Parser.php class related to readonly properties being set later in the code
  • Improved error handling
  • Changed tests back to PHPUnit from Pest, because Pest is kinda sucks and doesn't work as I want. It lacks of error descriptive error messages when tests fail. It's hard to debug. So, I decided to go back to PHPUnit
  • 🐛 Bug fix of the error that was happening when you condition of the if statement was false
  • Installed CS Fixer to the project