default services conflit ?

This commit is contained in:
armansansd
2022-04-27 11:30:43 +02:00
parent 28190a5749
commit 8bb1064a3b
8132 changed files with 900138 additions and 426 deletions

View File

@@ -0,0 +1,18 @@
; top-most EditorConfig file
root = true
; Unix-style newlines
[*]
end_of_line = LF
[*.php]
indent_style = space
indent_size = 4
[*.test]
indent_style = space
indent_size = 4
[*.rst]
indent_style = space
indent_size = 4

4
old.vendor/twig/twig/.gitattributes vendored Normal file
View File

@@ -0,0 +1,4 @@
/doc/** export-ignore
/extra/** export-ignore
/tests export-ignore
/phpunit.xml.dist export-ignore

View File

@@ -0,0 +1,173 @@
name: "CI"
on:
pull_request:
push:
branches:
- '2.x'
env:
SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE: 1
jobs:
tests:
name: "PHP ${{ matrix.php-version }}"
runs-on: 'ubuntu-latest'
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php-version:
- '7.1.3'
- '7.2.5'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
composer-options: ['']
experimental: [false]
steps:
- name: "Checkout code"
uses: actions/checkout@v2.3.3
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@2.7.0
with:
coverage: "none"
php-version: ${{ matrix.php-version }}
ini-values: memory_limit=-1
tools: composer:v2
- name: "Add PHPUnit matcher"
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: "Set composer cache directory"
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: "Cache composer"
uses: actions/cache@v2.1.2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php-version }}-composer-
- run: composer install ${{ matrix.composer-options }}
- name: "Install PHPUnit"
run: vendor/bin/simple-phpunit install
- name: "PHPUnit version"
run: vendor/bin/simple-phpunit --version
- name: "Run tests"
run: vendor/bin/simple-phpunit
extension-tests:
needs:
- 'tests'
name: "${{ matrix.extension }} with PHP ${{ matrix.php-version }}"
runs-on: 'ubuntu-latest'
continue-on-error: true
strategy:
matrix:
php-version:
- '7.2.5'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
extension:
- 'extra/cssinliner-extra'
- 'extra/html-extra'
- 'extra/inky-extra'
- 'extra/intl-extra'
- 'extra/markdown-extra'
- 'extra/string-extra'
- 'extra/twig-extra-bundle'
composer-options: ['']
experimental: [false]
steps:
- name: "Checkout code"
uses: actions/checkout@v2.3.3
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@2.7.0
with:
coverage: "none"
php-version: ${{ matrix.php-version }}
ini-values: memory_limit=-1
tools: composer:v2
- name: "Add PHPUnit matcher"
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: "Set composer cache directory"
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: "Cache composer"
uses: actions/cache@v2.1.2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.extension }}-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.extension }}-
- run: composer install
- name: "Install PHPUnit"
run: vendor/bin/simple-phpunit install
- name: "PHPUnit version"
run: vendor/bin/simple-phpunit --version
- if: matrix.extension == 'extra/markdown-extra' && matrix.php-version == '8.0'
working-directory: ${{ matrix.extension}}
run: composer config platform.php 7.4.99
- name: "Composer install"
working-directory: ${{ matrix.extension}}
run: composer install
- name: "Run tests"
working-directory: ${{ matrix.extension}}
run: ../../vendor/bin/simple-phpunit
integration-tests:
needs:
- 'tests'
name: "Integration tests with PHP ${{ matrix.php-version }}"
runs-on: 'ubuntu-20.04'
continue-on-error: true
strategy:
matrix:
php-version:
- '7.3'
steps:
- name: "Checkout code"
uses: actions/checkout@v2.3.3
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@2.7.0
with:
coverage: "none"
extensions: "gd, pdo_sqlite"
php-version: ${{ matrix.php-version }}
ini-values: memory_limit=-1
tools: composer:v2
- run: bash ./tests/drupal_test.sh
shell: "bash"

View File

@@ -0,0 +1,60 @@
name: "Documentation"
on:
pull_request:
push:
branches:
- '1.x'
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v2
- name: "Set up Python 3.7"
uses: actions/setup-python@v1
with:
python-version: '3.7' # Semantic version range syntax or exact version of a Python version
- name: "Display Python version"
run: python -c "import sys; print(sys.version)"
- name: "Install Sphinx dependencies"
run: sudo apt-get install python-dev build-essential
- name: "Cache pip"
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('_build/.requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: "Install Sphinx + requirements via pip"
working-directory: "doc"
run: pip install -r _build/.requirements.txt
- name: "Build documentation"
working-directory: "doc"
run: make -C _build SPHINXOPTS="-nqW -j auto" html
doctor-rst:
name: "DOCtor-RST"
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v2
- name: "Run DOCtor-RST"
uses: docker://oskarstark/doctor-rst
with:
args: --short
env:
DOCS_DIR: 'doc/'

4
old.vendor/twig/twig/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
/composer.lock
/phpunit.xml
/vendor
.phpunit.result.cache

View File

@@ -0,0 +1,20 @@
<?php
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHPUnit75Migration:risky' => true,
'php_unit_dedicate_assert' => ['target' => '5.6'],
'array_syntax' => ['syntax' => 'short'],
'php_unit_fqcn_annotation' => true,
'no_unreachable_default_argument_value' => false,
'braces' => ['allow_single_line_closure' => true],
'heredoc_to_nowdoc' => false,
'ordered_imports' => true,
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'all'],
])
->setRiskyAllowed(true)
->setFinder((new PhpCsFixer\Finder())->in(__DIR__))
;

View File

@@ -0,0 +1,376 @@
# 2.14.11 (2022-02-04)
* Fix a security issue when in a sandbox: the `sort` filter must require a Closure for the `arrow` parameter
# 2.14.10 (2022-01-03)
* Allow more null arguments when Twig expects a string (for better 8.1 support)
# 2.14.9 (2022-01-03)
* Allow null when Twig expects a string (for better 8.1 support)
* Add support for PHP 7.1 back
* Make some performance optimizations
* Allow Symfony translation contract v3+
# 2.14.8 (2021-11-25)
* Bump minimum supported Symfony component versions
* Fix a deprecated message
# 2.14.7 (2021-09-17)
* Allow Symfony 6
* Improve compatibility with PHP 8.1
* Explicitly specify the encoding for mb_ord in JS escaper
# 2.14.6 (2021-05-16)
* Revert "Throw a proper exception when a template name is an absolute path (as it has never been supported)"
# 2.14.5 (2021-05-12)
* Fix PHP 8.1 compatibility
* Throw a proper exception when a template name is an absolute path (as it has never been supported)
# 2.14.4 (2021-03-10)
* Add the slug filter
# 2.14.3 (2021-01-05)
* Fix extra bundle compat with older versions of Symfony
# 2.14.2 (2021-01-05)
* Fix "odd" not working for negative numbers
# 2.14.1 (2020-10-27)
* Fix "include(template_from_string())"
# 2.14.0 (2020-10-21)
* Fix sandbox support when using "include(template_from_string())"
* Make round brackets optional for one argument tests like "same as" or "divisible by"
* Add support for ES2015 style object initialisation shortcut { a } is the same as { 'a': a }
* Drop PHP 7.1 support
# 2.13.1 (2020-08-05)
* Fix sandbox not disabled if syntax error occurs within {% sandbox %} tag
* Fix a regression when not using a space before an operator
* Restrict callables to closures in filters
* Allow trailing commas in argument lists (in calls as well as definitions)
# 2.13.0 (2020-07-05)
* Fix options not taken into account when using "Michelf\MarkdownExtra"
* Fix "Twig\Extra\Intl\IntlExtension::getCountryName()" to accept "null" as a first argument
* Drop support for PHP 7.0
* Throw exception in case non-Traversable data is passed to "filter"
* Fix context optimization on PHP 7.4
* Fix PHP 8 compatibility
* Fix ambiguous syntax parsing
# 2.12.5 (2020-02-11)
* Add a check to ensure that iconv() is defined
# 2.12.4 (2020-02-11)
* Avoid exceptions when an intl resource is not found
* Fix implementation of case-insensitivity for method names
# 2.12.3 (2019-12-28)
* fixed Symfony 5.0 support for the HTML extra extension
* fixed number formatter in Intl extra extension when using a formatter prototype
# 2.12.2 (2019-11-11)
* added supported for exponential numbers
# 2.12.1 (2019-10-17)
* added the String extension in the "extra" repositories: "u" filter
# 2.12.0 (2019-10-05)
* added the spaceship operator ("<=>"), useful when using an arrow function in the "sort" filter
* added support for an "arrow" function on the "sort" filter
* added the CssInliner extension in the "extra" repositories: "inline_css"
filter
* added the Inky extension in the "extra" repositories: "inky_to_html" filter
* added Intl extension in the "extra" repositories: "country_name",
"currency_name", "currency_symbol", "language_name", "locale_name",
"timezone_name", "format_currency", "format_number",
"format_*_number", "format_datetime", "format_date", and "format_time"
filters, and the "country_timezones" function
* added the Markdown extension in the "extra" repositories: "markdown_to_html",
and "html_to_markdown" filters
* added the HtmlExtension extension in the "extra" repositories: "date_uri"
filter, and "html_classes" function
* optimized "block('foo') ?? 'bar'"
* fixed the empty test on Traversable instances
* fixed array_key_exists() on objects
* fixed cache when opcache is installed but disabled
* fixed using macros in arrow functions
* fixed split filter on edge case
# 2.11.3 (2019-06-18)
* display partial output (PHP buffer) when an error occurs in debug mode
* fixed the filter filter (allow the result to be used several times)
* fixed macro auto-import when a template contains only macros
# 2.11.2 (2019-06-05)
* fixed macro auto-import
# 2.11.1 (2019-06-04)
* added support for "Twig\Markup" instances in the "in" test (again)
* allowed string operators as variables names in assignments
* fixed support for macros defined in parent templates
# 2.11.0 (2019-05-31)
* added the possibility to register classes/interfaces as being safe for the escaper ("EscaperExtension::addSafeClass()")
* deprecated CoreExtension::setEscaper() and CoreExtension::getEscapers() in favor of the same methods on EscaperExtension
* macros are now auto-imported in the template they are defined (under the ``_self`` variable)
* added support for macros on "is defined" tests
* fixed macros "import" when using the same name in the parent and child templates
* fixed recursive macros
* macros imported "globally" in a template are now available in macros without re-importing them
* fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator (\SimpleXmlElement for instance)
* fixed a PHP fatal error when calling a macro imported in a block in a nested block
* fixed a PHP fatal error when calling a macro imported in the template in another macro
* fixed wrong error message on "import" and "from"
# 2.10.0 (2019-05-14)
* deprecated "if" conditions on "for" tags
* added "filter", "map", and "reduce" filters (and support for arrow functions)
* fixed partial output leak when a PHP fatal error occurs
* optimized context access on PHP 7.4
# 2.9.0 (2019-04-28)
* deprecated returning "false" to remove a Node from NodeVisitorInterface::leaveNode()
* allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning)
* deprecated the "filter" tag (use the "apply" tag instead)
* added the "apply" tag as a replacement for the "filter" tag
* allowed Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning)
* added support for "Twig\Markup" instances in the "in" test
* fixed "import" when macros are stored in a template string
* fixed Lexer when using custom options containing the # char
* added template line number to twig_get_attribute()
# 2.8.1 (2019-04-16)
* fixed EscaperNodeVisitor
* deprecated passing a 3rd, 4th, and 5th arguments to the Sandbox exception classes
* deprecated Node::setTemplateName() in favor of Node::setSourceContext()
# 2.8.0 (2019-04-16)
* added Traversable support for the length filter
* fixed some wrong location in error messages
* made exception creation faster
* made escaping on ternary expressions (?: and ??) more fine-grained
* added the possibility to give a nice name to string templates (template_from_string function)
* fixed the "with" behavior to always include the globals (for consistency with the "include" and "embed" tags)
* fixed "include" with "ignore missing" when an error loading occurs in the included template
* added support for a new whitespace trimming option ({%~ ~%}, {{~ ~}}, {#~ ~#})
* added the "column" filter
# 2.7.4 (2019-03-23)
* fixed variadic support
* fixed CheckToStringNode implementation (broken when a function/filter is variadic)
# 2.7.3 (2019-03-21)
* fixed the spaceless filter so that it behaves like the spaceless tag
* fixed BC break on Environment::resolveTemplate()
* allowed Traversable objects to be used in the "with" tag
* allowed Traversable objects to be used in the "with" tag
* allowed Traversable objects to be used in the "with" argument of the "include" and "embed" tags
# 2.7.2 (2019-03-12)
* added TemplateWrapper::getTemplateName()
# 2.7.1 (2019-03-12)
* fixed class aliases
# 2.7.0 (2019-03-12)
* fixed sandbox security issue (under some circumstances, calling the
__toString() method on an object was possible even if not allowed by the
security policy)
* fixed batch filter clobbers array keys when fill parameter is used
* added preserveKeys support for the batch filter
* fixed "embed" support when used from "template_from_string"
* deprecated passing a Twig\Template to Twig\Environment::load()/Twig\Environment::resolveTemplate()
* added the possibility to pass a TemplateWrapper to Twig\Environment::load()
* marked Twig\Environment::getTemplateClass() as internal (implementation detail)
* improved the performance of the sandbox
* deprecated the spaceless tag
* added a spaceless filter
* added max value to the "random" function
* deprecated Twig\Extension\InitRuntimeInterface
* deprecated Twig\Loader\ExistsLoaderInterface
* deprecated PSR-0 classes in favor of namespaced ones
* made namespace classes the default classes (PSR-0 ones are aliases now)
* added Twig\Loader\ChainLoader::getLoaders()
* removed duplicated directory separator in FilesystemLoader
* deprecated the "base_template_class" option on Twig\Environment
* deprecated the Twig\Environment::getBaseTemplateClass() and
Twig\Environment::setBaseTemplateClass() methods
* changed internal code to use the namespaced classes as much as possible
* deprecated Twig_Parser::isReservedMacroName()
# 2.6.2 (2019-01-14)
* fixed regression (key exists check for non ArrayObject objects)
# 2.6.1 (2019-01-14)
* fixed ArrayObject access with a null value
* fixed embedded templates starting with a BOM
* fixed using a Twig_TemplateWrapper instance as an argument to extends
* fixed error location when calling an undefined block
* deprecated passing a string as a source on Twig_Error
* switched generated code to use the PHP short array notation
* fixed float representation in compiled templates
* added a second argument to the join filter (last separator configuration)
# 2.6.0 (2018-12-16)
* made sure twig_include returns a string
* fixed multi-byte UFT-8 in escape('html_attr')
* added the "deprecated" tag
* added support for dynamically named tests
* fixed GlobalsInterface extended class
* fixed filesystem loader throwing an exception instead of returning false
# 2.5.0 (2018-07-13)
* deprecated using the spaceless tag at the root level of a child template (noop anyway)
* deprecated the possibility to define a block in a non-capturing block in a child template
* added the Symfony ctype polyfill as a dependency
* fixed reporting the proper location for errors compiled in templates
* fixed the error handling for the optimized extension-based function calls
* ensured that syntax errors are triggered with the right line
* "js" filter now produces valid JSON
# 2.4.8 (2018-04-02)
* fixed a regression when using the "default" filter or the "defined" test on non-existing arrays
# 2.4.7 (2018-03-20)
* optimized runtime performance
* optimized parser performance by inlining the constant values
* fixed block names unicity
* fixed counting children of SimpleXMLElement objects
* added missing else clause to avoid infinite loops
* fixed .. (range operator) in sandbox policy
# 2.4.6 (2018-03-03)
* fixed a regression in the way the profiler is registered in templates
# 2.4.5 (2018-03-02)
* optimized the performance of calling an extension method at runtime
* optimized the performance of the dot operator for array and method calls
* added an exception when using "===" instead of "same as"
* fixed possible array to string conversion concealing actual error
* made variable names deterministic in compiled templates
* fixed length filter when passing an instance of IteratorAggregate
* fixed Environment::resolveTemplate to accept instances of TemplateWrapper
# 2.4.4 (2017-09-27)
* added Twig_Profiler_Profile::reset()
* fixed use TokenParser to return an empty Node
* added RuntimeExtensionInterface
* added circular reference detection when loading templates
* added support for runtime loaders in IntegrationTestCase
* fixed deprecation when using Twig_Profiler_Dumper_Html
* removed @final from Twig_Profiler_Dumper_Text
# 2.4.3 (2017-06-07)
* fixed namespaces introduction
# 2.4.2 (2017-06-05)
* fixed namespaces introduction
# 2.4.1 (2017-06-05)
* fixed namespaces introduction
# 2.4.0 (2017-06-05)
* added support for PHPUnit 6 when testing extensions
* fixed PHP 7.2 compatibility
* fixed template name generation in Twig_Environment::createTemplate()
* removed final tag on Twig_TokenParser_Include
* dropped HHVM support
* added namespaced aliases for all (non-deprecated) classes and interfaces
* marked Twig_Filter, Twig_Function, Twig_Test, Twig_Node_Module and Twig_Profiler_Profile as final via the @final annotation
# 2.3.2 (2017-04-20)
* fixed edge case in the method cache for Twig attributes
# 2.3.1 (2017-04-18)
* fixed the empty() test
# 2.3.0 (2017-03-22)
* fixed a race condition handling when writing cache files
* "length" filter now returns string length when applied to an object that does
not implement \Countable but provides __toString()
* "empty" test will now consider the return value of the __toString() method for
objects implement __toString() but not \Countable
* fixed JS escaping for unicode characters with higher code points
* added error message when calling `parent()` in a block that doesn't exist in the parent template
# 2.2.0 (2017-02-26)
* added a PSR-11 compatible runtime loader
* added `side` argument to `trim` to allow left or right trimming only.
# 2.1.0 (2017-01-11)
* fixed twig_get_attribute()
* added Twig_NodeCaptureInterface for nodes that capture all output
# 2.0.0 (2017-01-05)
* removed the C extension
* moved Twig_Environment::getAttribute() to twig_get_attribute()
* removed Twig_Environment::getLexer(), Twig_Environment::getParser(), Twig_Environment::getCompiler()
* removed Twig_Compiler::getFilename()
* added hasser support in Twig_Template::getAttribute()
* sped up the json_encode filter
* removed reserved macro names; all names can be used as macro
* removed Twig_Template::getEnvironment()
* changed _self variable to return the current template name
* made the loader a required argument of Twig_Environment constructor
* removed Twig_Environment::clearTemplateCache()
* removed Twig_Autoloader (use Composer instead)
* removed `true` as an equivalent to `html` for the auto-escaping strategy
* removed pre-1.8 autoescape tag syntax
* dropped support for PHP 5.x
* removed the ability to register a global variable after the runtime or the extensions have been initialized
* improved the performance of the filesystem loader
* removed features that were deprecated in 1.x

View File

@@ -0,0 +1,27 @@
Copyright (c) 2009-2022 by the Twig Team.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Twig nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,23 @@
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

View File

@@ -0,0 +1,54 @@
{
"name": "twig/twig",
"type": "library",
"description": "Twig, the flexible, fast, and secure template language for PHP",
"keywords": ["templating"],
"homepage": "https://twig.symfony.com",
"license": "BSD-3-Clause",
"minimum-stability": "dev",
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com",
"homepage": "http://fabien.potencier.org",
"role": "Lead Developer"
},
{
"name": "Twig Team",
"role": "Contributors"
},
{
"name": "Armin Ronacher",
"email": "armin.ronacher@active-4.com",
"role": "Project Founder"
}
],
"require": {
"php": ">=7.1.3",
"symfony/polyfill-mbstring": "^1.3",
"symfony/polyfill-ctype": "^1.8",
"symfony/polyfill-php72": "^1.8"
},
"require-dev": {
"symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0",
"psr/container": "^1.0"
},
"autoload": {
"psr-0" : {
"Twig_" : "lib/"
},
"psr-4" : {
"Twig\\" : "src/"
}
},
"autoload-dev": {
"psr-4" : {
"Twig\\Tests\\" : "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.14-dev"
}
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\NodeVisitor\AbstractNodeVisitor;
class_exists('Twig\NodeVisitor\AbstractNodeVisitor');
@trigger_error('Using the "Twig_BaseNodeVisitor" class is deprecated since Twig version 2.7, use "Twig\NodeVisitor\AbstractNodeVisitor" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\NodeVisitor\AbstractNodeVisitor" instead */
class Twig_BaseNodeVisitor extends AbstractNodeVisitor
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Cache\FilesystemCache;
class_exists('Twig\Cache\FilesystemCache');
@trigger_error('Using the "Twig_Cache_Filesystem" class is deprecated since Twig version 2.7, use "Twig\Cache\FilesystemCache" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Cache\FilesystemCache" instead */
class Twig_Cache_Filesystem extends FilesystemCache
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Cache\NullCache;
class_exists('Twig\Cache\NullCache');
@trigger_error('Using the "Twig_Cache_Null" class is deprecated since Twig version 2.7, use "Twig\Cache\NullCache" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Cache\NullCache" instead */
class Twig_Cache_Null extends NullCache
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Cache\CacheInterface;
class_exists('Twig\Cache\CacheInterface');
@trigger_error('Using the "Twig_CacheInterface" class is deprecated since Twig version 2.7, use "Twig\Cache\CacheInterface" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Cache\CacheInterface" instead */
class Twig_CacheInterface extends CacheInterface
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Compiler;
class_exists('Twig\Compiler');
@trigger_error('Using the "Twig_Compiler" class is deprecated since Twig version 2.7, use "Twig\Compiler" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Compiler" instead */
class Twig_Compiler extends Compiler
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\RuntimeLoader\ContainerRuntimeLoader;
class_exists('Twig\RuntimeLoader\ContainerRuntimeLoader');
@trigger_error('Using the "Twig_ContainerRuntimeLoader" class is deprecated since Twig version 2.7, use "Twig\RuntimeLoader\ContainerRuntimeLoader" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\RuntimeLoader\ContainerRuntimeLoader" instead */
class Twig_ContainerRuntimeLoader extends ContainerRuntimeLoader
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Environment;
class_exists('Twig\Environment');
@trigger_error('Using the "Twig_Environment" class is deprecated since Twig version 2.7, use "Twig\Environment" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Environment" instead */
class Twig_Environment extends Environment
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Error\Error;
class_exists('Twig\Error\Error');
@trigger_error('Using the "Twig_Error" class is deprecated since Twig version 2.7, use "Twig\Error\Error" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Error\Error" instead */
class Twig_Error extends Error
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Error\LoaderError;
class_exists('Twig\Error\LoaderError');
@trigger_error('Using the "Twig_Error_Loader" class is deprecated since Twig version 2.7, use "Twig\Error\LoaderError" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Error\LoaderError" instead */
class Twig_Error_Loader extends LoaderError
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Error\RuntimeError;
class_exists('Twig\Error\RuntimeError');
@trigger_error('Using the "Twig_Error_Runtime" class is deprecated since Twig version 2.7, use "Twig\Error\RuntimeError" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Error\RuntimeError" instead */
class Twig_Error_Runtime extends RuntimeError
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Error\SyntaxError;
class_exists('Twig\Error\SyntaxError');
@trigger_error('Using the "Twig_Error_Syntax" class is deprecated since Twig version 2.7, use "Twig\Error\SyntaxError" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Error\SyntaxError" instead */
class Twig_Error_Syntax extends SyntaxError
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Loader\ExistsLoaderInterface;
class_exists('Twig\Loader\ExistsLoaderInterface');
@trigger_error('Using the "Twig_ExistsLoaderInterface" class is deprecated since Twig version 2.7, use "Twig\Loader\ExistsLoaderInterface" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Loader\ExistsLoaderInterface" instead */
class Twig_ExistsLoaderInterface extends ExistsLoaderInterface
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\ExpressionParser;
class_exists('Twig\ExpressionParser');
@trigger_error('Using the "Twig_ExpressionParser" class is deprecated since Twig version 2.7, use "Twig\ExpressionParser" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\ExpressionParser" instead */
class Twig_ExpressionParser extends ExpressionParser
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\AbstractExtension;
class_exists('Twig\Extension\AbstractExtension');
@trigger_error('Using the "Twig_Extension" class is deprecated since Twig version 2.7, use "Twig\Extension\AbstractExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\AbstractExtension" instead */
class Twig_Extension extends AbstractExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\CoreExtension;
class_exists('Twig\Extension\CoreExtension');
@trigger_error('Using the "Twig_Extension_Core" class is deprecated since Twig version 2.7, use "Twig\Extension\CoreExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\CoreExtension" instead */
class Twig_Extension_Core extends CoreExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\DebugExtension;
class_exists('Twig\Extension\DebugExtension');
@trigger_error('Using the "Twig_Extension_Debug" class is deprecated since Twig version 2.7, use "Twig\Extension\DebugExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\DebugExtension" instead */
class Twig_Extension_Debug extends DebugExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\EscaperExtension;
class_exists('Twig\Extension\EscaperExtension');
@trigger_error('Using the "Twig_Extension_Escaper" class is deprecated since Twig version 2.7, use "Twig\Extension\EscaperExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\EscaperExtension" instead */
class Twig_Extension_Escaper extends EscaperExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\GlobalsInterface;
class_exists('Twig\Extension\GlobalsInterface');
@trigger_error('Using the "Twig_Extension_GlobalsInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\GlobalsInterface" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\GlobalsInterface" instead */
class Twig_Extension_GlobalsInterface extends GlobalsInterface
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\InitRuntimeInterface;
class_exists('Twig\Extension\InitRuntimeInterface');
@trigger_error('Using the "Twig_Extension_InitRuntimeInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\InitRuntimeInterface" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\InitRuntimeInterface" instead */
class Twig_Extension_InitRuntimeInterface extends InitRuntimeInterface
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\OptimizerExtension;
class_exists('Twig\Extension\OptimizerExtension');
@trigger_error('Using the "Twig_Extension_Optimizer" class is deprecated since Twig version 2.7, use "Twig\Extension\OptimizerExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\OptimizerExtension" instead */
class Twig_Extension_Optimizer extends OptimizerExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\ProfilerExtension;
class_exists('Twig\Extension\ProfilerExtension');
@trigger_error('Using the "Twig_Extension_Profiler" class is deprecated since Twig version 2.7, use "Twig\Extension\ProfilerExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\ProfilerExtension" instead */
class Twig_Extension_Profiler extends ProfilerExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\SandboxExtension;
class_exists('Twig\Extension\SandboxExtension');
@trigger_error('Using the "Twig_Extension_Sandbox" class is deprecated since Twig version 2.7, use "Twig\Extension\SandboxExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\SandboxExtension" instead */
class Twig_Extension_Sandbox extends SandboxExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\StagingExtension;
class_exists('Twig\Extension\StagingExtension');
@trigger_error('Using the "Twig_Extension_Staging" class is deprecated since Twig version 2.7, use "Twig\Extension\StagingExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\StagingExtension" instead */
class Twig_Extension_Staging extends StagingExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\StringLoaderExtension;
class_exists('Twig\Extension\StringLoaderExtension');
@trigger_error('Using the "Twig_Extension_StringLoader" class is deprecated since Twig version 2.7, use "Twig\Extension\StringLoaderExtension" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\StringLoaderExtension" instead */
class Twig_Extension_StringLoader extends StringLoaderExtension
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Extension\ExtensionInterface;
class_exists('Twig\Extension\ExtensionInterface');
@trigger_error('Using the "Twig_ExtensionInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\ExtensionInterface" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Extension\ExtensionInterface" instead */
class Twig_ExtensionInterface extends ExtensionInterface
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\ExtensionSet;
class_exists('Twig\ExtensionSet');
@trigger_error('Using the "Twig_ExtensionSet" class is deprecated since Twig version 2.7, use "Twig\ExtensionSet" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\ExtensionSet" instead */
class Twig_ExtensionSet extends ExtensionSet
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\RuntimeLoader\FactoryRuntimeLoader;
class_exists('Twig\RuntimeLoader\FactoryRuntimeLoader');
@trigger_error('Using the "Twig_FactoryRuntimeLoader" class is deprecated since Twig version 2.7, use "Twig\RuntimeLoader\FactoryRuntimeLoader" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\RuntimeLoader\FactoryRuntimeLoader" instead */
class Twig_FactoryRuntimeLoader extends FactoryRuntimeLoader
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\FileExtensionEscapingStrategy;
class_exists('Twig\FileExtensionEscapingStrategy');
@trigger_error('Using the "Twig_FileExtensionEscapingStrategy" class is deprecated since Twig version 2.7, use "Twig\FileExtensionEscapingStrategy" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\FileExtensionEscapingStrategy" instead */
class Twig_FileExtensionEscapingStrategy extends FileExtensionEscapingStrategy
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\TwigFilter;
class_exists('Twig\TwigFilter');
@trigger_error('Using the "Twig_Filter" class is deprecated since Twig version 2.7, use "Twig\TwigFilter" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\TwigFilter" instead */
class Twig_Filter extends TwigFilter
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\TwigFunction;
class_exists('Twig\TwigFunction');
@trigger_error('Using the "Twig_Function" class is deprecated since Twig version 2.7, use "Twig\TwigFunction" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\TwigFunction" instead */
class Twig_Function extends TwigFunction
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Lexer;
class_exists('Twig\Lexer');
@trigger_error('Using the "Twig_Lexer" class is deprecated since Twig version 2.7, use "Twig\Lexer" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Lexer" instead */
class Twig_Lexer extends Lexer
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Loader\ArrayLoader;
class_exists('Twig\Loader\ArrayLoader');
@trigger_error('Using the "Twig_Loader_Array" class is deprecated since Twig version 2.7, use "Twig\Loader\ArrayLoader" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Loader\ArrayLoader" instead */
class Twig_Loader_Array extends ArrayLoader
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Loader\ChainLoader;
class_exists('Twig\Loader\ChainLoader');
@trigger_error('Using the "Twig_Loader_Chain" class is deprecated since Twig version 2.7, use "Twig\Loader\ChainLoader" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Loader\ChainLoader" instead */
class Twig_Loader_Chain extends ChainLoader
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Loader\FilesystemLoader;
class_exists('Twig\Loader\FilesystemLoader');
@trigger_error('Using the "Twig_Loader_Filesystem" class is deprecated since Twig version 2.7, use "Twig\Loader\FilesystemLoader" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Loader\FilesystemLoader" instead */
class Twig_Loader_Filesystem extends FilesystemLoader
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Loader\LoaderInterface;
class_exists('Twig\Loader\LoaderInterface');
@trigger_error('Using the "Twig_LoaderInterface" class is deprecated since Twig version 2.7, use "Twig\Loader\LoaderInterface" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Loader\LoaderInterface" instead */
class Twig_LoaderInterface extends LoaderInterface
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Markup;
class_exists('Twig\Markup');
@trigger_error('Using the "Twig_Markup" class is deprecated since Twig version 2.7, use "Twig\Markup" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Markup" instead */
class Twig_Markup extends Markup
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Node;
class_exists('Twig\Node\Node');
@trigger_error('Using the "Twig_Node" class is deprecated since Twig version 2.7, use "Twig\Node\Node" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Node" instead */
class Twig_Node extends Node
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\AutoEscapeNode;
class_exists('Twig\Node\AutoEscapeNode');
@trigger_error('Using the "Twig_Node_AutoEscape" class is deprecated since Twig version 2.7, use "Twig\Node\AutoEscapeNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\AutoEscapeNode" instead */
class Twig_Node_AutoEscape extends AutoEscapeNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\BlockNode;
class_exists('Twig\Node\BlockNode');
@trigger_error('Using the "Twig_Node_Block" class is deprecated since Twig version 2.7, use "Twig\Node\BlockNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\BlockNode" instead */
class Twig_Node_Block extends BlockNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\BlockReferenceNode;
class_exists('Twig\Node\BlockReferenceNode');
@trigger_error('Using the "Twig_Node_BlockReference" class is deprecated since Twig version 2.7, use "Twig\Node\BlockReferenceNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\BlockReferenceNode" instead */
class Twig_Node_BlockReference extends BlockReferenceNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\BodyNode;
class_exists('Twig\Node\BodyNode');
@trigger_error('Using the "Twig_Node_Body" class is deprecated since Twig version 2.7, use "Twig\Node\BodyNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\BodyNode" instead */
class Twig_Node_Body extends BodyNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\CheckSecurityNode;
class_exists('Twig\Node\CheckSecurityNode');
@trigger_error('Using the "Twig_Node_CheckSecurity" class is deprecated since Twig version 2.7, use "Twig\Node\CheckSecurityNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\CheckSecurityNode" instead */
class Twig_Node_CheckSecurity extends CheckSecurityNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\DeprecatedNode;
class_exists('Twig\Node\DeprecatedNode');
@trigger_error('Using the "Twig_Node_Deprecated" class is deprecated since Twig version 2.7, use "Twig\Node\DeprecatedNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\DeprecatedNode" instead */
class Twig_Node_Deprecated extends DeprecatedNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\DoNode;
class_exists('Twig\Node\DoNode');
@trigger_error('Using the "Twig_Node_Do" class is deprecated since Twig version 2.7, use "Twig\Node\DoNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\DoNode" instead */
class Twig_Node_Do extends DoNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\EmbedNode;
class_exists('Twig\Node\EmbedNode');
@trigger_error('Using the "Twig_Node_Embed" class is deprecated since Twig version 2.7, use "Twig\Node\EmbedNode" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\EmbedNode" instead */
class Twig_Node_Embed extends EmbedNode
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\AbstractExpression;
class_exists('Twig\Node\Expression\AbstractExpression');
@trigger_error('Using the "Twig_Node_Expression" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\AbstractExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\AbstractExpression" instead */
class Twig_Node_Expression extends AbstractExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\ArrayExpression;
class_exists('Twig\Node\Expression\ArrayExpression');
@trigger_error('Using the "Twig_Node_Expression_Array" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\ArrayExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\ArrayExpression" instead */
class Twig_Node_Expression_Array extends ArrayExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\AssignNameExpression;
class_exists('Twig\Node\Expression\AssignNameExpression');
@trigger_error('Using the "Twig_Node_Expression_AssignName" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\AssignNameExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\AssignNameExpression" instead */
class Twig_Node_Expression_AssignName extends AssignNameExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\AbstractBinary;
class_exists('Twig\Node\Expression\Binary\AbstractBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\AbstractBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\AbstractBinary" instead */
class Twig_Node_Expression_Binary extends AbstractBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\AddBinary;
class_exists('Twig\Node\Expression\Binary\AddBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Add" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\AddBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\AddBinary" instead */
class Twig_Node_Expression_Binary_Add extends AddBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\AndBinary;
class_exists('Twig\Node\Expression\Binary\AndBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_And" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\AndBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\AndBinary" instead */
class Twig_Node_Expression_Binary_And extends AndBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\BitwiseAndBinary;
class_exists('Twig\Node\Expression\Binary\BitwiseAndBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_BitwiseAnd" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\BitwiseAndBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\BitwiseAndBinary" instead */
class Twig_Node_Expression_Binary_BitwiseAnd extends BitwiseAndBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\BitwiseOrBinary;
class_exists('Twig\Node\Expression\Binary\BitwiseOrBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_BitwiseOr" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\BitwiseOrBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\BitwiseOrBinary" instead */
class Twig_Node_Expression_Binary_BitwiseOr extends BitwiseOrBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\BitwiseXorBinary;
class_exists('Twig\Node\Expression\Binary\BitwiseXorBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_BitwiseXor" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\BitwiseXorBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\BitwiseXorBinary" instead */
class Twig_Node_Expression_Binary_BitwiseXor extends BitwiseXorBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\ConcatBinary;
class_exists('Twig\Node\Expression\Binary\ConcatBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Concat" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\ConcatBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\ConcatBinary" instead */
class Twig_Node_Expression_Binary_Concat extends ConcatBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\DivBinary;
class_exists('Twig\Node\Expression\Binary\DivBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Div" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\DivBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\DivBinary" instead */
class Twig_Node_Expression_Binary_Div extends DivBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\EndsWithBinary;
class_exists('Twig\Node\Expression\Binary\EndsWithBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_EndsWith" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\EndsWithBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\EndsWithBinary" instead */
class Twig_Node_Expression_Binary_EndsWith extends EndsWithBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\EqualBinary;
class_exists('Twig\Node\Expression\Binary\EqualBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Equal" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\EqualBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\EqualBinary" instead */
class Twig_Node_Expression_Binary_Equal extends EqualBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\FloorDivBinary;
class_exists('Twig\Node\Expression\Binary\FloorDivBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_FloorDiv" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\FloorDivBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\FloorDivBinary" instead */
class Twig_Node_Expression_Binary_FloorDiv extends FloorDivBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\GreaterBinary;
class_exists('Twig\Node\Expression\Binary\GreaterBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Greater" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\GreaterBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\GreaterBinary" instead */
class Twig_Node_Expression_Binary_Greater extends GreaterBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\GreaterEqualBinary;
class_exists('Twig\Node\Expression\Binary\GreaterEqualBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_GreaterEqual" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\GreaterEqualBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\GreaterEqualBinary" instead */
class Twig_Node_Expression_Binary_GreaterEqual extends GreaterEqualBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\InBinary;
class_exists('Twig\Node\Expression\Binary\InBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_In" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\InBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\InBinary" instead */
class Twig_Node_Expression_Binary_In extends InBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\LessBinary;
class_exists('Twig\Node\Expression\Binary\LessBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Less" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\LessBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\LessBinary" instead */
class Twig_Node_Expression_Binary_Less extends LessBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\LessEqualBinary;
class_exists('Twig\Node\Expression\Binary\LessEqualBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_LessEqual" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\LessEqualBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\LessEqualBinary" instead */
class Twig_Node_Expression_Binary_LessEqual extends LessEqualBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\MatchesBinary;
class_exists('Twig\Node\Expression\Binary\MatchesBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Matches" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\MatchesBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\MatchesBinary" instead */
class Twig_Node_Expression_Binary_Matches extends MatchesBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\ModBinary;
class_exists('Twig\Node\Expression\Binary\ModBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Mod" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\ModBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\ModBinary" instead */
class Twig_Node_Expression_Binary_Mod extends ModBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\MulBinary;
class_exists('Twig\Node\Expression\Binary\MulBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Mul" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\MulBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\MulBinary" instead */
class Twig_Node_Expression_Binary_Mul extends MulBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\NotEqualBinary;
class_exists('Twig\Node\Expression\Binary\NotEqualBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_NotEqual" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\NotEqualBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\NotEqualBinary" instead */
class Twig_Node_Expression_Binary_NotEqual extends NotEqualBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\NotInBinary;
class_exists('Twig\Node\Expression\Binary\NotInBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_NotIn" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\NotInBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\NotInBinary" instead */
class Twig_Node_Expression_Binary_NotIn extends NotInBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\OrBinary;
class_exists('Twig\Node\Expression\Binary\OrBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Or" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\OrBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\OrBinary" instead */
class Twig_Node_Expression_Binary_Or extends OrBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\PowerBinary;
class_exists('Twig\Node\Expression\Binary\PowerBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Power" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\PowerBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\PowerBinary" instead */
class Twig_Node_Expression_Binary_Power extends PowerBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\RangeBinary;
class_exists('Twig\Node\Expression\Binary\RangeBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Range" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\RangeBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\RangeBinary" instead */
class Twig_Node_Expression_Binary_Range extends RangeBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\StartsWithBinary;
class_exists('Twig\Node\Expression\Binary\StartsWithBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_StartsWith" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\StartsWithBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\StartsWithBinary" instead */
class Twig_Node_Expression_Binary_StartsWith extends StartsWithBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Binary\SubBinary;
class_exists('Twig\Node\Expression\Binary\SubBinary');
@trigger_error('Using the "Twig_Node_Expression_Binary_Sub" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Binary\SubBinary" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Binary\SubBinary" instead */
class Twig_Node_Expression_Binary_Sub extends SubBinary
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\BlockReferenceExpression;
class_exists('Twig\Node\Expression\BlockReferenceExpression');
@trigger_error('Using the "Twig_Node_Expression_BlockReference" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\BlockReferenceExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\BlockReferenceExpression" instead */
class Twig_Node_Expression_BlockReference extends BlockReferenceExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\CallExpression;
class_exists('Twig\Node\Expression\CallExpression');
@trigger_error('Using the "Twig_Node_Expression_Call" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\CallExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\CallExpression" instead */
class Twig_Node_Expression_Call extends CallExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\ConditionalExpression;
class_exists('Twig\Node\Expression\ConditionalExpression');
@trigger_error('Using the "Twig_Node_Expression_Conditional" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\ConditionalExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\ConditionalExpression" instead */
class Twig_Node_Expression_Conditional extends ConditionalExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\ConstantExpression;
class_exists('Twig\Node\Expression\ConstantExpression');
@trigger_error('Using the "Twig_Node_Expression_Constant" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\ConstantExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\ConstantExpression" instead */
class Twig_Node_Expression_Constant extends ConstantExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\FilterExpression;
class_exists('Twig\Node\Expression\FilterExpression');
@trigger_error('Using the "Twig_Node_Expression_Filter" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\FilterExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\FilterExpression" instead */
class Twig_Node_Expression_Filter extends FilterExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Filter\DefaultFilter;
class_exists('Twig\Node\Expression\Filter\DefaultFilter');
@trigger_error('Using the "Twig_Node_Expression_Filter_Default" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Filter\DefaultFilter" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Filter\DefaultFilter" instead */
class Twig_Node_Expression_Filter_Default extends DefaultFilter
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\FunctionExpression;
class_exists('Twig\Node\Expression\FunctionExpression');
@trigger_error('Using the "Twig_Node_Expression_Function" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\FunctionExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\FunctionExpression" instead */
class Twig_Node_Expression_Function extends FunctionExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\GetAttrExpression;
class_exists('Twig\Node\Expression\GetAttrExpression');
@trigger_error('Using the "Twig_Node_Expression_GetAttr" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\GetAttrExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\GetAttrExpression" instead */
class Twig_Node_Expression_GetAttr extends GetAttrExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\MethodCallExpression;
class_exists('Twig\Node\Expression\MethodCallExpression');
@trigger_error('Using the "Twig_Node_Expression_MethodCall" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\MethodCallExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\MethodCallExpression" instead */
class Twig_Node_Expression_MethodCall extends MethodCallExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\NameExpression;
class_exists('Twig\Node\Expression\NameExpression');
@trigger_error('Using the "Twig_Node_Expression_Name" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\NameExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\NameExpression" instead */
class Twig_Node_Expression_Name extends NameExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\NullCoalesceExpression;
class_exists('Twig\Node\Expression\NullCoalesceExpression');
@trigger_error('Using the "Twig_Node_Expression_NullCoalesce" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\NullCoalesceExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\NullCoalesceExpression" instead */
class Twig_Node_Expression_NullCoalesce extends NullCoalesceExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\ParentExpression;
class_exists('Twig\Node\Expression\ParentExpression');
@trigger_error('Using the "Twig_Node_Expression_Parent" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\ParentExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\ParentExpression" instead */
class Twig_Node_Expression_Parent extends ParentExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\TempNameExpression;
class_exists('Twig\Node\Expression\TempNameExpression');
@trigger_error('Using the "Twig_Node_Expression_TempName" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\TempNameExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\TempNameExpression" instead */
class Twig_Node_Expression_TempName extends TempNameExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\TestExpression;
class_exists('Twig\Node\Expression\TestExpression');
@trigger_error('Using the "Twig_Node_Expression_Test" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\TestExpression" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\TestExpression" instead */
class Twig_Node_Expression_Test extends TestExpression
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Test\ConstantTest;
class_exists('Twig\Node\Expression\Test\ConstantTest');
@trigger_error('Using the "Twig_Node_Expression_Test_Constant" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Test\ConstantTest" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Test\ConstantTest" instead */
class Twig_Node_Expression_Test_Constant extends ConstantTest
{
}
}

View File

@@ -0,0 +1,14 @@
<?php
use Twig\Node\Expression\Test\DefinedTest;
class_exists('Twig\Node\Expression\Test\DefinedTest');
@trigger_error('Using the "Twig_Node_Expression_Test_Defined" class is deprecated since Twig version 2.7, use "Twig\Node\Expression\Test\DefinedTest" instead.', \E_USER_DEPRECATED);
if (false) {
/** @deprecated since Twig 2.7, use "Twig\Node\Expression\Test\DefinedTest" instead */
class Twig_Node_Expression_Test_Defined extends DefinedTest
{
}
}

Some files were not shown because too many files have changed in this diff Show More