Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
temporary ignore phpstan error on regex uri not added
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 19, 2020
1 parent 5426b75 commit 008570a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ class SomeClass
public function __construct()
{
}
/**
* Get Translator
*/
public function getTranslator()
{
}
}
CODE_SAMPLE
,
Expand All @@ -98,6 +105,10 @@ class SomeClass
public function __construct()
{
}
public function getTranslator()
{
}
}
CODE_SAMPLE
),
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -373,5 +373,10 @@ parameters:
paths:
- packages/monorepo-builder/packages/release/src/Configuration/VersionResolver.php

-
message: '#Add regex101\.com link to that shows the regex in practise, so it will be easier to maintain in case of bug/extension in the future#'
paths:
- packages/coding-standard/src/Fixer/Commenting/RemoveUselessClassCommentFixer.php # 37

# child type
- '#Parameter \#1 \$node of method Symplify\\PHPStanRules\\Rules\\ForbiddenSpreadOperatorRule\:\:hasVariadicParam\(\) expects PhpParser\\Node\\Expr\\ArrowFunction\|PhpParser\\Node\\Expr\\Closure\|PhpParser\\Node\\Stmt\\ClassMethod\|PhpParser\\Node\\Stmt\\Function_, PhpParser\\Node\\Expr\\ArrowFunction\|PhpParser\\Node\\Expr\\Closure\|\(PhpParser\\Node\\Expr\\FuncCall&PhpParser\\Node\\FunctionLike\)\|\(PhpParser\\Node\\Expr\\MethodCall&PhpParser\\Node\\FunctionLike\)\|\(PhpParser\\Node\\Expr\\StaticCall&PhpParser\\Node\\FunctionLike\)\|PhpParser\\Node\\Stmt\\ClassMethod\|PhpParser\\Node\\Stmt\\Function_ given#'

0 comments on commit 008570a

Please sign in to comment.