mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-17 04:46:49 +00:00
b9e3ccd7a3
* 3.x: fix version numbers for deprecations Require "erusev/parsedown": "dev-master as 1.x-dev" Support underscores in number literals Remove deprecate usage of AssignNameExpression in For Node Update coding standards
20 lines
725 B
Plaintext
20 lines
725 B
Plaintext
parameters:
|
|
ignoreErrors:
|
|
- # The method is dynamically generated by the CheckSecurityNode
|
|
message: '#^Call to an undefined method Twig\\Template\:\:checkSecurity\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 1
|
|
path: src/Extension/CoreExtension.php
|
|
|
|
- # 2 parameters will be required
|
|
message: '#^Method Twig\\Node\\IncludeNode\:\:addGetTemplate\(\) invoked with 2 parameters, 1 required\.$#'
|
|
identifier: arguments.count
|
|
count: 1
|
|
path: src/Node/IncludeNode.php
|
|
|
|
- # Adding 0 to the string representation of a number is valid and what we want here
|
|
message: '#^Binary operation "\+" between 0 and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Lexer.php
|