Skip to content

Conversation

@harrydeluxe
Copy link
Owner

No description provided.

Virtual file system with a Closure as a callback
…stringValue/AbstractBlock::renderAll

This way complex objects could be passed between templates and to filters.
Context: defer object-to-string conversion
… coding standard

We can't have both braces on the next line after classes, and on the same for functions.
If we only would have to change braces by classes, that would be least possible change in terms of lines changed.
sanmai and others added 30 commits August 7, 2023 11:28
Update PHP Coding Standards Fixer, bump PHP version support
Co-authored-by: pavlikovsky <ciphuk@gmail.com>
* Fix: htmlentities(): Passing null to parameter 1 ($string) of type string is deprecated
* Create dependabot.yml

This file is used to automate the process of keeping the GitHub Actions dependencies up to date by configuring Dependabot to check for updates on a weekly basis and apply them as needed.

* Update .github/dependabot.yml

---------

Co-authored-by: Alexey Kopytko <alexey@kopytko.com>
Co-authored-by: Graham Campbell <hello@gjcampbell.co.uk>
Co-authored-by: Graham Campbell <GrahamCampbell@users.noreply.github.com>
Bring the array syntax up to speed
* Improve performance

I have identified three main bottlenecks when profiling the code with xdebug:

1. `array_shift()`: The array of tokens ended up being renumbered on each iteration. So we instead set consumed tokens to `null`.
2. `mb_substr()`: Using mutltibyte here is unnecessary and overkill, when we can just operate directly on the string.
3. `Liquid::get()`:  This one surprised me, but due to the number of calls, here it is. Shave off more processing time by accessing the config array directly.


Co-authored-by: Alexey Kopytko <alexey@kopytko.com>
* Let go of PHP versions 7.4, 8.0, and 8.1

Removed PHP versions 7.4, 8.0, and 8.1 from the workflow matrix and updated the include section to reflect only PHP 8.2 with lowest dependencies.

* Update PHP requirement to version 8.2

* Update PHP version requirements in README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.