This PR was merged into the 1.x branch.
Discussion
----------
Fix the "empty" test on Traversable instances
closes#3101
Commits
-------
b202fe38 fixed the "empty" test on Traversable instances
This PR was merged into the 2.x branch.
Discussion
----------
Add extra argument to filter column
Added optional argument to `twig_array_column`, `$index_key`, to reflect proper arguments for underlaying `PHP` function `column`
Commits
-------
7ca47f2e Update CoreExtension.php
This PR was merged into the 2.x branch.
Discussion
----------
Added support for `css_class` function
fixes#2797
Commits
-------
6ce9beb9 moved css_class function to html_classes filter
2200d837 Added support for `css_class` function
This PR was merged into the 1.x branch.
Discussion
----------
Fix using array_key_exists() on objects, it is deprecated in PHP 7.4
Found as part of https://github.com/symfony/symfony/issues/32844
Commits
-------
d0550b7a Fix using array_key_exists() on objects, it is deprecated in PHP 7.4
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#3087).
Discussion
----------
Extend opcache check if it is enabled
When trying to deploy October on shared hosting (www.websupport.sk) I received following error when accessing the frontend pages - ErrorException:> Zend OPcache API is restricted by "restrict_api" configuration directive.
Backend was working normally.
I propose the following change to check not only if the opcache_invalidate exists but also if opcache is enabled.
The change was also needed in octobercms files, but to correspond I am also proposing to add it directly to twig.
Commits
-------
6e68bd08 Extend opcache check if it is enabled
When trying to deploy October on shared hosting (www.websupport.sk) I received following error when accessing the frontend pages - ErrorException:> Zend OPcache API is restricted by "restrict_api" configuration directive.
Backend was working normally.
I propose the following change to check not only if the opcache_invalidate exists but also if opcache is enabled.
The change was also needed in octobercms files, but to correspond I am also proposing to add it directly to twig.
This PR was merged into the 2.x branch.
Discussion
----------
Update include.rst
Fix in function include to set a filter
Commits
-------
21fde2f7 Update include.rst
This PR was merged into the 2.x branch.
Discussion
----------
Fix using macros in arrow functions
Closes#3083
Commits
-------
95352743 fixed using macros in arrow functions
This PR was merged into the 1.x branch.
Discussion
----------
Move tests to a namespace structure
Commits
-------
2119e60c moved tests to a namespace structure