Fabien Potencier 10a7bc13fb bug #3809 Restores the leniency of the matches twig comparison (la5942)
This PR was merged into the 3.x branch.

Discussion
----------

Restores the leniency of the `matches` twig comparison

Restores the leniency of the `matches` twig comparison, allowing null subject to result in a non-match.

Resolves BC break introduced in PR https://github.com/twigphp/Twig/pull/3687 ref in https://github.com/twigphp/Twig/issues/3801#issuecomment-1413345131

As per pattern in https://github.com/twigphp/Twig/pull/3617

Commits
-------

f1366689 Restores the leniency of the `matches` twig comparison, allowing null subject to result in a non-match.
2023-02-08 08:21:13 +01:00
2022-12-26 17:29:12 +01:00
2023-02-02 13:25:22 +01:00
2023-01-01 09:43:26 +01:00
2022-09-16 12:46:43 +02:00
2022-12-27 13:23:36 +01:00
2023-01-01 09:42:51 +01:00

Twig, the flexible, fast, and secure template language for PHP
==============================================================

Twig is a template language for PHP.

Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.

Sponsors
--------

.. raw:: html

    <a href="https://blackfire.io/docs/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
        <img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
    </a>

More Information
----------------

Read the `documentation`_ for more information.

.. _documentation: https://twig.symfony.com/documentation
Languages
PHP 99.9%