This pull request makes the necessary changes required to support Statamic 5.
This PR will be added to as time goes on.
Changes
Updates the version constraint in composer.json
Adjusted testing matrix
Changed how we call the Antlers parser
Previously, we were directly calling the Regex parser. However, the Regex Parser has been removed in Statamic 5 so this updates the code to call Antlers::parser() instead.
This pull request makes the necessary changes required to support Statamic 5.
This PR will be added to as time goes on.
Changes
composer.json
Antlers::parser()
instead.TestCase
laravel/helpers
functionslaravel/helpers
dependency, which provided backwards compatibility for old string/array helpers.Str
class.$this->components->...
)casts
method for defining casts, rather than the$casts
property used in older versions of Laravel.