17009 lines
563 KiB
Plaintext
17009 lines
563 KiB
Plaintext
parameters:
|
|
ignoreErrors:
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 11
|
|
path: app/constants.php
|
|
|
|
-
|
|
message: '#^Access to constant FORMAT_HTTP on an unknown class OpenID_Message\.$#'
|
|
identifier: class.notFound
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''\://'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''\<p class\="error"\>'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''Location\: '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Cannot call method get\(\) on mixed\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Cannot call method getAuthorizeURL\(\) on mixed\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Cannot call method prepare\(\) on mixed\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Instantiated class OpenID_Message not found\.$#'
|
|
identifier: class.notFound
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Instantiated class OpenID_RelyingParty not found\.$#'
|
|
identifier: class.notFound
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\<0, max\> given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 3
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$e of function Die_error expects Exception, Throwable given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of function dirname expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Path in include_once\(\) "OpenID/RelyingParty\.php" is not a file or it does not exist\.$#'
|
|
identifier: includeOnce.fileNotFound
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Variable \$authRequest might not be defined\.$#'
|
|
identifier: variable.undefined
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Variable \$message might not be defined\.$#'
|
|
identifier: variable.undefined
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Variable \$o might not be defined\.$#'
|
|
identifier: variable.undefined
|
|
count: 1
|
|
path: examples/openid.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
|
|
identifier: echo.nonString
|
|
count: 1
|
|
path: examples/signon.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$values of function vsprintf expects array\<bool\|float\|int\|string\|null\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function preg_replace_callback expects array\<float\|int\|string\>\|string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Advisory\\Advisor\:\:\$firedRules \(list\<array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\}\>\) does not accept non\-empty\-list\<array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string\|null, recommendation\: string\|null, justification\: string, \.\.\.\}\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Advisory\\Advisor\:\:\$notFiredRules \(list\<array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\}\>\) does not accept non\-empty\-list\<array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string\|null, recommendation\: string\|null, justification\: string, \.\.\.\}\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Advisory/Advisor.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Bookmarks/Bookmark.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Bookmarks/BookmarkRepository.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$row of method PhpMyAdmin\\Bookmarks\\BookmarkRepository\:\:createFromRow\(\) expects array\<string\>, array\<string\|null\> given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Bookmarks/BookmarkRepository.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$bookmarkFeature of class PhpMyAdmin\\Bookmarks\\Bookmark constructor expects PhpMyAdmin\\ConfigStorage\\Features\\BookmarkFeature, PhpMyAdmin\\ConfigStorage\\Features\\BookmarkFeature\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Bookmarks/BookmarkRepository.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 2
|
|
path: src/BrowseForeigners.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$state of static method PhpMyAdmin\\Charsets\\Charset\:\:fromServer\(\) expects array\{Charset\?\: string, Description\?\: string, ''Default collation''\?\: string, Maxlen\?\: string\}, array\<string\|null\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Charsets.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$state of static method PhpMyAdmin\\Charsets\\Collation\:\:fromServer\(\) expects array\<string\>, array\<string\|null\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Charsets.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Command/CacheWarmupCommand.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Command/FixPoTwigCommand.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''\:'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Command/FixPoTwigCommand.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''\:0'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Command/FixPoTwigCommand.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Command/FixPoTwigCommand.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Command/FixPoTwigCommand.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 1 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Command/FixPoTwigCommand.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a ternary operator condition, \(callable\)\|null given\.$#'
|
|
identifier: ternary.condNotBoolean
|
|
count: 1
|
|
path: src/Command/TwigLintCommand.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a ternary operator condition, string given\.$#'
|
|
identifier: ternary.condNotBoolean
|
|
count: 1
|
|
path: src/Command/TwigLintCommand.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 2
|
|
path: src/Command/TwigLintCommand.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$callback of function set_error_handler expects \(callable\(int, string, string, int\)\: bool\)\|null, Closure\(int, string, string, int\)\: mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Command/TwigLintCommand.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Config.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Config\:\:getUploadTempDir\(\) should return string\|null but returns string\|false\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Config.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\<0, 2\> given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Config.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\<mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Config.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''\:'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between ''mysqli\://'' and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 2
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''ServerDefault'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Servers'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 5
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 5
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getCanonicalPath\(\) should return string but returns string\|null\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getConfig\(\) should return array\<mixed\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getServerName\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 2
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Config\\ConfigFile\:\:getServers\(\) should return array\<mixed\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of method PhpMyAdmin\\Config\\ConfigFile\:\:getFlatArray\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:getCanonicalPath\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayRead\(\) expects array\<mixed\>, array\<mixed\>\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayRead\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayRemove\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PhpMyAdmin\\Core\:\:arrayWrite\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Config/ConfigFile.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''/'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Config/Form.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Config/Form.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Config/Form.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Config/Form.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$value has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Config/Form.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$keys of function array_combine expects an array of values castable to string, list\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Form.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$keys of function array_combine expects array\<int\|string\>, list\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Form.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 2
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''\: '' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Call to function function_exists\(\) with ''bzcompress''\|''gzcompress''\|''gzencode'' will always evaluate to true\.$#'
|
|
identifier: function.alreadyNarrowedType
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Call to function function_exists\(\) with ''bzopen''\|''gzopen''\|''zip_open'' will always evaluate to true\.$#'
|
|
identifier: function.alreadyNarrowedType
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''iconv'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''wrapper_params'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Offset int\|string\|false might not exist on array\<string, string\>\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 2
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\|string\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_flip expects array\<int\|string\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$optionName of method PhpMyAdmin\\Config\\Form\:\:getOptionType\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:getValue\(\) expects string, int\|string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:set\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:set\(\) expects string, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of method PhpMyAdmin\\Config\\FormDisplay\:\:validateSelect\(\) expects bool\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$errorList of method PhpMyAdmin\\Config\\FormDisplayTemplate\:\:displayErrors\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$field of method PhpMyAdmin\\Config\\FormDisplay\:\:displayFieldInput\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, int\|string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$workPath of method PhpMyAdmin\\Config\\FormDisplay\:\:displayFieldInput\(\) expects string, int\|string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\\FormDisplay\:\:\$userprefsKeys type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Config/FormDisplay.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Config/FormDisplayTemplate.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Config/FormDisplayTemplate.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Config/Forms/BaseForm.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Config\\Forms\\BaseForm\:\:getFields\(\) should return array\<string\> but returns list\<mixed\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Config/Forms/BaseForm.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$formName of method PhpMyAdmin\\Config\\FormDisplay\:\:registerForm\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Forms/BaseForm.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$form of method PhpMyAdmin\\Config\\FormDisplay\:\:registerForm\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Forms/BaseForm.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_diff expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Forms/Setup/FeaturesForm.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Config/Forms/Setup/MainForm.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Config/Forms/Setup/SqlForm.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Config/Forms/User/FeaturesForm.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Config/PageSettings.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Config/PageSettings.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$url of method PhpMyAdmin\\ResponseRenderer\:\:redirect\(\) expects non\-empty\-string, string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/PageSettings.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 4
|
|
path: src/Config/ServerConfigChecks.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Config/ServerConfigChecks.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 6
|
|
path: src/Config/ServerConfigChecks.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Config/ServerConfigChecks.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 36
|
|
path: src/Config/Settings.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 43
|
|
path: src/Config/Settings.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Config/Settings/Console.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 4
|
|
path: src/Config/Settings/Debug.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 3
|
|
path: src/Config/Settings/Export.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 24
|
|
path: src/Config/Settings/Export.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Config/Settings/Import.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 11
|
|
path: src/Config/Settings/Import.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Config/Settings/Schema.php
|
|
|
|
-
|
|
message: '#^@readonly property PhpMyAdmin\\Config\\Settings\\Server\:\:\$ssl is assigned outside of the constructor\.$#'
|
|
identifier: property.readOnlyByPhpDocAssignNotInConstructor
|
|
count: 1
|
|
path: src/Config/Settings/Server.php
|
|
|
|
-
|
|
message: '#^@readonly property cannot have a default value\.$#'
|
|
identifier: property.readOnlyByPhpDocDefaultValue
|
|
count: 10
|
|
path: src/Config/Settings/Server.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 2
|
|
path: src/Config/Settings/Server.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 58
|
|
path: src/Config/Settings/Server.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(bool\|float\|GMP\|int\|resource\|string\|null\)\: string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Settings/Server.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
|
|
identifier: booleanOr.rightNotBoolean
|
|
count: 4
|
|
path: src/Config/Settings/SqlQueryBox.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 11
|
|
path: src/Config/Settings/Transformations.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 12
|
|
path: src/Config/Settings/Transformations.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Config/SpecialSchemaLinks.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''userprefs'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Config/UserPreferences.php
|
|
|
|
-
|
|
message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Config/UserPreferences.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Config/UserPreferences.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Config/UserPreferences.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommonRaw\(\) expects array\<int\|string, bool\|int\|string\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/UserPreferences.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Core\:\:arrayWrite\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/UserPreferences.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Config/UserPreferences.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''LoginCookieValidity'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''config_mtime'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''userprefs'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 5
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''userprefs_type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$code of method PhpMyAdmin\\I18n\\LanguageManager\:\:getLanguage\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$default of method PhpMyAdmin\\Config\:\:setCookie\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\\UserPreferencesHandler\:\:\$storageType \(''''\|''db''\|''session''\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Config/UserPreferencesHandler.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type array\<mixed, mixed\>\|object supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 21
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mysqli\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a ternary operator condition, int\<0, max\>\|false given\.$#'
|
|
identifier: ternary.condNotBoolean
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function mb_strpos expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$host of method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\ConfigFile\:\:getCanonicalPath\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validateByRegex\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validateNonNegativeNumber\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validatePMAStorage\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validatePortNumber\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validatePositiveNumber\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validateRegex\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validateServer\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validateTrustedProxies\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of method PhpMyAdmin\\Config\\Validator\:\:validateUpperBound\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_substr expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$port of method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$subject of function preg_match expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$socket of method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$user of method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$pass of method PhpMyAdmin\\Config\\Validator\:\:testDBConnection\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 3
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\\Validator\:\:\$validators \(array\<array\<mixed\>\|string\>\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Config/Validator.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 21
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:getChildReferences\(\) should return array\<list\<array\<mixed\>\>\> but returns array\<mixed\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:getTableReplacementNames\(\) should return array\<string, string\> but returns array\<string, array\<array\<string\>\|bool\|int\|string\>\|int\<1, max\>\|string\|true\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\ConfigStorage\\Relation\:\:searchColumnInForeigners\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Offset ''bookmarktable''\|''central_columns''\|''column_info''\|''designer_settings''\|''export_templates''\|''favorite''\|''history''\|''navigationhiding''\|''pdf_pages''\|''recent''\|''relation''\|''savedsearches''\|''table_coords''\|''table_info''\|''table_uiprefs''\|''tracking''\|''userconfig''\|''usergroups''\|''users'' on array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\} in isset\(\) always exists and is not nullable\.$#'
|
|
identifier: isset.offset
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Offset ''bookmarktable''\|''central_columns''\|''column_info''\|''designer_settings''\|''export_templates''\|''favorite''\|''history''\|''navigationhiding''\|''recent''\|''relation''\|''savedsearches''\|''table_uiprefs''\|''tracking''\|''userconfig'' on array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\} in isset\(\) always exists and is not nullable\.$#'
|
|
identifier: isset.offset
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Offset ''pdf_pages''\|''relation''\|''table_coords''\|''table_info''\|''usergroups''\|''users'' on array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\} in isset\(\) always exists and is not nullable\.$#'
|
|
identifier: isset.offset
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, PhpMyAdmin\\Dbal\\ResultInterface\|false given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 2
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, bool\|string\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$dbName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 7
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeClass\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$foreignField of class PhpMyAdmin\\ConfigStorage\\ForeignData constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/ConfigStorage/Relation.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 18
|
|
path: src/ConfigStorage/RelationParameters.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/ConfigStorage/UserGroups.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/ConfigStorage/UserGroups.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, int\|string given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/ConfigStorage/UserGroups.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 2
|
|
path: src/ConfigStorage/UserGroups.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/ConfigStorage/UserGroups.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_substr expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/ConfigStorage/UserGroups.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Console/Console.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Console/History.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string\|false\|null given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Console/History.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_reverse expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Console/History.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_shift expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Console/History.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Console/History.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$factory of method Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator\:\:factory\(\) expects array\|Closure\|string\|Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator\|Symfony\\Component\\ExpressionLanguage\\Expression, callable\(\)\: mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Container/ContainerBuilder.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between mixed and '' \-\> '' results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Database/DataDictionaryController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Database/DataDictionaryController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Controllers/Database/DesignerController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\\Common\:\:getDefaultPage\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/DesignerController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\Designer\\Common\:\:getLoadingPage\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/DesignerController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of static method PhpMyAdmin\\Url\:\:getHiddenInputs\(\) expects array\<mixed\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/DesignerController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 16
|
|
path: src/Controllers/Database/EventsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Database/EventsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Database\\Events\:\:getDataFromName\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/EventsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/EventsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$name of method PhpMyAdmin\\Database\\Events\:\:getDetails\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/EventsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Events\:\:getDefinition\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/EventsController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''handler'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Controllers/Database/ImportController.php
|
|
|
|
-
|
|
message: '#^Cannot call static method getIdKey\(\) on mixed\.$#'
|
|
identifier: staticMethod.nonObject
|
|
count: 1
|
|
path: src/Controllers/Database/ImportController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: array.invalidKey
|
|
count: 1
|
|
path: src/Controllers/Database/ImportController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 6
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(float\|int\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Cannot use \+\+ on mixed\.$#'
|
|
identifier: postInc.type
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Cannot use \-\- on mixed\.$#'
|
|
identifier: postDec.type
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 23
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Database\\Routines\:\:getDataFromName\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlentities expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Database\\RoutineType\:\:tryFrom\(\) expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$type of method PhpMyAdmin\\Database\\Routines\:\:getDataFromName\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getFunctionDefinition\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getProcedureDefinition\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getDetails\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/RoutinesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$database of method PhpMyAdmin\\Database\\CentralColumns\:\:deleteColumnsFromList\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/CentralColumns/RemoveController.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/CopyFormController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''table_limit_offset'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/DropTableController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''table_limit_offset_db'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/DropTableController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, PhpMyAdmin\\Dbal\\ResultInterface\|false given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/DropTableController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 2
|
|
path: src/Controllers/Database/Structure/DropTableController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/EmptyTableController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$pos of method PhpMyAdmin\\Sql\:\:calculatePosForLastPage\(\) expects int\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/EmptyTableController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Controllers/Database/Structure/RealRowCountController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between bool\|int\|string\|null and bool\|int\|string\|null results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between int\|string\|null and int\|string\|null results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between int and int\<1, max\>\|string results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and int\|string\|null results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between bool\|float\|int\|string and array\<string\>\|string\|false results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-empty\-string and array\<string\>\|string\|false results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''table_limit_offset'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''table_limit_offset_db'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getStuffForEngineTypeTable\(\) should return array\{array\<int\|string\|null\>, string, string, string, string, int, bool, int\} but returns array\{non\-empty\-array\<int\|string\|null\>, string, string, string, string, float\|int, bool, int\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getTableListPosition\(\) should return int but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getValuesForAriaTable\(\) should return array\{array\<int\|string\|null\>, string, string, string, string, float\|int, int\} but returns array\{array\<int\|string\|null\>, string, string, string, string, mixed, int\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getValuesForInnodbTable\(\) should return array\{array\<int\|string\|null\>, string, string, int\} but returns array\{non\-empty\-array\<bool\|int\|string\|null\>, string, string, int\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\|string\|null given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:hasTable\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$posParam of method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getTableListPosition\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:escapeMysqlWildcards\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function md5 expects string, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of method PhpMyAdmin\\Replication\\Replication\:\:extractDbOrTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$table of method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getTrackingIcon\(\) expects string, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of function array_search expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\Controllers\\Database\\StructureController\:\:getReplicationStatus\(\) expects string, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTablesFull\(\) expects array\<mixed\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, int\|string\|true\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Charsets\:\:findCollationByName\(\) expects string, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$selected of method PhpMyAdmin\\Tracking\\Tracking\:\:createTrackingForMultipleTables\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Database/TrackingController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/ErrorReportController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and int\<1, max\> results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/ErrorReportController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''success'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/ErrorReportController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/ErrorReportController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Controllers/ErrorReportController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''aliases'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Export/ExportController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Export/ExportController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string\|null given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 2
|
|
path: src/Controllers/Export/ExportController.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$aliasesParam has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Controllers/Export/ExportController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$dbSelect of method PhpMyAdmin\\Export\\Export\:\:exportServer\(\) expects array\<mixed\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Export/ExportController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$tableStructure of method PhpMyAdmin\\Export\\Export\:\:exportDatabase\(\) expects array\<string\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Export/ExportController.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Export\\Export\:\:\$tableData \(array\<string\>\) does not accept array\<mixed, mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Controllers/Export/ExportController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Controllers/GisDataEditorController.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$gisDataParam has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Controllers/GisDataEditorController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 5
|
|
path: src/Controllers/HomeController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, string\|false given on the right side\.$#'
|
|
identifier: booleanOr.rightNotBoolean
|
|
count: 1
|
|
path: src/Controllers/HomeController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''go_back_url'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''message'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Comparison operation "\<\=" between 0 and int\<1, max\> is always true\.$#'
|
|
identifier: smallerOrEqual.alwaysTrue
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^If condition is always false\.$#'
|
|
identifier: if.alwaysFalse
|
|
count: 2
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Left side of && is always false\.$#'
|
|
identifier: booleanAnd.leftAlwaysFalse
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Negated boolean expression is always true\.$#'
|
|
identifier: booleanNot.alwaysTrue
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$backUrl of static method PhpMyAdmin\\Html\\Generator\:\:getBackUrlHtml\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Result of && is always false\.$#'
|
|
identifier: booleanAnd.alwaysFalse
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Result of \|\| is always true\.$#'
|
|
identifier: booleanOr.alwaysTrue
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Import\\ImportSettings\:\:\$importType \(''''\|''database''\|''query''\|''server''\|''table''\) does not accept string\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Import\\ImportSettings\:\:\$readLimit \(int\) does not accept float\|int\<min, \-1\>\|int\<1, max\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \=\=\= between 0 and 0 will always evaluate to true\.$#'
|
|
identifier: identical.alwaysTrue
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \=\=\= between false and false will always evaluate to true\.$#'
|
|
identifier: identical.alwaysTrue
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \=\=\= between int and \*NEVER\* will always evaluate to false\.$#'
|
|
identifier: identical.alwaysFalse
|
|
count: 1
|
|
path: src/Controllers/Import/ImportController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''go_back_url'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Import/StatusController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''message'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Controllers/Import/StatusController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Import/StatusController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$id of static method PhpMyAdmin\\Import\\Ajax\:\:status\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Import/StatusController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
|
|
identifier: echo.nonString
|
|
count: 1
|
|
path: src/Controllers/Import/StatusController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$partialDependencies of method PhpMyAdmin\\Normalization\:\:createNewTablesFor2NF\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Normalization/SecondNormalForm/CreateNewTablesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tablesName of method PhpMyAdmin\\Normalization\:\:createNewTablesFor2NF\(\) expects object, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Normalization/SecondNormalForm/CreateNewTablesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$partialDependencies of method PhpMyAdmin\\Normalization\:\:getHtmlForNewTables2NF\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Normalization/SecondNormalForm/NewTablesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$newTables of method PhpMyAdmin\\Normalization\:\:createNewTablesFor3NF\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Normalization/ThirdNormalForm/CreateNewTablesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tables of method PhpMyAdmin\\Normalization\:\:getHtmlFor3NFstep1\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Normalization/ThirdNormalForm/FirstStepController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$dependencies of method PhpMyAdmin\\Normalization\:\:getHtmlForNewTables3NF\(\) expects object, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Normalization/ThirdNormalForm/NewTablesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tables of method PhpMyAdmin\\Normalization\:\:getHtmlForNewTables3NF\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Normalization/ThirdNormalForm/NewTablesController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Operations/DatabaseController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Operations/DatabaseController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$exportSqlPlugin of method PhpMyAdmin\\Operations\:\:getViewsAndCreateSqlViewStandIn\(\) expects PhpMyAdmin\\Plugins\\Export\\ExportSql, object\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Operations/DatabaseController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 4
|
|
path: src/Controllers/Operations/TableController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 4
|
|
path: src/Controllers/Operations/TableController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 2
|
|
path: src/Controllers/Operations/TableController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Operations/TableController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$partitionNames of static method PhpMyAdmin\\Query\\Generator\:\:getQueryForPartitioningTable\(\) expects array\<string\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Operations/TableController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$fileName of method PhpMyAdmin\\Config\\UserPreferences\:\:getUrlToRedirect\(\) expects string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$theme of method PhpMyAdmin\\Theme\\ThemeManager\:\:setActiveTheme\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$theme of method PhpMyAdmin\\Theme\\ThemeManager\:\:themeExists\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Preferences/ManageController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Server/Databases/CreateController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''DEFAULT_COLLATION_NAME'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''SCHEMA_NAME'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 10
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 3
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Offset ''Do_DB'' might not exist on array\{status\: true, Do_DB\?\: array\<string\>, Ignore_DB\?\: array\<string\>\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 2
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Offset ''Ignore_DB'' might not exist on array\{status\: true, Do_DB\?\: array\<string\>, Ignore_DB\?\: array\<string\>\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommonRaw\(\) expects array\<int\|string, bool\|int\|string\>, array\<string, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$schemaName of static method PhpMyAdmin\\Query\\Utilities\:\:isSystemSchema\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of function array_search expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Charsets\:\:findCollationByName\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Controllers/Server/DatabasesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''handler'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Controllers/Server/ImportController.php
|
|
|
|
-
|
|
message: '#^Cannot call static method getIdKey\(\) on mixed\.$#'
|
|
identifier: staticMethod.nonObject
|
|
count: 1
|
|
path: src/Controllers/Server/ImportController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: array.invalidKey
|
|
count: 1
|
|
path: src/Controllers/Server/ImportController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Server/PrivilegesController.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Controllers\\Server\\PrivilegesController\:\:getExportPageTitle\(\) has parameter \$selectedUsers with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Controllers/Server/PrivilegesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$initial of method PhpMyAdmin\\Server\\Privileges\:\:getHtmlForUserOverview\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/PrivilegesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$serverReplicaStatus of method PhpMyAdmin\\Replication\\ReplicationGui\:\:getHtmlForReplicaConfiguration\(\) expects bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/ReplicationController.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\UrlParams\:\:\$params \(array\<string, bool\|int\|string\>\) does not accept array\<mixed, mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Controllers/Server/ReplicationController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Server/Status/Processes/KillController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between float\|int and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/QueriesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between float\|int\|string and 100 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/QueriesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between float\|int\|string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/QueriesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and float\|int\|string results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/QueriesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between 3600 and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/QueriesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between float\|int and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Controllers/Server/Status/QueriesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and float\|int results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/QueriesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between float\|int\|string and 100 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between float\|int\|string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 5
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between float\|int\|string and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 3
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between 3600 and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and float\|int\<1, max\>\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatByteDown\(\) expects float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|numeric\-string, float\|int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|numeric\-string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Controllers/Server/Status/StatusController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between 0\.01 and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/VariablesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between 0\.9 and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/VariablesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between 0\.95 and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/VariablesController.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between float\|int\|string and 5 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Server/Status/VariablesController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Server/Status/VariablesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$flush of method PhpMyAdmin\\Controllers\\Server\\Status\\VariablesController\:\:flush\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/Status/VariablesController.php
|
|
|
|
-
|
|
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
|
|
identifier: ternary.shortNotAllowed
|
|
count: 1
|
|
path: src/Controllers/Server/Status/VariablesController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Server/UserGroupsFormController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/Variables/SetVariableController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$value of method PhpMyAdmin\\Controllers\\Server\\Variables\\SetVariableController\:\:formatVariable\(\) expects int\|string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Server/Variables/SetVariableController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$id of method PhpMyAdmin\\Config\\ConfigFile\:\:getServerName\(\) expects int, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Setup/HomeController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$server of method PhpMyAdmin\\Config\\ConfigFile\:\:getServerDSN\(\) expects int, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Setup/HomeController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''relational_display'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Sql/RelationalValuesController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 3
|
|
path: src/Controllers/Sql/SqlController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, bool\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Sql/SqlController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$signature of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Sql/SqlController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''db'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/SyncFavoriteTablesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''favorites_synced'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/SyncFavoriteTablesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''table'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/SyncFavoriteTablesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/SyncFavoriteTablesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 5
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$key of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$mimetype of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$transformation of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$transformationOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$inputTransform of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$inputTransformOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/AddFieldController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/ChangeController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$rowId of method PhpMyAdmin\\InsertEdit\:\:getHtmlForIgnoreOption\(\) expects int, \(int\<1, max\>\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ChangeController.php
|
|
|
|
-
|
|
message: '#^Parameter \#11 \$rowId of method PhpMyAdmin\\InsertEdit\:\:getHtmlForInsertEditRow\(\) expects int, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ChangeController.php
|
|
|
|
-
|
|
message: '#^Parameter \#12 \$repopulate of method PhpMyAdmin\\InsertEdit\:\:getHtmlForInsertEditRow\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ChangeController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$signature of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ChangeController.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Current\:\:\$whereClause \(array\<string\>\|string\|null\) does not accept list\<mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Controllers/Table/ChangeRowsController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between int\|string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/ChartController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between int\|string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/ChartController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/ChartController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$rowCount of class PhpMyAdmin\\SqlParser\\Components\\Limit constructor expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/ChartController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$offset of class PhpMyAdmin\\SqlParser\\Components\\Limit constructor expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/ChartController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 5
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$key of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$mimetype of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$transformation of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$transformationOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$inputTransform of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$inputTransformOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/CreateController.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Controllers/Table/DeleteRowsController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/DeleteRowsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$pos of method PhpMyAdmin\\Sql\:\:calculatePosForLastPage\(\) expects int\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/DeleteRowsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/DeleteRowsController.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Controllers/Table/DropColumnController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/DropColumnController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/DropColumnController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/DropColumnController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/DropColumnController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$column of method PhpMyAdmin\\ConfigStorage\\RelationCleanup\:\:column\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/DropColumnController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/ExportController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:replaceClauses\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ExportController.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Current\:\:\$whereClause \(array\<string\>\|string\|null\) does not accept list\<mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Controllers/Table/ExportRowsController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/FindReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 1 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/FindReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/FindReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/FindReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 3
|
|
path: src/Controllers/Table/GetFieldController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/GisVisualizationController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pos'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/GisVisualizationController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 3
|
|
path: src/Controllers/Table/GisVisualizationController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''handler'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Controllers/Table/ImportController.php
|
|
|
|
-
|
|
message: '#^Cannot call static method getIdKey\(\) on mixed\.$#'
|
|
identifier: staticMethod.nonObject
|
|
count: 1
|
|
path: src/Controllers/Table/ImportController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: array.invalidKey
|
|
count: 1
|
|
path: src/Controllers/Table/ImportController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between int and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/IndexesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Index_choice'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/IndexesController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''names'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/IndexesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$index of method PhpMyAdmin\\Table\\Table\:\:getIndex\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/IndexesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/IndexesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$oldIndexName of method PhpMyAdmin\\Table\\Indexes\:\:getSqlQueryForIndexCreateOrEdit\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/IndexesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/IndexesController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$dbName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$destinationForeignDb of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\<string\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$displayField of method PhpMyAdmin\\Table\\Table\:\:updateDisplayField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$multiEditColumnsName of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\<string\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$destinationDb of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\<string\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$multiEditColumnsName of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\<array\<string\>\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of static method PhpMyAdmin\\Indexes\\Index\:\:getPrimary\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$destinationForeignTable of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\<string\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$destinationTable of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\<string\|null\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$schema of static method PhpMyAdmin\\Indexes\\Index\:\:getPrimary\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$destinationColumn of method PhpMyAdmin\\Table\\Table\:\:updateInternalRelations\(\) expects array\<string\|null\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$destinationForeignColumn of method PhpMyAdmin\\Table\\Table\:\:updateForeignKeys\(\) expects array\<array\<string\>\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/RelationController.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type array\<mixed\>\|string supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''\=\\'''' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on bool\|int\|list\<string\>\|string\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''multi_edit'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 11
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 10
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\|string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 9
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 6
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Controllers\\Table\\ReplaceController\:\:getParamsForUpdateOrInsert\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
|
|
identifier: ternary.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$relationFields has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_keys expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$columnName of class PhpMyAdmin\\EditField constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$relationField of method PhpMyAdmin\\InsertEdit\:\:getLinkForRelationalDisplayField\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$columnName of method PhpMyAdmin\\InsertEdit\:\:verifyWhetherValueCanBeTruncatedAndAppendExtraData\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$relationField of method PhpMyAdmin\\InsertEdit\:\:getDisplayValueForForeignTableColumn\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$type of class PhpMyAdmin\\EditField constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$editedValues of method PhpMyAdmin\\InsertEdit\:\:transformEditedValues\(\) expects array\<array\<string\>\>, array\<array\<mixed\>\|string\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$relationFieldValue of method PhpMyAdmin\\InsertEdit\:\:getLinkForRelationalDisplayField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$function of class PhpMyAdmin\\EditField constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$salt of class PhpMyAdmin\\EditField constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Parameter \#9 \$previousValue of class PhpMyAdmin\\EditField constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 5
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\UrlParams\:\:\$params \(array\<string, bool\|int\|string\>\) does not accept array\<string, mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Controllers/Table/ReplaceController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Controllers\\Table\\SearchController has an uninitialized property \$foreigners\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$column of method PhpMyAdmin\\Controllers\\Table\\SearchController\:\:getColumnMinMax\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strtoupper expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getIntegerRange\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$selectedOperator of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/SearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$query of method PhpMyAdmin\\SqlQueryForm\:\:getHtml\(\) expects bool\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/SqlController.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/BrowseController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/BrowseController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/BrowseController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$selected of method PhpMyAdmin\\Controllers\\Table\\Structure\\ChangeController\:\:displayHtmlForColumnChange\(\) expects array\<string\>, array\<int, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/ChangeController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$selected of method PhpMyAdmin\\Controllers\\Table\\Structure\\ChangeController\:\:displayHtmlForColumnChange\(\) expects array\<string\>, array\<mixed, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/ChangeController.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var with type int is not subtype of type int\<0, max\>\|false\.$#'
|
|
identifier: varTag.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/MoveColumnsController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$moveColumns of method PhpMyAdmin\\Controllers\\Table\\Structure\\MoveColumnsController\:\:generateAlterTableSql\(\) expects list\<string\>, list given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/MoveColumnsController.php
|
|
|
|
-
|
|
message: '#^Cannot call method get\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 16
|
|
path: src/Controllers/Table/Structure/PartitioningController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/PartitioningController.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Controllers\\Table\\Structure\\PartitioningController\:\:extractPartitionDetails\(\) should return array\<string, array\<int, array\<string, mixed\>\>\|bool\|int\|string\>\|null but returns array\<string, mixed\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/PartitioningController.php
|
|
|
|
-
|
|
message: '#^Offset 0 might not exist on array\<PhpMyAdmin\\SqlParser\\Components\\PartitionDefinition\>\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/PartitioningController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, array\<PhpMyAdmin\\SqlParser\\Components\\PartitionDefinition\>\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/PartitioningController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/PrimaryController.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\|null given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, int\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function trim expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/ReservedWordCheckController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' AS \('' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 7
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 9
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 26
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$oldcol of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#10 \$extra of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#11 \$comment of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#12 \$virtuality of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#13 \$expression of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#14 \$moveTo of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$newcol of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$field of method PhpMyAdmin\\ConfigStorage\\Relation\:\:renameField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$key of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$type of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$length of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$mimetype of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$newName of method PhpMyAdmin\\ConfigStorage\\Relation\:\:renameField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$attribute of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$transformation of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$collation of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$transformationOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$inputTransform of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$null of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects bool\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$defaultType of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$inputTransformOpts of method PhpMyAdmin\\Transformations\:\:setMime\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Parameter \#9 \$defaultValue of static method PhpMyAdmin\\Table\\Table\:\:generateAlter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 1
|
|
path: src/Controllers/Table/Structure/SaveController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between int\|non\-falsy\-string and int\|non\-falsy\-string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 4
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and int\|string\|null results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Cannot use array destructuring on list\<string\>\|null\.$#'
|
|
identifier: offsetAccess.nonArray
|
|
count: 4
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$datetime of class DateTimeImmutable constructor expects string, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatByteDown\(\) expects float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Controllers/Table/StructureController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$entries of method PhpMyAdmin\\Tracking\\Tracking\:\:getDownloadInfoForExport\(\) expects array\<int, array\<string, int\|string\>\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/TrackingController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$version of method PhpMyAdmin\\Tracking\\Tracking\:\:deleteTrackingVersion\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/TrackingController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' LIMIT '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 1 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, 3\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Controllers\\Table\\ZoomSearchController has an uninitialized property \$foreigners\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 2
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$dataLabel of method PhpMyAdmin\\Controllers\\Table\\ZoomSearchController\:\:displaySelectionFormAction\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$dataLabel of method PhpMyAdmin\\Controllers\\Table\\ZoomSearchController\:\:zoomSubmitAction\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strtoupper expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getIntegerRange\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$columnIndex of method PhpMyAdmin\\Controllers\\Table\\ZoomSearchController\:\:getColumnProperties\(\) expects int, int\<0, max\>\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$signature of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$selectedOperator of method PhpMyAdmin\\Types\:\:getTypeOperatorsHtml\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: array.invalidKey
|
|
count: 2
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Controllers/Table/ZoomSearchController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Controllers/Transformation/WrapperController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$width of static method PhpMyAdmin\\Image\\ImageWrapper\:\:create\(\) expects int\<1, max\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Transformation/WrapperController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$height of static method PhpMyAdmin\\Image\\ImageWrapper\:\:create\(\) expects int\<1, max\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Transformation/WrapperController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 11
|
|
path: src/Controllers/Triggers/IndexController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Triggers/IndexController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Triggers/IndexController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$trigger of method PhpMyAdmin\\Controllers\\Triggers\\IndexController\:\:getDataFromTrigger\(\) expects PhpMyAdmin\\Triggers\\Trigger, PhpMyAdmin\\Triggers\\Trigger\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/Triggers/IndexController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of method PhpMyAdmin\\Triggers\\Triggers\:\:getTriggerByName\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/Triggers/IndexController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between "\\r\\n \(" and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between "\\r\\n AS " and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 3
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$view has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$dbName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sqlQuery of method PhpMyAdmin\\SystemDatabase\:\:getColumnMapFromSql\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$viewName of method PhpMyAdmin\\SystemDatabase\:\:getNewTransformationDataSql\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Controllers/View/CreateController.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 3
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Core\:\:getIp\(\) should return bool\|string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$variableName of static method PhpMyAdmin\\Core\:\:getEnv\(\) expects non\-empty\-string, string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Core.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 3
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' \('' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' COMMENT \= \\'''' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' DATA DIRECTORY \= \\'''' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' ENGINE \= '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' INDEX_DIRECTORY \= \\'''' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' MAX_ROWS \= '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' MIN_ROWS \= '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' NODEGROUP \= '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' PARTITION BY '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' SUBPARTITION BY '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' TABLESPACE \= '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' VALUES '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' WITH PARSER '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''\('' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 4
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between '' PARTITION ''\|'' SUBPARTITION '' and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''col_index'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''size'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 12
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<min, \-2\>\|int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 24
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\CreateAddField\:\:getIndexedColumns\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 5
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\CreateAddField\:\:getIndexedColumns\(\) should return array\{int, array, array, array, array, array\} but returns array\{int\<0, max\>, mixed, mixed, mixed, mixed, mixed\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 2
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$collation of static method PhpMyAdmin\\Util\:\:getCharsetQueryPart\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$engine of static method PhpMyAdmin\\StorageEngine\:\:isValid\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$index of method PhpMyAdmin\\CreateAddField\:\:buildIndexStatement\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$partition of method PhpMyAdmin\\CreateAddField\:\:getPartitionDefinition\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function rtrim expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#10 \$comment of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#11 \$virtuality of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#12 \$expression of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$type of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$length of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$attribute of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$collation of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$null of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects bool\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$defaultType of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$defaultValue of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Parameter \#9 \$extra of static method PhpMyAdmin\\Table\\Table\:\:generateFieldSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/CreateAddField.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Crypto/Crypto.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 10
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Database\\CentralColumns\:\:findExistingColNames\(\) should return array\<string\> but returns list\<string\|null\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 3
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 3
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$def of method PhpMyAdmin\\Database\\CentralColumns\:\:getInsertQuery\(\) expects PhpMyAdmin\\Column, PhpMyAdmin\\Column\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#10 \$colDefault of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$origColName of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$colName of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$column of method PhpMyAdmin\\ConfigStorage\\Relation\:\:checkChildForeignReferences\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$pageNow of static method PhpMyAdmin\\Util\:\:pageselector\(\) expects int, \(float\|int\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$colType of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$colAttribute of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$colLength of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$collation of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Parameter \#9 \$colExtra of method PhpMyAdmin\\Database\\CentralColumns\:\:updateOneColumn\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/CentralColumns.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Database\\Designer\:\:getSideMenuParamsArray\(\) should return array\<mixed\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Database/Designer.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Database/Designer.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^For loop initial assignment overwrites variable \$i\.$#'
|
|
identifier: for.variableOverwrite
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Database\\Designer\\Common\:\:getTablePositions\(\) should return array\<array\<string\>\> but returns array\<array\<string\|null\>\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 2
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$json of function json_decode expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function rawurlencode expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of class PhpMyAdmin\\Database\\Designer\\DesignerTable constructor expects string, int\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Designer/Common.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 13
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 4
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$query of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:tryQuery\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Events\:\:getDefinition\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Events.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''\('' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 15
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 9
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$name on PhpMyAdmin\\SqlParser\\Components\\DataType\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$options on PhpMyAdmin\\SqlParser\\Components\\DataType\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$options on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$parameters on PhpMyAdmin\\SqlParser\\Components\\DataType\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot assign new offset to list\<string\|null\>\|string\.$#'
|
|
identifier: offsetAssign.dimType
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot call method get\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Cannot call method has\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 13
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Database\\Routines\:\:backupPrivileges\(\) should return array\<array\<string\>\> but returns array\<array\<string\|null\>\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 4
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$alias of method PhpMyAdmin\\Types\:\:mapAliasToMysqlType\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 8
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$itemParamName of method PhpMyAdmin\\Database\\Routines\:\:processParamsAndBuild\(\) expects array\<string\>, array\<mixed, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$quotedString of static method PhpMyAdmin\\Util\:\:unQuote\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 6
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlentities expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strtolower expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strtoupper expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Types\:\:getTypeClass\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array, list\<string\|null\>\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<mixed, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$itemParamDir of method PhpMyAdmin\\Database\\Routines\:\:processParamsAndBuild\(\) expects array\<string\>, array\<mixed, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$createRoutine of method PhpMyAdmin\\Database\\Routines\:\:create\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getFunctionDefinition\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getFunctionDefinition\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getProcedureDefinition\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Routines\:\:getProcedureDefinition\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$itemType of method PhpMyAdmin\\Database\\Routines\:\:processParamsAndBuild\(\) expects PhpMyAdmin\\Database\\RoutineType, PhpMyAdmin\\Database\\RoutineType\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Routines.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_intersect expects an array of values castable to string, array\<mixed, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Database/Search.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Database\\Search\:\:\$criteriaTables \(array\<string\>\) does not accept array\<mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Database/Search.php
|
|
|
|
-
|
|
message: '''
|
|
#^Access to deprecated static property \$route of class PhpMyAdmin\\Routing\\Routing\:
|
|
Use \{@see ServerRequest\:\:getRoute\(\)\} instead\.$#
|
|
'''
|
|
identifier: staticProperty.deprecated
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between int\|string\|null and int\|string\|null results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 3
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between string\|null and string\|null results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and string\|null results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 5
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Cannot use \+\+ on mixed\.$#'
|
|
identifier: postInc.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getColumnNames\(\) should return list\<string\> but returns list\<string\|null\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getCurrentRoles\(\) should return list\<string\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getCurrentUser\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getCurrentUser\(\) should return string but returns string\|null\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTableIndexes\(\) should return array\<int, array\{Table\: string, Non_unique\: ''0''\|''1'', Key_name\: string, Seq_in_index\: string, Column_name\: string\|null, Collation\: ''A''\|''D''\|null, Cardinality\: string, Sub_part\: string\|null, \.\.\.\}\> but returns list\<array\<string\|null\>\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Offset string\|null on array\{\} in isset\(\) does not exist\.$#'
|
|
identifier: isset.offset
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, int\|false given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 3
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 2
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a ternary operator condition, bool\|string given\.$#'
|
|
identifier: ternary.condNotBoolean
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, int\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 2
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var with type array\<array\<int\|string\|null\>\> is not subtype of type array\<array\<string\|null\>\>\.$#'
|
|
identifier: varTag.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function usort contains unresolvable type\.$#'
|
|
identifier: argument.unresolvableType
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(string\)\: non\-empty\-string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(string, PhpMyAdmin\\Dbal\\ConnectionType\=\)\: non\-empty\-string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$mode of static method PhpMyAdmin\\SqlParser\\Context\:\:setMode\(\) expects int\|string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of function basename expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strtolower expects string, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$arrays of function array_diff expects an array of values castable to string, array given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$callback of function usort contains unresolvable type\.$#'
|
|
identifier: argument.unresolvableType
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Dbal\\DatabaseInterface\:\:\$versionComment \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Dbal\\DatabaseInterface\:\:\$versionString \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Dbal/DatabaseInterface.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Dbal/DbiMysqli.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAllAssoc\(\) should return list\<array\<string\|null\>\> but returns list\<array\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/MysqliResult.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAllColumn\(\) should return list\<string\|null\> but returns list\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/MysqliResult.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAllKeyPair\(\) should return array\<string\|null\> but returns array\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/MysqliResult.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchAssoc\(\) should return array\<string\|null\> but returns array\<string, float\|int\|string\|null\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/MysqliResult.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Dbal\\MysqliResult\:\:fetchRow\(\) should return list\<string\|null\> but returns array\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Dbal/MysqliResult.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$field of class PhpMyAdmin\\FieldMetadata constructor expects object\{name\: string, orgname\: string, table\: string, orgtable\: string, max_length\: int, length\: int, charsetnr\: int, flags\: int, type\: int, decimals\: int, db\: string, def\: string, catalog\: string\}, object\{name\: string, orgname\: string, table\: string, orgtable\: string, def\: string, db\: string, catalog\: string, max_length\: int, length\: int, charsetnr\: string, flags\: int, type\: int, decimals\: int\}&stdClass given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Dbal/MysqliResult.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$expr\.$#'
|
|
identifier: property.notFound
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$from\.$#'
|
|
identifier: property.notFound
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$limit\.$#'
|
|
identifier: property.notFound
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$where\.$#'
|
|
identifier: property.notFound
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property object\:\:\$column\.$#'
|
|
identifier: property.notFound
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property object\:\:\$database\.$#'
|
|
identifier: property.notFound
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 4
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Binary operation "%%" between int\<1, max\> and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and int results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and int\|numeric\-string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between \(array\|float\|int\) and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between int and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
|
|
identifier: arrayFilter.strict
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''display_binary'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''display_blob'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''geoOption'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''hide_transformation'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 14
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pftext'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 9
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pos'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 11
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''possible_as_geometry'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''query'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''relational_display'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 7
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''repeat_cells'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 5
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''sql'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$alias on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$column on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$expr on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 3
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$identifiers on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$offset on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$rowCount on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$table on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$type on PhpMyAdmin\\SqlParser\\Token\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 10
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$value on PhpMyAdmin\\SqlParser\\Token\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 10
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 6
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 23
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Display\\Results\:\:getSortByKeyDropDown\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Display\\Results\:\:getTableHeaders\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, array\<mixed\>\|bool given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 3
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\|string\|null given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 5
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a ternary operator condition, int\<0, max\>\|false given\.$#'
|
|
identifier: ternary.condNotBoolean
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a ternary operator condition, mixed given\.$#'
|
|
identifier: ternary.condNotBoolean
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: booleanOr.leftNotBoolean
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
|
|
identifier: booleanOr.rightNotBoolean
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \-, \(array\|float\|int\) given on the left side\.$#'
|
|
identifier: minus.leftNonNumeric
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_shift expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getComments\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$offset of method PhpMyAdmin\\Dbal\\ResultInterface\:\:seek\(\) expects int, float\|int given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommonRaw\(\) expects array\<int\|string, bool\|int\|string\>, array\<string, string\|null\> given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$statement of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:replaceClause\(\) expects PhpMyAdmin\\SqlParser\\Statement, PhpMyAdmin\\SqlParser\\Statement\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$table of class PhpMyAdmin\\Display\\ForeignKeyRelatedTable constructor expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$field of class PhpMyAdmin\\Display\\ForeignKeyRelatedTable constructor expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:getClause\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:replaceClause\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$rows of static method PhpMyAdmin\\Util\:\:pageselector\(\) expects int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string2 of function strcasecmp expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getComments\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$colOrder of method PhpMyAdmin\\Display\\Results\:\:getRowValues\(\) expects array\<mixed\>\|false, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$database of class PhpMyAdmin\\Display\\ForeignKeyRelatedTable constructor expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$colVisib of method PhpMyAdmin\\Display\\Results\:\:getOrderLinkAndSortedHeaderHtml\(\) expects array\<mixed\>\|bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$colVisib of method PhpMyAdmin\\Display\\Results\:\:getRowValues\(\) expects array\<mixed\>\|bool\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$colVisibElement of method PhpMyAdmin\\Display\\Results\:\:getOrderLinkAndSortedHeaderHtml\(\) expects int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 16
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\FieldMetadata\:\:\$name \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
|
|
identifier: ternary.shortNotAllowed
|
|
count: 1
|
|
path: src/Display/Results.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: src/Encoding.php
|
|
|
|
-
|
|
message: '#^Call to function function_exists\(\) with ''iconv''\|''mb_convert_encoding'' will always evaluate to true\.$#'
|
|
identifier: function.alreadyNarrowedType
|
|
count: 1
|
|
path: src/Encoding.php
|
|
|
|
-
|
|
message: '#^Foreach overwrites \$engine with its value variable\.$#'
|
|
identifier: foreach.valueOverwrite
|
|
count: 1
|
|
path: src/Encoding.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Encoding\:\:convertString\(\) should return string but returns string\|false\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Encoding.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Encoding\:\:kanjiStrConv\(\) should return string but returns string\|false\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Encoding.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$directory of function tempnam expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Encoding.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Engines/Innodb.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: src/Engines/Innodb.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 3
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''\('' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 2
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''args'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''class'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''class''\|''function''\|''line''\|''type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''file'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''function'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''line'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, int\<0, 18176\> given on the right side\.$#'
|
|
identifier: booleanOr.rightNotBoolean
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$path of static method PhpMyAdmin\\Error\\Error\:\:relPath\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$step of static method PhpMyAdmin\\Error\\Error\:\:getFunctionCall\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$function of static method PhpMyAdmin\\Error\\Error\:\:getArg\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Error/Error.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Error/ErrorHandler.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 6
|
|
path: src/Error/ErrorHandler.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/ErrorHandler.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/ErrorHandler.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Error/ErrorHandler.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Error/ErrorHandler.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''context'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''scriptname'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''stack'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''uri'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''url'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$stack of method PhpMyAdmin\\Error\\ErrorReport\:\:translateStacktrace\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strlen expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_substr expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$url of method PhpMyAdmin\\Error\\ErrorReport\:\:sanitizeUrl\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Error/ErrorReport.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 2
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''alias'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''columns'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''tables'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 3
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$dbAlias of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:exportDBCreate\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$dbAlias of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:exportDBHeader\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Export/Export.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''aliases'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 3
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, bool\|int\|string given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$dbSelect has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$filename of method PhpMyAdmin\\Export\\Options\:\:getFileNameTemplate\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Options.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Export/OutputHandler.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Export\\OutputHandler\:\:\$dumpBuffer \(string\) does not accept string\|false\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: src/Export/OutputHandler.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$id of class PhpMyAdmin\\Export\\Template constructor expects int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Template.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Plugins\\ExportType\:\:tryFrom\(\) expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Template.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$username of class PhpMyAdmin\\Export\\Template constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Template.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$name of class PhpMyAdmin\\Export\\Template constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Template.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$data of class PhpMyAdmin\\Export\\Template constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Export/Template.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be true\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''favoriteTables''\|''recentTables'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''favorites_synced'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<1, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Favorites\\RecentFavoriteTables\:\:getFromDb\(\) should return array\<array\{db\: string, table\: string\}\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of static method PhpMyAdmin\\Favorites\\RecentFavoriteTable\:\:fromArray\(\) expects array\{db\: non\-empty\-string, table\: non\-empty\-string\}, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Favorites/RecentFavoriteTables.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''error'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''multi_edit'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''name'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''tmp_name'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 7
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string\|null on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\File has an uninitialized property \$zipExtension\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, resource\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of method PhpMyAdmin\\File\:\:setUploadedFile\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$length of function fread expects int\<1, max\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\File\:\:\$content \(string\|null\) does not accept string\|false\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\File\:\:\$handle \(resource\|null\) does not accept resource\|false\.$#'
|
|
identifier: assign.propertyType
|
|
count: 4
|
|
path: src/File.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/FileListing.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/FlashMessenger.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\FlashMessenger\:\:getCurrentMessages\(\) should return list\<array\{context\: string, message\: string, statement\: string\}\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/FlashMessenger.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\FlashMessenger\:\:\$previousMessages \(list\<array\{context\: string, message\: string, statement\: string\}\>\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/FlashMessenger.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between int and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Font.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''chars'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Font.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''modifier'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Font.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Font.php
|
|
|
|
-
|
|
message: '''
|
|
#^Access to deprecated static property \$route of class PhpMyAdmin\\Routing\\Routing\:
|
|
Use \{@see ServerRequest\:\:getRoute\(\)\} instead\.$#
|
|
'''
|
|
identifier: staticProperty.deprecated
|
|
count: 1
|
|
path: src/Footer.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Footer.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, array\<mixed, mixed\>\|object given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Footer.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommonRaw\(\) expects array\<int\|string, bool\|int\|string\>, array\<string, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Footer.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 1
|
|
path: src/Gis/GisGeometry.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \-, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: minus.leftNonNumeric
|
|
count: 1
|
|
path: src/Gis/GisGeometry.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisGeometryCollection.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''gis_type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisGeometryCollection.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of static method PhpMyAdmin\\Gis\\GisFactory\:\:fromType\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisGeometryCollection.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''LINESTRING'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$point of method PhpMyAdmin\\Gis\\GisGeometry\:\:getWktCoord\(\) expects array\{x\: float\|int\|string, y\: float\|int\|string\}\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$red of method PhpMyAdmin\\Image\\ImageWrapper\:\:colorAllocate\(\) expects int\<0, 255\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:line\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:string\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisLineString.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''MULTILINESTRING'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''points'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''x'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''y'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on non\-empty\-array\<''data_length''\|int\<0, max\>, array\{x\: float, y\: float\}\|int\<0, max\>\>\|int\<1, max\>\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$point of method PhpMyAdmin\\Gis\\GisGeometry\:\:getWktCoord\(\) expects array\{x\: float\|int\|string, y\: float\|int\|string\}\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$red of method PhpMyAdmin\\Image\\ImageWrapper\:\:colorAllocate\(\) expects int\<0, 255\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:line\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:string\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiLineString.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''MULTIPOINT'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''x'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''y'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$point of method PhpMyAdmin\\Gis\\GisGeometry\:\:getWktCoord\(\) expects array\{x\: float\|int\|string, y\: float\|int\|string\}\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$red of method PhpMyAdmin\\Image\\ImageWrapper\:\:colorAllocate\(\) expects int\<0, 255\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:string\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:arc\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPoint.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 7
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''MULTIPOLYGON'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''inner'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''isOuter'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pointOnSurface'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''points'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''x'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''y'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot call method isInsidePolygon\(\) on mixed\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 2
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$point of method PhpMyAdmin\\Gis\\GisGeometry\:\:getWktCoord\(\) expects array\{x\: float\|int\|string, y\: float\|int\|string\}\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$points of method PhpMyAdmin\\Image\\ImageWrapper\:\:filledPolygon\(\) expects list\<int\>, list\<float\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$points of static method PhpMyAdmin\\Gis\\Ds\\Polygon\:\:fromXYArray\(\) expects non\-empty\-list\<array\{x\: float, y\: float\}\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$red of method PhpMyAdmin\\Image\\ImageWrapper\:\:colorAllocate\(\) expects int\<0, 255\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:filledPolygon\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:string\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 4
|
|
path: src/Gis/GisMultiPolygon.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''POINT\('' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Gis/GisPoint.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Gis/GisPoint.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''POINT'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$point of method PhpMyAdmin\\Gis\\GisGeometry\:\:getWktCoord\(\) expects array\{x\: float\|int\|string, y\: float\|int\|string\}\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$red of method PhpMyAdmin\\Image\\ImageWrapper\:\:colorAllocate\(\) expects int\<0, 255\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:string\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPoint.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:arc\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPoint.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''POLYGON'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on non\-empty\-array\<''data_length''\|int\<0, max\>, array\{x\: float, y\: float\}\|int\<0, max\>\>\|int\<1, max\>\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$point of method PhpMyAdmin\\Gis\\GisGeometry\:\:getWktCoord\(\) expects array\{x\: float\|int\|string, y\: float\|int\|string\}\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$points of method PhpMyAdmin\\Image\\ImageWrapper\:\:filledPolygon\(\) expects list\<int\>, list\<float\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$red of method PhpMyAdmin\\Image\\ImageWrapper\:\:colorAllocate\(\) expects int\<0, 255\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:filledPolygon\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$color of method PhpMyAdmin\\Image\\ImageWrapper\:\:string\(\) expects int, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisPolygon.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Gis/GisVisualization.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Gis/GisVisualization.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Gis/GisVisualization.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Gis/GisVisualization.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$width of static method PhpMyAdmin\\Image\\ImageWrapper\:\:create\(\) expects int\<1, max\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisVisualization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$height of static method PhpMyAdmin\\Image\\ImageWrapper\:\:create\(\) expects int\<1, max\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Gis/GisVisualization.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between 24 and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between mixed and 20 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between mixed and 4 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 1 on array\|false\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 256 on array\|false\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int on array\|false\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<min, \-1\>\|int\<1, max\> on array\|false\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$date on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 2
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$email on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 2
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$name on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 2
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 6
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot use \+\+ on mixed\.$#'
|
|
identifier: postInc.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Git\:\:getPackOffset\(\) should return int\|null but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Git\:\:isRemoteCommit\(\) should return stdClass\|null but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Git\:\:unPackGz\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Offset 1 might not exist on array\{\}\|array\{0\: non\-falsy\-string, 1\: non\-empty\-string, 2\: non\-empty\-string, 3\: numeric\-string, 4\?\: non\-falsy\-string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Offset 2 might not exist on array\{\}\|array\{0\: non\-falsy\-string, 1\: non\-empty\-string, 2\: non\-empty\-string, 3\: numeric\-string, 4\?\: non\-falsy\-string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Offset 3 might not exist on array\{\}\|array\{0\: non\-falsy\-string, 1\: non\-empty\-string, 2\: non\-empty\-string, 3\: numeric\-string, 4\?\: non\-falsy\-string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$commit of static method PhpMyAdmin\\Git\:\:extractDataFormTextBody\(\) expects array\<string\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$gitFolder of method PhpMyAdmin\\Git\:\:getCommonDirContents\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$gitFolder of method PhpMyAdmin\\Git\:\:getHashFromHeadRef\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$gitFolder of method PhpMyAdmin\\Git\:\:unPackGz\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function trim expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$length of function fread expects int\<1, max\>, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$offset of function substr expects int, \(float\|int\) given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Parameter &\$gitLocation by\-ref type of method PhpMyAdmin\\Git\:\:isGitRevision\(\) expects string\|null, mixed given\.$#'
|
|
identifier: parameterByRef.type
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Variable \$position might not be defined\.$#'
|
|
identifier: variable.undefined
|
|
count: 1
|
|
path: src/Git.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pftext'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Header.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Header.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:getMessage\(\) expects PhpMyAdmin\\Message\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Header.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 9
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''go_back_url'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''message'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pos'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 5
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 7
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommon\(\) expects array\<string, bool\|int\|string\>, array\<int\|string, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Html/Generator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$method of method PhpMyAdmin\\Http\\Factory\\ServerRequestFactory\:\:createServerRequest\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Http/Factory/ServerRequestFactory.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Http/Middleware/DatabaseServerVersionChecking.php
|
|
|
|
-
|
|
message: '''
|
|
#^Access to deprecated static property \$route of class PhpMyAdmin\\Routing\\Routing\:
|
|
Use \{@see ServerRequest\:\:getRoute\(\)\} instead\.$#
|
|
'''
|
|
identifier: staticProperty.deprecated
|
|
count: 1
|
|
path: src/Http/Middleware/RouteParsing.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Http/Middleware/StatementHistory.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:getAttributes\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:getCookieParams\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:getParsedBody\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:getQueryParams\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:getServerParams\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:getUploadedFiles\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:withCookieParams\(\) has parameter \$cookies with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:withParsedBody\(\) has parameter \$data with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:withQueryParams\(\) has parameter \$query with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Http\\ServerRequest\:\:withUploadedFiles\(\) has parameter \$uploadedFiles with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '#^Variable property access on object\.$#'
|
|
identifier: property.dynamicName
|
|
count: 2
|
|
path: src/Http/ServerRequest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/I18n/LanguageManager.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\I18n\\LanguageManager\:\:availableLocales\(\) should return array\<string\> but returns array\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/I18n/LanguageManager.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\I18n\\LanguageManager\:\:\$availableLocales \(array\<string\>\) does not accept array\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/I18n/LanguageManager.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''handler'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Import/Ajax.php
|
|
|
|
-
|
|
message: '#^Cannot call static method getUploadStatus\(\) on mixed\.$#'
|
|
identifier: staticMethod.nonObject
|
|
count: 1
|
|
path: src/Import/Ajax.php
|
|
|
|
-
|
|
message: '#^Variable static method call on PhpMyAdmin\\Import\\Ajax\.$#'
|
|
identifier: staticMethod.dynamicName
|
|
count: 1
|
|
path: src/Import/Ajax.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$precision on int\|PhpMyAdmin\\Import\\DecimalSize\.$#'
|
|
identifier: property.nonObject
|
|
count: 5
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$scale on int\|PhpMyAdmin\\Import\\DecimalSize\.$#'
|
|
identifier: property.nonObject
|
|
count: 5
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 7
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Casting to int something that''s already int\.$#'
|
|
identifier: cast.useless
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Foreach overwrites \$sqlQuery with its value variable\.$#'
|
|
identifier: foreach.valueOverwrite
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, PhpMyAdmin\\Dbal\\ResultInterface\|false given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$precision of static method PhpMyAdmin\\Import\\DecimalSize\:\:fromPrecisionAndScale\(\) expects int, int\|PhpMyAdmin\\Import\\DecimalSize given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$separator of function explode expects non\-empty\-string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sql of method PhpMyAdmin\\Import\\Import\:\:runQuery\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Import\\ImportTable\:\:\$rows \(list\<list\<mixed\>\>\) does not accept array\<int\<0, max\>, list\<mixed\>\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Import/Import.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, int\<0, 1\> given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, int\<0, 2\> given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, int\<0, 4\> given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, int\<0, 8\> given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$columns of method PhpMyAdmin\\Indexes\\Index\:\:addColumns\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of method PhpMyAdmin\\Indexes\\Index\:\:addColumn\(\) expects array\<string, string\|null\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$choice \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$comment \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$name \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$packed \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$parser \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$remarks \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$schema \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$table \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\Index\:\:\$type \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/Index.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 3
|
|
path: src/Indexes/IndexColumn.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\IndexColumn\:\:\$collation \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/IndexColumn.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\IndexColumn\:\:\$expression \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/IndexColumn.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\IndexColumn\:\:\$name \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/IndexColumn.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Indexes\\IndexColumn\:\:\$null \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Indexes/IndexColumn.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''relational_display'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Match expression does not handle remaining value\: string$#'
|
|
identifier: match.unhandled
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\InsertEdit\:\:determineInsertOrEdit\(\) should return array\{bool, array\<string\>\|string\|null, array\<PhpMyAdmin\\Dbal\\ResultInterface\>\|PhpMyAdmin\\Dbal\\ResultInterface, array\<array\<string, string\|null\>\>, bool, string\|null\} but returns array\{bool, mixed, array\<PhpMyAdmin\\Dbal\\ResultInterface\>\|PhpMyAdmin\\Dbal\\ResultInterface, array\<array\<string\|null\>\>, bool, mixed\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\InsertEdit\:\:getErrorUrl\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\InsertEdit\:\:getFormParametersForInsertForm\(\) should return array\<string, string\> but returns array\<string, mixed\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Offset 2 might not exist on array\{\}\|array\{0\: non\-falsy\-string, 1\: string, 2\: string, 3\?\: numeric\-string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, PhpMyAdmin\\Dbal\\ResultInterface\|false given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string\|null given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 2
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$currentRow of method PhpMyAdmin\\InsertEdit\:\:getDefaultValueAndBackupFieldForExistingRow\(\) expects array\<string\|null\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$defaultValue of method PhpMyAdmin\\InsertEdit\:\:getDefaultValue\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 6
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommon\(\) expects array\<string, bool\|int\|string\>, array\<string, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sqlQuery of static method PhpMyAdmin\\Core\:\:signSqlQuery\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$whereClauseArray of method PhpMyAdmin\\InsertEdit\:\:analyzeWhereClauses\(\) expects array\<string\>, array\<mixed, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$signature of static method PhpMyAdmin\\Core\:\:checkSqlQuerySignature\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:getDisplayField\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$value of method PhpMyAdmin\\Plugins\\IOTransformationsPlugin\:\:getInputHtml\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Possibly impure call to function preg_match\(\) in pure method PhpMyAdmin\\InsertEdit\:\:isWhereClauseNumeric\(\)\.$#'
|
|
identifier: possiblyImpure.functionCall
|
|
count: 1
|
|
path: src/InsertEdit.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\InsertEditColumn\:\:getDisplayType\(\) should return string but returns string\|null\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/InsertEditColumn.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\InsertEditColumn\:\:\$trueType \(string\) does not accept string\|null\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/InsertEditColumn.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/IpAllowDeny.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$ipToTest of method PhpMyAdmin\\IpAllowDeny\:\:ipMaskTest\(\) expects string, string\|true given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/IpAllowDeny.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between int\|string\|null and int\<0, max\> results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Linter.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$pos of static method PhpMyAdmin\\Linter\:\:findLineNumberAndColumn\(\) expects int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Linter.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/ListDatabase.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$callback of function usort expects callable\(mixed, mixed\)\: int, Closure\(string, string\)\: int\<\-1, 1\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/ListDatabase.php
|
|
|
|
-
|
|
message: '''
|
|
#^Access to deprecated static property \$route of class PhpMyAdmin\\Routing\\Routing\:
|
|
Use \{@see ServerRequest\:\:getRoute\(\)\} instead\.$#
|
|
'''
|
|
identifier: staticProperty.deprecated
|
|
count: 3
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''icon'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 22
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pos'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''route'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 10
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''single_table'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''text'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 4
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Menu\:\:getAllowedTabs\(\) should return array\<mixed\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 1
|
|
path: src/Menu.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Message.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Message.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Message.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 3
|
|
path: src/Navigation/Navigation.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Navigation/Navigation.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property PhpMyAdmin\\Navigation\\Nodes\\Node\:\:\$secondIcon\.$#'
|
|
identifier: property.notFound
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$pos2 on PhpMyAdmin\\Navigation\\Nodes\\Node\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 7
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Casting to string something that''s already string\.$#'
|
|
identifier: cast.useless
|
|
count: 4
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, int given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 5
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function strstr expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Navigation\\Nodes\\Node\:\:getChild\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Navigation\\Nodes\\Node\:\:getChild\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of method PhpMyAdmin\\Navigation\\NavigationTree\:\:parsePath\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string1 of function strcasecmp expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$path of method PhpMyAdmin\\Navigation\\NavigationTree\:\:buildPathPart\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of class PhpMyAdmin\\Navigation\\Nodes\\NodeDatabase constructor expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of class PhpMyAdmin\\Navigation\\Nodes\\NodeTable constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$searchClause of method PhpMyAdmin\\Navigation\\Nodes\\NodeDatabase\:\:getPresence\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Navigation\\NavigationTree\:\:\$pos2Name \(array\<string\>\) does not accept array\<mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Navigation\\NavigationTree\:\:\$pos3Name \(array\<string\>\) does not accept array\<mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Navigation\\NavigationTree\:\:\$searchClause \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Navigation\\NavigationTree\:\:\$searchClause2 \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Navigation/NavigationTree.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of method PhpMyAdmin\\Navigation\\Nodes\\Node\:\:__construct\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/Nodes/NodeColumn.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$realName on PhpMyAdmin\\Navigation\\Nodes\\Node\|false\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Navigation/Nodes/NodeDatabaseChild.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$realName on PhpMyAdmin\\Navigation\\Nodes\\Node\|false\.$#'
|
|
identifier: property.nonObject
|
|
count: 4
|
|
path: src/Navigation/Nodes/NodeTable.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$columnSpecification of static method PhpMyAdmin\\Util\:\:extractColumnSpec\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/Nodes/NodeTable.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$item of class PhpMyAdmin\\Navigation\\Nodes\\NodeColumn constructor expects array\{name\: string\|null, key\: string, type\: string\|null, default\: string\|null, nullable\: string\}, array\<string\|null\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Navigation/Nodes/NodeTable.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Navigation\\Nodes\\ObjectFetcher\:\:getEventsFromDb\(\) should return array\<string\> but returns list\<string\|null\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Navigation/Nodes/ObjectFetcher.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Navigation\\Nodes\\ObjectFetcher\:\:getRoutines\(\) should return array\<string\> but returns list\<string\|null\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Navigation/Nodes/ObjectFetcher.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Navigation\\Nodes\\ObjectFetcher\:\:getTablesAndViews\(\) should return array\<array\{name\: string, type\: string\}\> but returns list\<array\<string\|null\>\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Navigation/Nodes/ObjectFetcher.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 3
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''nonpk'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pk'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Casting to string something that''s already string\.$#'
|
|
identifier: cast.useless
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Normalization\:\:createNewTablesFor2NF\(\) should return array\{legendText\: string, headText\: string, queryError\: bool, extra\: PhpMyAdmin\\Message\} but returns array\{legendText\: string, headText\: non\-falsy\-string, queryError\: bool, extra\: ''''\|PhpMyAdmin\\Message\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Normalization\:\:createNewTablesFor2NF\(\) should return array\{legendText\: string, headText\: string, queryError\: bool, extra\: PhpMyAdmin\\Message\} but returns array\{legendText\: string, headText\: non\-falsy\-string, queryError\: false\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Normalization\:\:createNewTablesFor3NF\(\) should return array\{legendText\: string, headText\: string, queryError\: string\|false, extra\?\: string\} but returns array\{legendText\: string, headText\: non\-falsy\-string, queryError\: bool, extra\: ''''\|PhpMyAdmin\\Message\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 3
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_unique expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 6
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getColumnNames\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getColumnNames\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of static method PhpMyAdmin\\Indexes\\Index\:\:getPrimary\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of static method PhpMyAdmin\\Indexes\\Index\:\:getPrimary\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Variable property access on object\.$#'
|
|
identifier: property.dynamicName
|
|
count: 4
|
|
path: src/Normalization.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''pack_keys \= '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 8
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$collation of static method PhpMyAdmin\\Util\:\:getCharsetQueryPart\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$query of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:query\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strtolower expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function urldecode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Table\\MoveScope\:\:from\(\) expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Table\\MoveScope\:\:tryFrom\(\) expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Operations.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 3
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^PhpMyAdmin\\Partitioning\\Partition\:\:__construct\(\) does not call parent constructor from PhpMyAdmin\\Partitioning\\SubPartition\.$#'
|
|
identifier: constructor.missingParentCall
|
|
count: 1
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\Partition\:\:\$description \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\SubPartition\:\:\$expression \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\SubPartition\:\:\$method \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\SubPartition\:\:\$name \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/Partition.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 4
|
|
path: src/Partitioning/SubPartition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\SubPartition\:\:\$comment \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/SubPartition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\SubPartition\:\:\$expression \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/SubPartition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\SubPartition\:\:\$method \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/SubPartition.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Partitioning\\SubPartition\:\:\$name \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Partitioning/SubPartition.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''_s'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''comment'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_directory'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''engine'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''index_directory'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''min_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''name'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''node_group'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''prefix'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''subpartition_count'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''subpartitions'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''tablespace'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''value'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''value_type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_splice expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$offset of function array_splice expects int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Partitioning/TablePartitionDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<1, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of function strtr expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$currentfont of static method TCPDF_FONTS\:\:UTF8ToUTF16BE\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Pdf.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Pdf.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Plugins.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Plugins.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Plugins/Auth/AuthenticationConfig.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationConfig.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 8
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Call to function base64_decode\(\) requires parameter \#2 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 6
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Foreach overwrites \$value with its value variable\.$#'
|
|
identifier: foreach.valueOverwrite
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an elseif condition, string\|false given\.$#'
|
|
identifier: elseif.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$encryptedData of method PhpMyAdmin\\Plugins\\Auth\\AuthenticationCookie\:\:cookieDecrypt\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of static method PhpMyAdmin\\Core\:\:sanitizeMySQLHost\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of static method PhpMyAdmin\\Core\:\:sanitizeMySQLUser\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$response of method ReCaptcha\\ReCaptcha\:\:verify\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$remoteIp of method ReCaptcha\\ReCaptcha\:\:verify\(\) expects string\|null, bool\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Plugins\\AuthenticationPlugin\:\:\$password \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Plugins\\Auth\\AuthenticationCookie\:\:\$authServer \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationCookie.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationHttp.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationHttp.php
|
|
|
|
-
|
|
message: '#^Call to function base64_decode\(\) requires parameter \#2 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationHttp.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 4
|
|
path: src/Plugins/Auth/AuthenticationHttp.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationHttp.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, int\<0, max\>\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationHttp.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$known_string of function hash_equals expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationHttp.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$id of function session_id expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$options of function session_set_cookie_params expects array\{lifetime\?\: int, path\?\: string\|null, domain\?\: string\|null, secure\?\: bool\|null, httponly\?\: bool\|null, samesite\?\: ''Lax''\|''lax''\|''None''\|''none''\|''Strict''\|''strict''\}, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: mixed, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: string, port\: mixed, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept non\-empty\-array\<mixed, mixed\>\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Plugins\\AuthenticationPlugin\:\:\$password \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Plugins\\AuthenticationPlugin\:\:\$user \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Auth/AuthenticationSignon.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: src/Plugins/AuthenticationPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/AuthenticationPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/AuthenticationPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Plugins/AuthenticationPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Plugins/AuthenticationPlugin.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Plugins/AuthenticationPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$url of method PhpMyAdmin\\ResponseRenderer\:\:redirect\(\) expects non\-empty\-string, string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/AuthenticationPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/AuthenticationPluginFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$column of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/ExportCodegen.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/ExportExcel.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Plugins/Export/ExportHtmlword.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$aliases of method PhpMyAdmin\\Plugins\\Export\\ExportJson\:\:doExportForQuery\(\) expects array\<string, array\{tables\: array\<string, array\{columns\: array\<string, string\>\}\>\}\>\|null, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportJson.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Plugins/Export/ExportLatex.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Export/ExportLatex.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function bin2hex expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportOds.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$timestamp of function date expects int\|null, int\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/ExportOds.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, array\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Export/ExportOdt.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function bin2hex expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportOdt.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$table of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportOdt.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$table of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getTableAlias\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportOdt.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$column of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportOdt.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Plugins\\Export\\ExportPdf has an uninitialized property \$pdf\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: src/Plugins/Export/ExportPdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$line of method PhpMyAdmin\\Export\\OutputHandler\:\:addLine\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportPdf.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Plugins\\Export\\ExportPdf\:\:\$pdfReportTitle \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Export/ExportPdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportPhparray.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$database on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 2
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$expr on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 3
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$table on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 7
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Cannot call method get\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Cannot call method has\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 7
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Cannot call method remove\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 7
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Casting to string something that''s already string\.$#'
|
|
identifier: cast.useless
|
|
count: 2
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 11
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Export\\ExportSql\:\:setMaxQuerySize\(\) should return int\<0, max\> but returns int\.$#'
|
|
identifier: return.type
|
|
count: 2
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, bool\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, list\<string\> given on the left side\.$#'
|
|
identifier: booleanOr.leftNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, list\<string\> given on the right side\.$#'
|
|
identifier: booleanOr.rightNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$id of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getAlias\(\) expects string, bool\|float\|int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$sqlQuery of method PhpMyAdmin\\Plugins\\Export\\ExportSql\:\:replaceWithAliases\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of static method PhpMyAdmin\\Database\\Events\:\:getDefinition\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$table of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$table of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getTableAlias\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$column of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Plugins\\Export\\ExportSql\:\:\$oldTimezone \(string\) does not accept string\|false\|null\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Plugins/Export/ExportSql.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Export/ExportTexytext.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Plugins/Export/ExportTexytext.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Plugins/Export/ExportToon.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Export/ExportXml.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/ExportXml.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$names of method PhpMyAdmin\\Plugins\\Export\\ExportXml\:\:exportDefinitions\(\) expects array\<string\>, list\<string\|null\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/ExportXml.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 6
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and float\|int results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 8
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between \(array\|float\|int\) and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between 0\|float and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and \(float\|int\) results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and float results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 5
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 15
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''columns'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''olm'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''orm'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''tables'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(float\|int\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot use \+\+ on mixed\.$#'
|
|
identifier: postInc.type
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Plugins\\Export\\Helpers\\Pdf has an uninitialized property \$results\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Implicit array creation is not allowed \- variable \$data might not exist\.$#'
|
|
identifier: variable.implicitArray
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 6
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \-, \(array\|float\|int\) given on the left side\.$#'
|
|
identifier: minus.leftNonNumeric
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$lineheight of method PhpMyAdmin\\Plugins\\Export\\Helpers\\Pdf\:\:morepagestable\(\) expects float\|int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$margin \(float\) of method PhpMyAdmin\\Plugins\\Export\\Helpers\\Pdf\:\:setTopMargin\(\) should be contravariant with parameter \$margin \(float\|int\) of method TCPDF\:\:setTopMargin\(\)$#'
|
|
identifier: method.childParameterType
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$orientation of method TCPDF\:\:AddPage\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$s of method TCPDF\:\:GetStringWidth\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of static method TCPDF_STATIC\:\:empty_string\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$w of method TCPDF\:\:Cell\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$w of method TCPDF\:\:MultiCell\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$x of method TCPDF\:\:setXY\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 7
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$x1 of method TCPDF\:\:Line\(\) expects float, \(array\|float\|int\) given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$x1 of method TCPDF\:\:Line\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 9
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$y of method TCPDF\:\:setY\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$h of method TCPDF\:\:Cell\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$h of method TCPDF\:\:MultiCell\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$y of method TCPDF\:\:setXY\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$y1 of method TCPDF\:\:Line\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 6
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$size of method TCPDF\:\:setFont\(\) expects float\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$txt of method TCPDF\:\:MultiCell\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$x2 of method TCPDF\:\:Line\(\) expects float, \(array\|float\|int\) given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$x2 of method TCPDF\:\:Line\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$align of method TCPDF\:\:MultiCell\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Variable \$columnsCnt might not be defined\.$#'
|
|
identifier: variable.undefined
|
|
count: 6
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Variable \$txt on left side of \?\? always exists and is not nullable\.$#'
|
|
identifier: nullCoalesce.variable
|
|
count: 2
|
|
path: src/Plugins/Export/Helpers/Pdf.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 2
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''alias'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''columns'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''tables'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 8
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getAlias\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 3
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getDbAlias\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getTableAlias\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, array\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$table of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$table of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getTableAlias\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$column of method PhpMyAdmin\\Plugins\\ExportPlugin\:\:getColumnAlias\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/ExportPlugin.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 3
|
|
path: src/Plugins/Import/ImportCsv.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Import/ImportCsv.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$columnNames of method PhpMyAdmin\\Plugins\\Import\\ImportCsv\:\:getColumnNames\(\) expects list\<string\>, list\<string\|null\>\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/ImportCsv.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Import/ImportMediawiki.php
|
|
|
|
-
|
|
message: '#^Negated boolean expression is always true\.$#'
|
|
identifier: booleanNot.alwaysTrue
|
|
count: 1
|
|
path: src/Plugins/Import/ImportMediawiki.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$body on SimpleXMLElement\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$spreadsheet on SimpleXMLElement\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Cannot call method count\(\) on SimpleXMLElement\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Offset ''name'' might not exist on SimpleXMLElement\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Offset ''number\-columns\-repeated'' might not exist on SimpleXMLElement\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 2
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$cellAttrs of method PhpMyAdmin\\Plugins\\Import\\ImportOds\:\:getValue\(\) expects SimpleXMLElement, \(SimpleXMLElement\|null\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sheets of method PhpMyAdmin\\Plugins\\Import\\ImportOds\:\:readSheets\(\) expects array\<mixed\>\|SimpleXMLElement, array\|SimpleXMLElement\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$text of method PhpMyAdmin\\Plugins\\Import\\ImportOds\:\:getValue\(\) expects SimpleXMLElement, \(SimpleXMLElement\|null\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/ImportOds.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''GeomFromText\(\\'''' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Import/ImportShp.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/Import/ImportShp.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Plugins/Import/ImportShp.php
|
|
|
|
-
|
|
message: '#^Offset ''dirname'' might not exist on array\{dirname\?\: string, basename\: string, extension\?\: string, filename\: string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Plugins/Import/ImportShp.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$columns of class PhpMyAdmin\\Import\\ImportTable constructor expects list\<string\>, non\-empty\-list\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/ImportShp.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 1
|
|
path: src/Plugins/Import/ImportShp.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$delimiter of method PhpMyAdmin\\SqlParser\\Utils\\BufferedQuery\:\:setDelimiter\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/ImportSql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sqlCompatibility of method PhpMyAdmin\\Plugins\\Import\\ImportSql\:\:setSQLMode\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/ImportSql.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type SimpleXMLElement\|null supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 2
|
|
path: src/Plugins/Import/ImportXml.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$database on SimpleXMLElement\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Plugins/Import/ImportXml.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$structure_schemas on SimpleXMLElement\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Plugins/Import/ImportXml.php
|
|
|
|
-
|
|
message: '#^Cannot call method attributes\(\) on SimpleXMLElement\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Plugins/Import/ImportXml.php
|
|
|
|
-
|
|
message: '#^Offset ''charset'' might not exist on SimpleXMLElement\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Plugins/Import/ImportXml.php
|
|
|
|
-
|
|
message: '#^Offset ''collation'' might not exist on SimpleXMLElement\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Plugins/Import/ImportXml.php
|
|
|
|
-
|
|
message: '#^Offset ''name'' might not exist on SimpleXMLElement\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 3
|
|
path: src/Plugins/Import/ImportXml.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Import\\ShapeFileImport\:\:readSHP\(\) never returns false so it can be removed from the return type\.$#'
|
|
identifier: return.unusedType
|
|
count: 1
|
|
path: src/Plugins/Import/ShapeFileImport.php
|
|
|
|
-
|
|
message: '#^Cannot access offset non\-empty\-string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadNoplugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin\:\:getUploadStatus\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadNoplugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Import\\Upload\\UploadNoplugin\:\:getUploadStatus\(\) should return array\|null but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadNoplugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function array_key_exists expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadNoplugin.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between int and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''complete'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''finished'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''percent'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''total'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Cannot access offset non\-empty\-string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Import\\Upload\\UploadProgress\:\:getUploadStatus\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Import\\Upload\\UploadProgress\:\:getUploadStatus\(\) should return array\|null but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 2
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
|
|
identifier: booleanOr.rightNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function array_key_exists expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \!\=\= between array\{upload_id\: string, fieldname\: string, filename\: string, time_start\: int, time_last\: int, speed_average\: int, speed_last\: int, bytes_uploaded\: int, \.\.\.\} and array\{\} will always evaluate to true\.$#'
|
|
identifier: notIdentical.alwaysTrue
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadProgress.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''bytes_processed'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''complete'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''content_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''done'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''finished'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''percent'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''total'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot access offset non\-empty\-string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Import\\Upload\\UploadSession\:\:getUploadStatus\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Import\\Upload\\UploadSession\:\:getUploadStatus\(\) should return array\|null but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 2
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, mixed given on the right side\.$#'
|
|
identifier: booleanOr.rightNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function array_key_exists expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Import/Upload/UploadSession.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Plugins/Schema/Dia/DiaRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$masterField of method PhpMyAdmin\\Plugins\\Schema\\Dia\\DiaRelationSchema\:\:addRelation\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Dia/DiaRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$foreignField of method PhpMyAdmin\\Plugins\\Schema\\Dia\\DiaRelationSchema\:\:addRelation\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Dia/DiaRelationSchema.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Dia/RelationStatsDia.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Schema/Dia/RelationStatsDia.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 2
|
|
path: src/Plugins/Schema/Dia/RelationStatsDia.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 2
|
|
path: src/Plugins/Schema/Dia/RelationStatsDia.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Plugins/Schema/Eps/EpsRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$masterField of method PhpMyAdmin\\Plugins\\Schema\\Eps\\EpsRelationSchema\:\:addRelation\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Eps/EpsRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$foreignField of method PhpMyAdmin\\Plugins\\Schema\\Eps\\EpsRelationSchema\:\:addRelation\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Eps/EpsRelationSchema.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and \(float\|int\) results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Eps/RelationStatsEps.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and float results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 8
|
|
path: src/Plugins/Schema/Eps/RelationStatsEps.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and int results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 4
|
|
path: src/Plugins/Schema/Eps/RelationStatsEps.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and 10 results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Eps/RelationStatsEps.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and float results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Eps/RelationStatsEps.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method object\:\:line\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 7
|
|
path: src/Plugins/Schema/Eps/RelationStatsEps.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Plugins/Schema/ExportRelationSchema.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Schema/ExportRelationSchema.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Plugins/Schema/ExportRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function rawurldecode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/ExportRelationSchema.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between float and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between float and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''cw'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$w of method PhpMyAdmin\\Plugins\\Schema\\Pdf\\Pdf\:\:numLines\(\) expects int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$w of method TCPDF\:\:MultiCell\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$txt of method PhpMyAdmin\\Plugins\\Schema\\Pdf\\Pdf\:\:numLines\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$txt of method TCPDF\:\:MultiCell\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$w of method TCPDF\:\:Link\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$w of method TCPDF\:\:Rect\(\) expects float, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/Pdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between "\\nON DELETE " and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between "\\nON UPDATE " and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''\.'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Call to method TCPDF\:\:Line\(\) with incorrect case\: line$#'
|
|
identifier: method.nameCase
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''\-'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 5
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, array\|false given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, array\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$datetime of class DateTimeImmutable constructor expects string, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$link of method TCPDF\:\:setLink\(\) expects int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of method PhpMyAdmin\\Plugins\\Schema\\Pdf\\PdfRelationSchema\:\:setTableOrder\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$masterField of method PhpMyAdmin\\Plugins\\Schema\\Pdf\\PdfRelationSchema\:\:addRelation\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$foreignField of method PhpMyAdmin\\Plugins\\Schema\\Pdf\\PdfRelationSchema\:\:addRelation\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Plugins\\Schema\\Pdf\\PdfRelationSchema\:\:\$scale \(float\|int\) is never assigned int so it can be removed from the property type\.$#'
|
|
identifier: property.unusedType
|
|
count: 1
|
|
path: src/Plugins/Schema/Pdf/PdfRelationSchema.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and \(float\|int\) results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/RelationStatsPdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and float results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 8
|
|
path: src/Plugins/Schema/Pdf/RelationStatsPdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and int results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 4
|
|
path: src/Plugins/Schema/Pdf/RelationStatsPdf.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and float results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/RelationStatsPdf.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method object\:\:lineScale\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 7
|
|
path: src/Plugins/Schema/Pdf/RelationStatsPdf.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method object\:\:setDrawColor\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 3
|
|
path: src/Plugins/Schema/Pdf/RelationStatsPdf.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method object\:\:setLineWidthScale\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/RelationStatsPdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''\-'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Plugins/Schema/Pdf/TableStatsPdf.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 9
|
|
path: src/Plugins/Schema/Pdf/TableStatsPdf.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/TableStatsPdf.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$link of method TCPDF\:\:setLink\(\) expects int, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Schema/Pdf/TableStatsPdf.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 3
|
|
path: src/Plugins/Schema/RelationStats.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 1
|
|
path: src/Plugins/Schema/RelationStats.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Schema/SchemaDia.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Schema/SchemaEps.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Schema/SchemaPdf.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Schema/SchemaSvg.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and \(float\|int\) results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Svg/RelationStatsSvg.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and float results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 8
|
|
path: src/Plugins/Schema/Svg/RelationStatsSvg.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and int results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 4
|
|
path: src/Plugins/Schema/Svg/RelationStatsSvg.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and float results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Plugins/Schema/Svg/RelationStatsSvg.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method object\:\:printElementLine\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 7
|
|
path: src/Plugins/Schema/Svg/RelationStatsSvg.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$masterField of method PhpMyAdmin\\Plugins\\Schema\\Svg\\SvgRelationSchema\:\:addRelation\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Svg/SvgRelationSchema.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$foreignField of method PhpMyAdmin\\Plugins\\Schema\\Svg\\SvgRelationSchema\:\:addRelation\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Schema/Svg/SvgRelationSchema.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: src/Plugins/Schema/TableStats.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Plugins/Schema/TableStats.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to float\.$#'
|
|
identifier: cast.double
|
|
count: 2
|
|
path: src/Plugins/Schema/TableStats.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function rawurldecode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Schema/TableStats.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/SchemaPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/Bool2TextTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Transformations\\Abs\\Bool2TextTransformationsPlugin\:\:applyTransformation\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/Bool2TextTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/DateFormatTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/DownloadTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 3
|
|
path: src/Plugins/Transformations/Abs/ExternalTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Unreachable statement \- code above always terminates\.$#'
|
|
identifier: deadCode.unreachable
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/ExternalTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/HexTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/HexTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$additionalParameters of static method PhpMyAdmin\\Url\:\:getFromRoute\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/ImageLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/ImageUploadTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$additionalParameters of static method PhpMyAdmin\\Url\:\:getFromRoute\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/ImageUploadTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/InlineTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/InlineTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/InlineTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$additionalParameters of static method PhpMyAdmin\\Url\:\:getFromRoute\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/InlineTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/PreApPendTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/PreApPendTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/RegexValidationTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$pattern of function preg_match expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/RegexValidationTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/SubstringTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/SubstringTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/SubstringTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/SubstringTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/TextImageLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/TextImageLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/TextImageLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/TextLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/TextLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Plugins/Transformations/Abs/TextLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/Transformations/Abs/TextLinkTransformationsPlugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Input/Text_Plain_JsonEditor.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Input/Text_Plain_SqlEditor.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Input/Text_Plain_XmlEditor.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\Transformations\\Output\\Text_Plain_Binarytoip\:\:applyTransformation\(\) should return string but returns string\|false\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Plugins/Transformations/Output/Text_Plain_Binarytoip.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Output/Text_Plain_Json.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Output/Text_Plain_Sql.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Plugins/Transformations/Output/Text_Plain_Xml.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$secret of method PragmaRX\\Google2FA\\Google2FA\:\:verifyKey\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Application.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$key of method PragmaRX\\Google2FA\\Google2FA\:\:verifyKey\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Application.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$secret of method PragmaRX\\Google2FAQRCode\\Google2FA\:\:getQRCodeInline\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Application.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''certificate'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''counter'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''keyHandle'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''publicKey'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$registrations of static method CodeLts\\U2F\\U2FServer\\U2FServer\:\:makeAuthentication\(\) expects array\<CodeLts\\U2F\\U2FServer\\stdClass\>, array\<stdClass\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$request of static method CodeLts\\U2F\\U2FServer\\U2FServer\:\:register\(\) expects CodeLts\\U2F\\U2FServer\\RegistrationRequest, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$requests of static method CodeLts\\U2F\\U2FServer\\U2FServer\:\:authenticate\(\) expects array\<CodeLts\\U2F\\U2FServer\\SignRequest\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$registrations of static method CodeLts\\U2F\\U2FServer\\U2FServer\:\:authenticate\(\) expects array\<CodeLts\\U2F\\U2FServer\\stdClass\>, array\<stdClass\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$registrations of static method CodeLts\\U2F\\U2FServer\\U2FServer\:\:makeRegistration\(\) expects array\<CodeLts\\U2F\\U2FServer\\stdClass\>, array\<stdClass\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Plugins/TwoFactor/Key.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Plugins/TwoFactorPlugin.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Plugins\\UploadInterface\:\:getUploadStatus\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Plugins/UploadInterface.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Profiling.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Properties/Options/Items/RadioPropertyItem.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Properties/Options/Items/SelectPropertyItem.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 1
|
|
path: src/Query/Compatibility.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strtoupper expects string, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Query/Compatibility.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Query/Utilities.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Query/Utilities.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''queries'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Query/Utilities.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 4
|
|
path: src/Query/Utilities.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Replication/Replication.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Replication\\Replication\:\:replicaBinLogPrimary\(\) should return array\{File\?\: string, Position\?\: string\} but returns array\{\}\|array\{File\: string\|null, Position\: string\|null\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Replication/Replication.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Replication/Replication.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 8
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Replica_IO_Running'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Replica_SQL_Running'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Slave_IO_Running'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Slave_SQL_Running'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''m_correct'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''m_hostname'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''m_password'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''m_port'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''m_username'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''sr_action_info'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''sr_action_status'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 7
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$action of method PhpMyAdmin\\Replication\\Replication\:\:replicaControl\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommon\(\) expects array\<string, bool\|int\|string\>, array\<string, bool\|int\|string\|null\> given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of static method PhpMyAdmin\\Message\:\:error\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of static method PhpMyAdmin\\Message\:\:success\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Replication/ReplicationGui.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Replication/ReplicationInfo.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Replication/ReplicationInfo.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Replication/ReplicationInfo.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/ResponseRenderer.php
|
|
|
|
-
|
|
message: '#^Foreach overwrites \$value with its value variable\.$#'
|
|
identifier: foreach.valueOverwrite
|
|
count: 1
|
|
path: src/ResponseRenderer.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommonRaw\(\) expects array\<int\|string, bool\|int\|string\>, array\<string, mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/ResponseRenderer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Routing/Routing.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Routing/Routing.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, int\<0, max\>\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Routing/Routing.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Sanitize.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Sanitize.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Sanitize\:\:sanitizeFilename\(\) should return string but returns string\|null\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Sanitize.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of class PhpMyAdmin\\Server\\Plugin constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#10 \$license of class PhpMyAdmin\\Server\\Plugin constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#11 \$loadOption of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#12 \$maturity of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#13 \$authVersion of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$version of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$status of class PhpMyAdmin\\Server\\Plugin constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$type of class PhpMyAdmin\\Server\\Plugin constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$typeVersion of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$library of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$libraryVersion of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$author of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '#^Parameter \#9 \$description of class PhpMyAdmin\\Server\\Plugin constructor expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugin.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Server/Plugins.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$description of method PhpMyAdmin\\Server\\Plugins\:\:getTranslatedDescription\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Plugins.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' IDENTIFIED VIA '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' IDENTIFIED WITH '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''PASSWORD\(\\'''' and \(array\<string\>\|string\|null\) results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''UPDATE `mysql`\.…'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''&\#27;'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 3
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
|
|
identifier: arrayFilter.strict
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Column_priv'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Db'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Grant_priv'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Proc_priv'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Routine_name'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Table_name'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Table_priv'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''can_delete'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot cast array\<string\>\|string\|null to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 6
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 4
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 12
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Foreach overwrites \$sqlQuery with its value variable\.$#'
|
|
identifier: foreach.valueOverwrite
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 4
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Server\\Privileges\:\:getDbname\(\) should return array\<string\>\|string\|null but returns array\<mixed\>\|string\|null\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 11
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 5
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 4
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \-, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: minus.leftNonNumeric
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \-, int\<0, max\>\|false given on the right side\.$#'
|
|
identifier: minus.rightNonNumeric
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var with type array\<string, string\|null\>\|null is not subtype of native type array\.$#'
|
|
identifier: varTag.nativeType
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$authPlugin of method PhpMyAdmin\\Server\\Privileges\:\:setProperPasswordHashing\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(string\|Stringable\|null\)\: string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function mb_strpos expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Server\\Privileges\:\:escapeGrantWildcards\(\) expects string, list\<string\>\|string\|true\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$password of method PhpMyAdmin\\Server\\Privileges\:\:getHashedPassword\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$privs of method PhpMyAdmin\\Server\\Privileges\:\:parseProcPriv\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$row of method PhpMyAdmin\\Server\\Privileges\:\:extractPrivInfo\(\) expects array\<mixed\>\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_substr expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$user of method PhpMyAdmin\\Server\\Privileges\:\:getUserPrivileges\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$username of method PhpMyAdmin\\Server\\Privileges\:\:setUserGroup\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$host of method PhpMyAdmin\\Server\\Privileges\:\:getUserPrivileges\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 5
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$userGroup of method PhpMyAdmin\\Server\\Privileges\:\:setUserGroup\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$dbname of method PhpMyAdmin\\Server\\Privileges\:\:getUserLink\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$tablename of method PhpMyAdmin\\Server\\Privileges\:\:getUserLink\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$routinename of method PhpMyAdmin\\Server\\Privileges\:\:getUserLink\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type array\<string\>\|string\|null\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 3
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type list\<string\>\|string\|null\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type list\<string\>\|string\|true\|null\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 1
|
|
path: src/Server/Privileges.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Server/Select.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 5
|
|
path: src/Server/Select.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between 100 and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between mixed and 100 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between string and 1024 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between string and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between mixed and string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''doc'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Server\\Status\\Data\:\:calculateValues\(\) should return array\<string, float\|int\|string\> but returns array\<string, mixed\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$connection of method PhpMyAdmin\\Replication\\ReplicationInfo\:\:load\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Data.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 4
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between \(float\|int\<min, 1\>\) and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and string\|null results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 2
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between string\|null and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''busy'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''idle'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''loadavg'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''name'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''value'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<\-1, max\> on float\|int\<2, max\>\|string\|null\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot call method loadavg\(\) on mixed\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Cannot call method memory\(\) on mixed\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Server\\Status\\Monitor\:\:getJsonForLogDataTypeGeneral\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Server\\Status\\Monitor\:\:getJsonForLogDataTypeSlow\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Offset 1 might not exist on array\{\}\|array\{non\-falsy\-string, non\-empty\-string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 4
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function mb_strpos expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$query of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:tryQuery\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$ret of method PhpMyAdmin\\Server\\Status\\Monitor\:\:getJsonForChartingDataGet\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$ret of method PhpMyAdmin\\Server\\Status\\Monitor\:\:getJsonForChartingDataSet\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strlen expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_substr expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function strlen expects string, float\|int\<2, max\>\|string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$type of method PhpMyAdmin\\Server\\Status\\Monitor\:\:getJsonForChartingDataSwitch\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$pName of method PhpMyAdmin\\Server\\Status\\Monitor\:\:getJsonForChartingDataSwitch\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$ret of method PhpMyAdmin\\Server\\Status\\Monitor\:\:getJsonForChartingDataSwitch\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Server/Status/Monitor.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 4
|
|
path: src/Server/Status/Processes.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Server\\Status\\Processes\:\:getList\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: src/Server/Status/Processes.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Server/SysInfo/SunOs.php
|
|
|
|
-
|
|
message: '#^Class COM referenced with incorrect case\: com\.$#'
|
|
identifier: class.nameCase
|
|
count: 1
|
|
path: src/Server/SysInfo/WindowsNt.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string\|false given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Session.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string\|false given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Session.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$id of function session_id expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Session.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Setup\\ConfigGenerator\:\:getBlowfishSecretKey\(\) should return non\-empty\-string but returns string\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$canonicalPath of method PhpMyAdmin\\Config\\ConfigFile\:\:getDefault\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$id of method PhpMyAdmin\\Config\\ConfigFile\:\:getServerName\(\) expects int, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$varName of static method PhpMyAdmin\\Setup\\ConfigGenerator\:\:getVarExport\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$servers of static method PhpMyAdmin\\Setup\\ConfigGenerator\:\:getServerPart\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Setup/ConfigGenerator.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 5
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''active'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''fresh'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''message'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''title'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, mixed given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, mixed given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Setup/Index.php
|
|
|
|
-
|
|
message: '#^Access to an undefined property PhpMyAdmin\\SqlParser\\Statement\:\:\$where\.$#'
|
|
identifier: property.notFound
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between int and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between int\<min, \-1\>\|int\<1, max\> and int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and int\|numeric\-string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''LIMIT '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''ORDER BY '' and \(array\<string\>\|string\) results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between int and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pos'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''possible_as_geometry'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$expr on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Cannot call method has\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 3
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 4
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Sql\:\:countQueryResults\(\) should return int\|numeric\-string but returns float\|int\|numeric\-string\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Sql\:\:getFullValuesForSetColumn\(\) should return string but returns string\|null\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Sql\:\:getStartPosToDisplayRow\(\) should return int but returns \(float\|int\)\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, array\<PhpMyAdmin\\SqlParser\\Components\\CaseExpression\|PhpMyAdmin\\SqlParser\\Components\\Expression\> given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 3
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string\|null given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, bool\|string given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$label of method PhpMyAdmin\\Sql\:\:getBookmarkCreatedMessage\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$rows of static method PhpMyAdmin\\Message\:\:getMessageForAffectedRows\(\) expects int, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$rows of static method PhpMyAdmin\\Message\:\:getMessageForDeletedRows\(\) expects int, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$rows of static method PhpMyAdmin\\Message\:\:getMessageForInsertedRows\(\) expects int, int\|string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function bin2hex expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:getClause\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$list of static method PhpMyAdmin\\SqlParser\\Utils\\Query\:\:replaceClause\(\) expects PhpMyAdmin\\SqlParser\\TokensList, PhpMyAdmin\\SqlParser\\TokensList\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Sql.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/SqlQueryForm.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/SqlQueryForm.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$query of method PhpMyAdmin\\SqlQueryForm\:\:init\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/SqlQueryForm.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 2
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''desc'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''disk_usage'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''id'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''title'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''value'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\StorageEngine\:\:getMroongaLengths\(\) should return array\<int\> but returns array\<int, \(float\|int\)\>\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\StorageEngine\:\:getPage\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function mb_stripos expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$message of static method PhpMyAdmin\\Html\\Generator\:\:showHint\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of method PhpMyAdmin\\StorageEngine\:\:resolveTypeSize\(\) expects int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|numeric\-string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Variable method call on \$this\(PhpMyAdmin\\StorageEngine\)\.$#'
|
|
identifier: method.dynamicName
|
|
count: 1
|
|
path: src/StorageEngine.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/SystemDatabase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: src/SystemDatabase.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\=\=" is not allowed\.$#'
|
|
identifier: equal.notAllowed
|
|
count: 2
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Offset ''DefaultValue'' might not exist on array\{Field\: mixed, Type\: mixed, Collation\: mixed, Null\: mixed, DefaultType\: mixed, DefaultValue\: mixed, Extra\: mixed, Virtuality\: mixed, \.\.\.\}\|array\{Field\: string, Type\: string, Collation\: string\|null, Null\: ''NO''\|''YES'', Key\: string, Default\: string\|null, Extra\: string, Privileges\: string, \.\.\.\}\|array\{Type\: ''''\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$bitDefaultValue of static method PhpMyAdmin\\Util\:\:convertBitDefaultValue\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$columnSpecification of static method PhpMyAdmin\\Util\:\:extractColumnSpec\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$db of method PhpMyAdmin\\ConfigStorage\\Relation\:\:checkChildForeignReferences\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function rtrim expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of method PhpMyAdmin\\ConfigStorage\\Relation\:\:checkChildForeignReferences\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$column of method PhpMyAdmin\\ConfigStorage\\Relation\:\:checkChildForeignReferences\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 3
|
|
path: src/Table/ColumnsDefinition.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Table/Indexes.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string\|null given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Table/Indexes.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, int\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Table/Indexes.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 2
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' WHERE '' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''%%'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''\^'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 5
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Cannot access offset mixed on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 3
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$gisString of static method PhpMyAdmin\\Utils\\Gis\:\:createData\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$op of method PhpMyAdmin\\Types\:\:isUnaryOperator\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function trim expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$names of method PhpMyAdmin\\Table\\Search\:\:getWhereClause\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$types of method PhpMyAdmin\\Table\\Search\:\:getWhereClause\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$funcType of method PhpMyAdmin\\Table\\Search\:\:getWhereClause\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$geomFunc of method PhpMyAdmin\\Table\\Search\:\:getWhereClause\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Search.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''table_uiprefs'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 3
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Table\\Table\:\:getAutoIncrement\(\) should return string but returns int\|string\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Table\\Table\:\:getCollation\(\) should return string but returns int\|string\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Table\\Table\:\:getComment\(\) should return string but returns int\|string\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Table\\Table\:\:getUiPrefsFromDb\(\) should return array\<mixed\> but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(array\|bool\|float\|GMP\|int\|resource\|SimpleXMLElement\|string\|null, int\=\)\: int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$foreignTable of method PhpMyAdmin\\Table\\Table\:\:getSQLToCreateForeignKey\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$name of method PhpMyAdmin\\Table\\Table\:\:getSQLToCreateForeignKey\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 2
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Table\\Table\:\:\$uiprefs \(array\<mixed\>\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Table/Table.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type array\<PhpMyAdmin\\SqlParser\\Components\\AlterOperation\>\|null supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 2
|
|
path: src/Table/TableMover.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Table/TableMover.php
|
|
|
|
-
|
|
message: '#^Cannot call method has\(\) on PhpMyAdmin\\SqlParser\\Components\\OptionsArray\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 2
|
|
path: src/Table/TableMover.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Table/TableMover.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Table/TableMover.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, bool\|string given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Table/TableMover.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 6
|
|
path: src/Table/TableMover.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Theme/Theme.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$name of method PhpMyAdmin\\Theme\\Theme\:\:setName\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Theme/Theme.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$version of method PhpMyAdmin\\Theme\\Theme\:\:setVersion\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Theme/Theme.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Theme\\Theme\:\:\$filesizeInfo \(int\) does not accept int\<0, max\>\|false\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Theme/Theme.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Theme\\Theme\:\:\$mtimeInfo \(int\) does not accept int\<0, max\>\|false\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Theme/Theme.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Theme/ThemeManager.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 2
|
|
path: src/Theme/ThemeManager.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between '' WHERE FIND_IN_SET\(\\'''' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$dest on PhpMyAdmin\\SqlParser\\Components\\IntoKeyword\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$table on PhpMyAdmin\\SqlParser\\Components\\Expression\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 6
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$table on PhpMyAdmin\\SqlParser\\Components\\Expression\|string\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$tokens on PhpMyAdmin\\SqlParser\\TokensList\|null\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Tracking\\Tracker\:\:isTracked\(\) should return bool but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Offset 0 might not exist on array\<PhpMyAdmin\\SqlParser\\Components\\Expression\>\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 4
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Offset 0 might not exist on array\<PhpMyAdmin\\SqlParser\\Components\\RenameOperation\>\|null\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 2
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of static method PhpMyAdmin\\Tracking\\Tracker\:\:createVersion\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of static method PhpMyAdmin\\Tracking\\Tracker\:\:isTracked\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tablename of static method PhpMyAdmin\\Tracking\\Tracker\:\:getVersion\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$statement of static method PhpMyAdmin\\Tracking\\Tracker\:\:getVersion\(\) expects string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Current\:\:\$database \(string\) does not accept bool\|float\|int\|string\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Static property PhpMyAdmin\\Current\:\:\$database \(string\) does not accept string\|null\.$#'
|
|
identifier: assign.propertyType
|
|
count: 3
|
|
path: src/Tracking/Tracker.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between "/\*NOTRACK\*/\\n" and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''COLUMNS'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''INDEXES'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''id'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''statement'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''timestamp'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''username'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, mixed given on the right side\.$#'
|
|
identifier: booleanAnd.rightNotBoolean
|
|
count: 13
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \-, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: minus.leftNonNumeric
|
|
count: 2
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$columns of method PhpMyAdmin\\Tracking\\Tracking\:\:getHtmlForColumns\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$indexes of method PhpMyAdmin\\Tracking\\Tracking\:\:getHtmlForIndexes\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommon\(\) expects array\<string, bool\|int\|string\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:quoteString\(\) expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of method PhpMyAdmin\\Dbal\\DatabaseInterface\:\:getTable\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$tableName of static method PhpMyAdmin\\Tracking\\Tracker\:\:createVersion\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Tracking/Tracking.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Transformations\:\:getClassName\(\) should return class\-string\<PhpMyAdmin\\Plugins\\TransformationsInterface\> but returns string\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Transformations.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, resource\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Transformations.php
|
|
|
|
-
|
|
message: '#^Binary operation "\.\=" between non\-falsy\-string and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Cannot call method getCreateSql\(\) on PhpMyAdmin\\Triggers\\Trigger\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Cannot call method getDropSql\(\) on PhpMyAdmin\\Triggers\\Trigger\|null\.$#'
|
|
identifier: method.nonObject
|
|
count: 1
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 7
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 4
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$identifier of static method PhpMyAdmin\\Util\:\:backquote\(\) expects string\|Stringable\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$name of method PhpMyAdmin\\Triggers\\Triggers\:\:getTriggerByName\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Triggers/Triggers.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/TwoFactor.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/TwoFactor.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/UniqueCondition.php
|
|
|
|
-
|
|
message: '#^Loose comparison via "\!\=" is not allowed\.$#'
|
|
identifier: notEqual.notAllowed
|
|
count: 2
|
|
path: src/UniqueCondition.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: src/Url.php
|
|
|
|
-
|
|
message: '#^Call to function base64_decode\(\) requires parameter \#2 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Url.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: src/Url.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Url.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Url.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$params of static method PhpMyAdmin\\Url\:\:getCommon\(\) expects array\<string, bool\|int\|string\>, array\<mixed\> given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Url.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$pre of static method PhpMyAdmin\\Url\:\:getHiddenFields\(\) expects string, \(int\|string\) given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Url.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/UserPassword.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/UserPassword.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$password of method PhpMyAdmin\\Server\\Privileges\:\:getHashedPassword\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPassword.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$authPlugin of method PhpMyAdmin\\UserPassword\:\:getChangePasswordQueryAlterUserMySQL\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPassword.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$origAuthPlugin of method PhpMyAdmin\\UserPassword\:\:changePassUrlParamsAndSubmitQuery\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPassword.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, PhpMyAdmin\\Dbal\\ResultInterface\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in \|\|, PhpMyAdmin\\Dbal\\ResultInterface\|false given on the left side\.$#'
|
|
identifier: booleanOr.leftNotBoolean
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$database of class PhpMyAdmin\\UserPrivileges constructor expects bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$table of class PhpMyAdmin\\UserPrivileges constructor expects bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$column of class PhpMyAdmin\\UserPrivileges constructor expects bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#4 \$routines of class PhpMyAdmin\\UserPrivileges constructor expects bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#5 \$isReload of class PhpMyAdmin\\UserPrivileges constructor expects bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#6 \$isCreateDatabase of class PhpMyAdmin\\UserPrivileges constructor expects bool, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#7 \$databaseToCreate of class PhpMyAdmin\\UserPrivileges constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Parameter \#8 \$databasesToTest of class PhpMyAdmin\\UserPrivileges constructor expects array\<string\>\|false, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\UserPrivileges\:\:\$databaseToCreate \(string\) does not accept string\|null\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: src/UserPrivilegesFactory.php
|
|
|
|
-
|
|
message: '#^Call to deprecated function strftime\(\)\.$#'
|
|
identifier: function.deprecated
|
|
count: 2
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 2
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Foreach overwrites \$quote with its value variable\.$#'
|
|
identifier: foreach.valueOverwrite
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Offset 1 might not exist on array\{\}\|array\{non\-falsy\-string, string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, int\<0, 2\> given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, int\<0, max\>\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 3
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \+, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: plus.leftNonNumeric
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Only numeric types are allowed in \-, int\<0, max\>\|false given on the left side\.$#'
|
|
identifier: minus.leftNonNumeric
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\|null\)\: mixed\)\|null, callable\(string\)\: string given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$str of function strtr expects string, string\|null given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function array_key_exists expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, list given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '#^Variable static method call on PhpMyAdmin\\Util\.$#'
|
|
identifier: staticMethod.dynamicName
|
|
count: 1
|
|
path: src/Util.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Utils/ForeignKey.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: src/Utils/ForeignKey.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 1
|
|
path: src/Utils/ForeignKey.php
|
|
|
|
-
|
|
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
|
|
identifier: ternary.shortNotAllowed
|
|
count: 1
|
|
path: src/Utils/ForeignKey.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Utils\\FormatConverter\:\:binaryToIp\(\) should return string\|false but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 2
|
|
path: src/Utils/FormatConverter.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Utils\\FormatConverter\:\:ipToBinary\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Utils/FormatConverter.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Utils/FormatConverter.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$ip of function inet_pton expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Utils/FormatConverter.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function bin2hex expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Utils/FormatConverter.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Utils/FormatConverter.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Utils/Gis.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Utils\\HttpRequest\:\:response\(\) should return bool\|string\|null but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Offset 1 might not exist on array\{\}\|array\{non\-falsy\-string, numeric\-string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$value of function curl_setopt expects array\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$value of function curl_setopt expects non\-empty\-string, string given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/Utils/HttpRequest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/Utils/SessionCache.php
|
|
|
|
-
|
|
message: '#^Cannot access offset string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 8
|
|
path: src/Utils/SessionCache.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between mixed and 21600 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''response'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''timestamp'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''version_check'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
|
|
identifier: ternary.shortNotAllowed
|
|
count: 1
|
|
path: src/VersionInformation.php
|
|
|
|
-
|
|
message: '#^Match arm comparison between 7 and 7 is always true\.$#'
|
|
identifier: match.alwaysTrue
|
|
count: 1
|
|
path: src/WebAuthn/CBORDecoder.php
|
|
|
|
-
|
|
message: '#^Possibly invalid array key type mixed\.$#'
|
|
identifier: offsetAccess.invalidOffset
|
|
count: 1
|
|
path: src/WebAuthn/CBORDecoder.php
|
|
|
|
-
|
|
message: '#^Anonymous class implements deprecated interface Webauthn\\PublicKeyCredentialSourceRepository\.$#'
|
|
identifier: class.implementsDeprecatedInterface
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method createFromArray\(\) of class Webauthn\\AuthenticatorSelectionCriteria\:
|
|
since 4\.8\.0\. Please use \{Webauthn\\Denormalizer\\WebauthnSerializerFactory\} for converting the object\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method createFromArray\(\) of class Webauthn\\PublicKeyCredentialCreationOptions\:
|
|
since 4\.8\.0\. Please use \{Webauthn\\Denormalizer\\WebauthnSerializerFactory\} for converting the object\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method createFromArray\(\) of class Webauthn\\PublicKeyCredentialRequestOptions\:
|
|
since 4\.8\.0\. Please use \{Webauthn\\Denormalizer\\WebauthnSerializerFactory\} for converting the object\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method createFromArray\(\) of class Webauthn\\PublicKeyCredentialSource\:
|
|
since 4\.8\.0\. Please use \{Webauthn\\Denormalizer\\WebauthnSerializerFactory\} for converting the object\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to method create\(\) of deprecated class Webauthn\\PublicKeyCredentialLoader\:
|
|
since 4\.8\.0 and will be removed in 5\.0\.0\. Please use the Symfony serializer instead$#
|
|
'''
|
|
identifier: staticMethod.deprecatedClass
|
|
count: 2
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Call to method findAllForUserEntity\(\) of deprecated interface Webauthn\\PublicKeyCredentialSourceRepository\.$#'
|
|
identifier: method.deprecatedInterface
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to method load\(\) of deprecated class Webauthn\\PublicKeyCredentialLoader\:
|
|
since 4\.8\.0 and will be removed in 5\.0\.0\. Please use the Symfony serializer instead$#
|
|
'''
|
|
identifier: method.deprecatedClass
|
|
count: 2
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Call to static method Webmozart\\Assert\\Assert\:\:isInstanceOf\(\) with Webauthn\\PublicKeyCredentialCreationOptions and ''Webauthn\\\\PublicKeyCredentialCreationOptions'' will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Call to static method Webmozart\\Assert\\Assert\:\:isInstanceOf\(\) with Webauthn\\PublicKeyCredentialRequestOptions and ''Webauthn\\\\PublicKeyCredentialRequestOptions'' will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''authenticatorData'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''clientDataJSON'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''response'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Instantiation of deprecated class Webauthn\\TokenBinding\\IgnoreTokenBindingHandler\:
|
|
Since 4\.3\.0 and will be removed in 5\.0\.0$#
|
|
'''
|
|
identifier: new.deprecatedClass
|
|
count: 2
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function str_ends_with expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function rtrim expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function sodium_base642bin expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Return type of method PhpMyAdmin\\WebAuthn\\WebauthnLibServer\:\:createPublicKeyCredentialSourceRepository\(\) has typehint with deprecated interface Webauthn\\PublicKeyCredentialSourceRepository\.$#'
|
|
identifier: return.deprecatedInterface
|
|
count: 1
|
|
path: src/WebAuthn/WebauthnLibServer.php
|
|
|
|
-
|
|
message: '#^Call to function is_array\(\) with array\<string\> will always evaluate to true\.$#'
|
|
identifier: function.alreadyNarrowedType
|
|
count: 1
|
|
path: src/ZipExtension.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\ZipExtension\:\:getContents\(\) should return array\{error\: string, data\: string\} but returns array\{error\: '''', data\: string\|false\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/ZipExtension.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\ZipExtension\:\:getContents\(\) should return array\{error\: string, data\: string\} but returns array\{error\: string, data\: string\|false\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/ZipExtension.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Console'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Mode'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Servers'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''UploadDir'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''auth_type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''host'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''verbose'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Implicit array creation is not allowed \- variable \$cfg might not exist\.$#'
|
|
identifier: variable.implicitArray
|
|
count: 1
|
|
path: tests/config.e2e.inc.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''Test failed, get…'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''ajax_message_num_'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Call to function is_string\(\) with non\-falsy\-string will always evaluate to true\.$#'
|
|
identifier: function.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Cannot access property \$public_url on mixed\.$#'
|
|
identifier: property.nonObject
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Tests\\Selenium\\TestBase has an uninitialized property \$sessionId\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
|
identifier: empty.notAllowed
|
|
count: 5
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Dead catch \- Facebook\\WebDriver\\Exception\\InvalidSelectorException is never thrown in the try block\.$#'
|
|
identifier: catch.neverThrown
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Dead catch \- InvalidArgumentException is never thrown in the try block\.$#'
|
|
identifier: catch.neverThrown
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '''
|
|
#^Fetching deprecated class constant CAPABILITY_W3C of class Facebook\\WebDriver\\Chrome\\ChromeOptions\:
|
|
Use CAPABILITY instead$#
|
|
'''
|
|
identifier: classConstant.deprecated
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in &&, string given on the left side\.$#'
|
|
identifier: booleanAnd.leftNotBoolean
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string\|null given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an elseif condition, string\|false given\.$#'
|
|
identifier: elseif.condNotBoolean
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|null given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$by of method Facebook\\WebDriver\\Remote\\RemoteWebDriver\:\:findElement\(\) expects Facebook\\WebDriver\\WebDriverBy, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$by of static method Facebook\\WebDriver\\WebDriverExpectedCondition\:\:presenceOfElementLocated\(\) expects Facebook\\WebDriver\\WebDriverBy, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$by of static method Facebook\\WebDriver\\WebDriverExpectedCondition\:\:visibilityOfElementLocated\(\) expects Facebook\\WebDriver\\WebDriverBy, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$handle of function curl_errno expects CurlHandle, \(CurlHandle\|false\) given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$handle of function curl_error expects CurlHandle, \(CurlHandle\|false\) given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$handle of function curl_exec expects CurlHandle, \(CurlHandle\|false\) given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$handle of function curl_setopt expects CurlHandle, \(CurlHandle\|false\) given\.$#'
|
|
identifier: argument.type
|
|
count: 9
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$handle of method Facebook\\WebDriver\\Remote\\RemoteTargetLocator\:\:window\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$value of function curl_setopt expects array\|string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$value of function curl_setopt expects non\-empty\-string, string given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Tests\\Selenium\\TestBase\:\:\$sqlWindowHandle \(string\|null\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \=\=\= between Facebook\\WebDriver\\Remote\\RemoteWebDriver and null will always evaluate to false\.$#'
|
|
identifier: identical.alwaysFalse
|
|
count: 1
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Variable static method call on Facebook\\WebDriver\\WebDriverBy\.$#'
|
|
identifier: staticMethod.dynamicName
|
|
count: 4
|
|
path: tests/end-to-end/TestBase.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Servers'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''auth_type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''host'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''port'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''socket'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''verbose'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 1 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '#^Implicit array creation is not allowed \- variable \$cfg might not exist\.$#'
|
|
identifier: variable.implicitArray
|
|
count: 1
|
|
path: tests/test_data/config.inc.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Advisory/AdvisorTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''formula'' and array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''id'' and array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''issue'' and array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''justification'' and array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''name'' and array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''recommendation'' and array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''test'' and array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertContainsOnlyString\(\) with array\{id\: non\-empty\-string, name\: string, precondition\?\: non\-empty\-string, formula\: non\-empty\-string, test\: non\-empty\-string, issue\: string, recommendation\: string, justification\: string, \.\.\.\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Advisory/RulesTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/Bookmarks/BookmarkTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/Bookmarks/BookmarkTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: tests/unit/BrowseForeignersTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of static method PHPUnit\\Framework\\Assert\:\:assertStringEndsWith\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/BrowseForeignersTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of static method PHPUnit\\Framework\\Assert\:\:assertStringStartsWith\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/BrowseForeignersTest.php
|
|
|
|
-
|
|
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
|
|
identifier: phpunit.callParent
|
|
count: 1
|
|
path: tests/unit/CacheTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertContainsOnlyArray\(\) with non\-empty\-array\<string, array\<string, PhpMyAdmin\\Charsets\\Collation\>\> will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 3
|
|
path: tests/unit/CharsetsTest.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Tests\\Command\\SetVersionCommandTest has an uninitialized property \$command\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: tests/unit/Command/SetVersionCommandTest.php
|
|
|
|
-
|
|
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
|
|
identifier: phpunit.callParent
|
|
count: 1
|
|
path: tests/unit/Command/SetVersionCommandTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Command/TwigLintCommandTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function sort expects TArray of array\<T\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Command/TwigLintCommandTest.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''\.abc'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/unit/Config/ConfigFileTest.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between mixed and ''suffix'' results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/unit/Config/ConfigFileTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''port'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/ConfigFileTest.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type array\<array\<string\>\|bool\|int\<0, max\>\|string\>\|bool\|int\<1, max\>\|string\|null supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: tests/unit/Config/DescriptionTest.php
|
|
|
|
-
|
|
message: '#^Call to function in_array\(\) requires parameter \#3 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: tests/unit/Config/DescriptionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<int\<1, max\>, non\-empty\-array\<''AllowDeny''\|''AllowNoPassword''\|''AllowRoot''\|''auth_http_realm''\|''auth_type''\|''bookmarktable''\|''central_columns''\|''column_info''\|''compress''\|''control_compress''\|''control_hide…''\|''control_socket''\|''control_ssl''\|''control_ssl_ca''\|''control_ssl_ca_path''\|''control_ssl_cert''\|''control_ssl_ciphers''\|''control_ssl_key''\|''control_ssl_verify''\|''controlhost''\|''controlpass''\|''controlport''\|''controluser''\|''designer_settings''\|''DisableIS''\|''export_templates''\|''favorite''\|''hide_db''\|''history''\|''host''\|''LogoutURL''\|''MaxTableUiprefs''\|''navigationhiding''\|''only_db''\|''password''\|''pdf_pages''\|''pmadb''\|''port''\|''recent''\|''relation''\|''savedsearches''\|''SessionTimeZone''\|''SignonCookieParams''\|''SignonScript''\|''SignonSession''\|''SignonURL''\|''socket''\|''ssl''\|''ssl_ca''\|''ssl_ca_path''\|''ssl_cert''\|''ssl_ciphers''\|''ssl_key''\|''ssl_verify''\|''table_coords''\|''table_info''\|''table_uiprefs''\|''tracking''\|''user''\|''userconfig''\|''usergroups''\|''users''\|''verbose'', array\<array\<string\>\|bool\|int\<0, max\>\|string\>\|bool\|int\<1, max\>\|string\|null\>\> will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/DescriptionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with non\-empty\-array\<''AllowDeny''\|''AllowNoPassword''\|''AllowRoot''\|''auth_http_realm''\|''auth_type''\|''bookmarktable''\|''central_columns''\|''column_info''\|''compress''\|''control_compress''\|''control_hide…''\|''control_socket''\|''control_ssl''\|''control_ssl_ca''\|''control_ssl_ca_path''\|''control_ssl_cert''\|''control_ssl_ciphers''\|''control_ssl_key''\|''control_ssl_verify''\|''controlhost''\|''controlpass''\|''controlport''\|''controluser''\|''designer_settings''\|''DisableIS''\|''export_templates''\|''favorite''\|''hide_db''\|''history''\|''host''\|''LogoutURL''\|''MaxTableUiprefs''\|''navigationhiding''\|''only_db''\|''password''\|''pdf_pages''\|''pmadb''\|''port''\|''recent''\|''relation''\|''savedsearches''\|''SessionTimeZone''\|''SignonCookieParams''\|''SignonScript''\|''SignonSession''\|''SignonURL''\|''socket''\|''ssl''\|''ssl_ca''\|''ssl_ca_path''\|''ssl_cert''\|''ssl_ciphers''\|''ssl_key''\|''ssl_verify''\|''table_coords''\|''table_info''\|''table_uiprefs''\|''tracking''\|''user''\|''userconfig''\|''usergroups''\|''users''\|''verbose'', array\<array\<string\>\|bool\|int\<0, max\>\|string\>\|bool\|int\<1, max\>\|string\|null\> will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/DescriptionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertNotNull\(\) with array\<string\>\|bool\|int\<0, max\>\|string will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/DescriptionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertNotNull\(\) with string will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 3
|
|
path: tests/unit/Config/DescriptionTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Config/FormDisplayTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with '''' will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/FormDisplayTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''''\|''; Compressed export…''\|''Compressed export…''\|''Compressed import…'' and null will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 1
|
|
path: tests/unit/Config/FormDisplayTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pma_testform'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/FormDisplayTest.php
|
|
|
|
-
|
|
message: '#^Offset 1 might not exist on array\{\}\|array\{non\-falsy\-string, numeric\-string\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: tests/unit/Config/FormTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Config/Forms/FormListTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Config\\\\Forms\\\\BaseFormList'' and PhpMyAdmin\\Config\\Forms\\BaseFormList will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/Forms/FormListTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertNotNull\(\) with string will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/Forms/FormListTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Config/PageSettingsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/Config/PageSettingsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''AllowArbitraryServer'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''BZipDump'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''GZipDump'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''LoginCookieStore'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''LoginCookieValidity'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''SaveDir'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Servers'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''TempDir'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''ZipDump'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''blowfish_secret'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''error'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''notice'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_keys expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Tests\\Config\\ServerConfigChecksTest\:\:\$sessionID \(string\) does not accept mixed\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Config/ServerConfigChecksTest.php
|
|
|
|
-
|
|
message: '#^Variable property access on PhpMyAdmin\\Config\\Settings\\Schema\.$#'
|
|
identifier: property.dynamicName
|
|
count: 1
|
|
path: tests/unit/Config/Settings/SchemaTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Config\\\\Settings\\\\Console'' and PhpMyAdmin\\Config\\Settings\\Console will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/SettingsTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Config\\\\Settings\\\\Export'' and PhpMyAdmin\\Config\\Settings\\Export will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/SettingsTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Config\\\\Settings\\\\Import'' and PhpMyAdmin\\Config\\Settings\\Import will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/SettingsTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Config\\\\Settings\\\\Schema'' and PhpMyAdmin\\Config\\Settings\\Schema will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/SettingsTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Config\\\\Settings\\\\SqlQueryBox'' and PhpMyAdmin\\Config\\Settings\\SqlQueryBox will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/SettingsTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Config\\\\Settings\\\\Transformations'' and PhpMyAdmin\\Config\\Settings\\Transformations will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Config/SettingsTest.php
|
|
|
|
-
|
|
message: '#^Variable property access on PhpMyAdmin\\Config\\Settings\.$#'
|
|
identifier: property.dynamicName
|
|
count: 1
|
|
path: tests/unit/Config/SettingsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''db'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''server_2'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''ts'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''userprefs'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Offset ''userconfig'' does not exist on array\<mixed, mixed\>\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 3
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertCount\(\) expects Countable\|iterable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$result of method PhpMyAdmin\\Tests\\Stubs\\DbiDummy\:\:addResult\(\) expects bool\|list\<non\-empty\-list\<float\|int\|string\|null\>\>, array\{array\{non\-empty\-string\|false, 1767029179\}\} given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{''Server/hide_db''\: ''testval123'', ''Server/port''\: ''213''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Config/UserPreferencesTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 15
|
|
path: tests/unit/ConfigStorage/RelationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with '''' and '''' will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/ConfigStorage/RelationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with ''db_pma'' and ''db_pma'' will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/ConfigStorage/RelationTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 5
|
|
path: tests/unit/ConfigStorage/RelationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<int\<1, max\>, array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\> will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/ConfigTest.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an elseif condition, string\|false given\.$#'
|
|
identifier: elseif.condNotBoolean
|
|
count: 3
|
|
path: tests/unit/ConfigTest.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in an if condition, string\|false given\.$#'
|
|
identifier: if.condNotBoolean
|
|
count: 1
|
|
path: tests/unit/ConfigTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/ConsoleTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/ConsoleTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/BrowseForeignersControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/CheckRelationsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Console/Bookmark/AddControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Console/Bookmark/RefreshControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Console/Bookmark/RefreshControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Database/EventsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/PrivilegesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/PrivilegesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Database/RoutinesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/Structure/RealRowCountControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 9
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''COUNTED'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Data_free'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''ENGINE'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''Rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''TABLE_ROWS'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot use array destructuring on mixed\.$#'
|
|
identifier: offsetAccess.nonArray
|
|
count: 8
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PHPUnit\\Framework\\Assert\:\:assertArrayNotHasKey\(\) expects array\<mixed\>\|ArrayAccess\<\(int\|string\), mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringNotContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Controllers/Database/StructureControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Export/ExportControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Export/Template/CreateControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Export/Template/DeleteControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Export/Template/LoadControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Export/Template/UpdateControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Import/ImportControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/NavigationControllerTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: tests/unit/Controllers/NavigationControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Normalization/AddNewPrimaryControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Normalization/CreateNewColumnControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Operations/TableControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/PhpInfoControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/BinlogControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/BinlogControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/CollationsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/CollationsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Databases/CreateControllerTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: tests/unit/Controllers/Server/Databases/CreateControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Databases/DestroyControllerTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/Databases/DestroyControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/DatabasesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/DatabasesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/EnginesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/EnginesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/PluginsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/PrivilegesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/ShowEngineControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/ShowEngineControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/Status/AdvisorControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/Status/AdvisorControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''numRows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''sum'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/GeneralLogControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/LogVarsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/LogVarsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''affectedRows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''explain'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''profiling'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/QueryAnalyzerControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''numRows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''sum'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/Monitor/SlowLogControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/MonitorControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/MonitorControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/Status/Processes/RefreshControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/Status/Processes/RefreshControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/ProcessesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/ProcessesControllerTest.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between float\|int and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/QueriesControllerTest.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between 3600 and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/QueriesControllerTest.php
|
|
|
|
-
|
|
message: '#^Binary operation "/" between float\|int and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/QueriesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/QueriesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/QueriesControllerTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|numeric\-string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/QueriesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/Status/StatusControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Server/Status/StatusControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/VariablesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/Status/VariablesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Server/VariablesControllerTest.php
|
|
|
|
-
|
|
message: '#^Cannot use array destructuring on mixed\.$#'
|
|
identifier: offsetAccess.nonArray
|
|
count: 7
|
|
path: tests/unit/Controllers/Server/VariablesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Sql/EnumValuesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Sql/SetValuesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/AddFieldControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Table/ChangeControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/CreateControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/DeleteRowsControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Table/DropColumnConfirmationControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/ExportControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/ImportControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/IndexRenameControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Table/IndexesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/PrivilegesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/PrivilegesControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: tests/unit/Controllers/Table/RelationControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Table/ReplaceControllerTest.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$result has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 2
|
|
path: tests/unit/Controllers/Table/ReplaceControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/Structure/ChangeControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Controllers/Table/Structure/SpatialControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Controllers/Table/Structure/UniqueControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/StructureControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Controllers/Table/TrackingControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Table/ZoomSearchControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/ThemeSetControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Controllers/Triggers/IndexControllerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{pos\: ''0'', db\: ''test_db'', table\: ''test_table''\} and array\{pos\: ''0'', eq\: string\} will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 2
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''arr1'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 5
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''not_existing'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 11
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 1 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 6
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 2 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PHPUnit\\Framework\\Assert\:\:assertArrayNotHasKey\(\) expects array\<mixed\>\|ArrayAccess\<\(int\|string\), mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 9
|
|
path: tests/unit/CoreTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/CreateAddFieldTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Crypto/CryptoTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''URLQueryEncryptionS…'' and array\{URLQueryEncryptionSecretKey\: ''aaaaaaaaaaaaaaaaaaa…''\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Crypto/CryptoTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''URLQueryEncryptionS…'' and array\{\} will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 1
|
|
path: tests/unit/Crypto/CryptoTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function mb_strlen expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Crypto/CryptoTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Database/CentralColumnsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Database/DesignerTest.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Tests\\Database\\DesignerTest has an uninitialized property \$designer\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: tests/unit/Database/DesignerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Database/EventsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Database/EventsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Database/RoutinesTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Database/RoutinesTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Database/SearchTest.php
|
|
|
|
-
|
|
message: '#^@readonly property PhpMyAdmin\\Config\\Settings\\Debug\:\:\$sql is assigned outside of its declaring class\.$#'
|
|
identifier: property.readOnlyByPhpDocAssignOutOfClass
|
|
count: 2
|
|
path: tests/unit/Dbal/DatabaseInterfaceTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: tests/unit/Dbal/DatabaseInterfaceTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Dbal/DatabaseInterfaceTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$result of method PhpMyAdmin\\Tests\\Stubs\\DbiDummy\:\:addResult\(\) expects bool\|list\<non\-empty\-list\<float\|int\|string\|null\>\>, array\<array\<string\>\>\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Dbal/DatabaseInterfaceTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Dbal/DatabaseInterfaceTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Dbal/DbiDummyTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''2b7b3faf4b48255e47876f6d5bd2da35'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''5ce1ef88afb4e13d3b8c0a55c2c9657a'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''display_binary'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''display_blob'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pftext'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pos'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''relational_display'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Tests\\Display\\ResultsTest\:\:dataProviderForTestHandleNonPrintableContents\(\) return type has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function htmlspecialchars_decode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Display/ResultsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/EncodingTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Error/ErrorHandlerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Error/ErrorReportTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Export/ExportTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Export/ExportTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Export/OptionsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/FileListingTest.php
|
|
|
|
-
|
|
message: '#^Offset ''FlashMessenger'' does not exist on array\<mixed, mixed\>\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 2
|
|
path: tests/unit/FlashMessengerTest.php
|
|
|
|
-
|
|
message: '#^@readonly property PhpMyAdmin\\Config\\Settings\\Debug\:\:\$sql is assigned outside of its declaring class\.$#'
|
|
identifier: property.readOnlyByPhpDocAssignOutOfClass
|
|
count: 2
|
|
path: tests/unit/FooterTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: tests/unit/FooterTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''queries'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/FooterTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Gis/Ds/PolygonTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$points of static method PhpMyAdmin\\Gis\\Ds\\Polygon\:\:fromXYArray\(\) expects non\-empty\-list\<array\{x\: float, y\: float\}\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Gis/Ds/PolygonTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Gis/GisMultiPolygonTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 0 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Gis/GisMultiPolygonTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''data_length'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Gis/GisPolygonTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''y'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Gis/GisPolygonTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset 3 on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Gis/GisPolygonTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''author'' and array\{hash\: ''97b9895908f281b62c9…'', branch\: ''QA_5_2'', message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''branch'' and array\{hash\: ''97b9895908f281b62c9…'', branch\: string\|false, message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''committer'' and array\{hash\: ''97b9895908f281b62c9…'', branch\: ''QA_5_2'', message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''hash'' and array\{hash\: string, branch\: string\|false, message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''is_remote_branch'' and array\{hash\: ''97b9895908f281b62c9…'', branch\: ''QA_5_2'', message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''is_remote_commit'' and array\{hash\: ''97b9895908f281b62c9…'', branch\: ''QA_5_2'', message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''message'' and array\{hash\: ''97b9895908f281b62c9…'', branch\: ''QA_5_2'', message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\{hash\: string, branch\: string\|false, message\: string, author\: array\{name\: string, email\: string, date\: string\}, committer\: array\{name\: string, email\: string, date\: string\}, is_remote_commit\: bool, is_remote_branch\: bool\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\{name\: string, email\: string, date\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsBool\(\) with bool will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with string will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 7
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Cannot unset offset ''git_location'' on array\<mixed, mixed\>\.$#'
|
|
identifier: unset.offset
|
|
count: 2
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '#^Cannot unset offset ''is_git_revision'' on array\<mixed, mixed\>\.$#'
|
|
identifier: unset.offset
|
|
count: 2
|
|
path: tests/unit/GitTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/HeaderTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/HeaderTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 12
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$urlPath of static method PhpMyAdmin\\Html\\Generator\:\:linkOrButton\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{ssl\: false, host\: ''127\.0\.0\.1''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{ssl\: false, host\: ''custom\.host''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{ssl\: false, ssl_verify\: true, host\: ''custom\.host''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{ssl\: true, ssl_verify\: false, host\: ''custom\.host''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{ssl\: true, ssl_verify\: true, host\: ''custom\.host''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{ssl\: true, ssl_verify\: true, ssl_ca\: ''/etc/ssl/ca\.crt'', host\: ''custom\.host''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Html/GeneratorTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''test'' and array\{test\: ''test''\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Http/Middleware/TokenRequestParamCheckingTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Import/AjaxTest.php
|
|
|
|
-
|
|
message: '#^Cannot access an offset on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: tests/unit/Indexes/IndexTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$columns of method PhpMyAdmin\\Indexes\\Index\:\:addColumns\(\) expects array\<mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Indexes/IndexTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 20
|
|
path: tests/unit/InsertEditTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/InsertEditTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''foreign_db'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/InsertEditTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''relational_display'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/InsertEditTest.php
|
|
|
|
-
|
|
message: '#^Cannot cast bool\|float\|int\|object to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: tests/unit/InsertEditTest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Tests\\InsertEditTest\:\:parseString\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: tests/unit/InsertEditTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/IpAllowDenyTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/Navigation/NavigationTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Navigation/NavigationTreeTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Navigation/Nodes/NodeDatabaseChildTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Navigation/Nodes/NodeDatabaseTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: tests/unit/Navigation/Nodes/NodeTableTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 8
|
|
path: tests/unit/Navigation/Nodes/NodeTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Navigation/Nodes/ObjectFetcherTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''extra'' and array\{legendText\: string, headText\: string, queryError\: bool, extra\: PhpMyAdmin\\Message\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''extra'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\|false\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''extra'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''extra'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''extra'' and array\{legendText\: string, headText\: string, subText\: string, hasPrimaryKey\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''hasPrimaryKey'' and array\{legendText\: string, headText\: string, subText\: string, hasPrimaryKey\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''headText'' and array\{legendText\: string, headText\: string, queryError\: bool, extra\: PhpMyAdmin\\Message\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''headText'' and array\{legendText\: string, headText\: string, queryError\: string\|false, extra\?\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''headText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\|false\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''headText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''headText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''headText'' and array\{legendText\: string, headText\: string, subText\: string, hasPrimaryKey\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''legendText'' and array\{legendText\: string, headText\: string, queryError\: bool, extra\: PhpMyAdmin\\Message\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''legendText'' and array\{legendText\: string, headText\: string, queryError\: string\|false, extra\?\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''legendText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\|false\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''legendText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''legendText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''legendText'' and array\{legendText\: string, headText\: string, subText\: string, hasPrimaryKey\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''message'' and array\{queryError\: bool, message\: PhpMyAdmin\\Message\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''primary_key'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\|false\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''primary_key'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''queryError'' and array\{legendText\: string, headText\: string, queryError\: bool, extra\: PhpMyAdmin\\Message\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''queryError'' and array\{legendText\: string, headText\: string, queryError\: string\|false, extra\?\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''queryError'' and array\{queryError\: bool, message\: PhpMyAdmin\\Message\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''subText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\|false\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''subText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string, primary_key\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''subText'' and array\{legendText\: string, headText\: string, subText\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''subText'' and array\{legendText\: string, headText\: string, subText\: string, hasPrimaryKey\: string, extra\: string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Message'' and PhpMyAdmin\\Message will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with '''' and PhpMyAdmin\\Message will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 1
|
|
path: tests/unit/NormalizationTest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Tests\\Partitioning\\TablePartitionDefinitionTest\:\:testGetDetails\(\) has parameter \$partitions with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: tests/unit/Partitioning/TablePartitionDefinitionTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: tests/unit/PdfTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Plugins/Auth/AuthenticationConfigTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{user\: ''username'', password\: ''password''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationConfigTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationConfigTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 20
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with 32 and 0 will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{host\: ''b'', port\: ''2'', socket\: true, ssl\: true, user\: ''pmaUser2'', password\: ''testPW''\} and array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\} will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''default'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Offset non\-falsy\-string does not exist on array\{\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{auth_type\: ''cookie''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: ''a'', port\: 1, socket\: true, ssl\: true, user\: ''pmaUser2''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 6
|
|
path: tests/unit/Plugins/Auth/AuthenticationCookieTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 7
|
|
path: tests/unit/Plugins/Auth/AuthenticationHttpTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: ''a'', user\: ''user2''\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: tests/unit/Plugins/Auth/AuthenticationHttpTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: tests/unit/Plugins/Auth/AuthenticationHttpTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 13
|
|
path: tests/unit/Plugins/Auth/AuthenticationSignonTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with array\{lifetime\: 0, path\: ''/'', domain\: '''', secure\: false, partitioned\?\: false, httponly\: false, samesite\: ''''\} and array\{lifetime\: int\<0, max\>, path\: non\-falsy\-string, domain\: string, secure\: bool, httponly\: bool, samesite\: ''Lax''\|''lax''\|''None''\|''none''\|''Strict''\|''strict''\} will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 1
|
|
path: tests/unit/Plugins/Auth/AuthenticationSignonTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 2
|
|
path: tests/unit/Plugins/Auth/AuthenticationSignonTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/Plugins/AuthenticationPluginFactoryTest.php
|
|
|
|
-
|
|
message: '#^@readonly property PhpMyAdmin\\Config\\Settings\\Debug\:\:\$simple2fa is assigned outside of its declaring class\.$#'
|
|
identifier: property.readOnlyByPhpDocAssignOutOfClass
|
|
count: 2
|
|
path: tests/unit/Plugins/AuthenticationPluginTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Plugins/AuthenticationPluginTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Export/ExportHtmlwordTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Plugins/Export/ExportHtmlwordTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Plugins/Export/ExportHtmlwordTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, string\|false given\.$#'
|
|
identifier: argument.type
|
|
count: 3
|
|
path: tests/unit/Plugins/Export/ExportLatexTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: string, port\: 80, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Plugins/Export/ExportLatexTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Export/ExportOdtTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Export/ExportSqlTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Plugins/Export/ExportSqlTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Export/ExportTexytextTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Plugins/Export/ExportXmlTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Schema/DiaRelationSchemaTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Schema/EpsRelationSchemaTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Schema/PdfRelationSchemaTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Schema/SvgRelationSchemaTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Plugins/Transformations/TransformationPluginsTest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Tests\\Plugins\\Transformations\\TransformationPluginsTest\:\:testTransformation\(\) has parameter \$applyArgs with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: tests/unit/Plugins/Transformations/TransformationPluginsTest.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var with type array\{backend\: string, settings\: array\<mixed\>\} is not subtype of native type array\{backend\: '''', settings\: array\{\}\}\.$#'
|
|
identifier: varTag.nativeType
|
|
count: 1
|
|
path: tests/unit/Plugins/TwoFactor/WebAuthnTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/PluginsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/PluginsTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/PluginsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Replication/ReplicationGuiTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Replication/ReplicationGuiTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/Routing/RoutingTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''/'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Routing/RoutingTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''GET'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Routing/RoutingTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Server/PluginsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/Server/PluginsTest.php
|
|
|
|
-
|
|
message: '#^Class PhpMyAdmin\\Tests\\Server\\PluginsTest has an uninitialized property \$plugins\. Give it default value or assign it in the constructor\.$#'
|
|
identifier: property.uninitialized
|
|
count: 1
|
|
path: tests/unit/Server/PluginsTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 12
|
|
path: tests/unit/Server/PrivilegesTest.php
|
|
|
|
-
|
|
message: '#^PHPDoc tag @var for variable \$actual has no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: tests/unit/Server/PrivilegesTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''host'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''only_db'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''port'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''user'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Offset ''0'' does not exist on array\<int\<1, max\>, array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\>\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$needle of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 4
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 1
|
|
path: tests/unit/Server/SelectTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''PhpMyAdmin\\\\Server\\\\SysInfo\\\\Base'' and PhpMyAdmin\\Server\\SysInfo\\Base will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/Server/SysInfo/SysInfoTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with null will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 2
|
|
path: tests/unit/SessionTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Setup/IndexTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''123'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Setup/IndexTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''type'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Setup/IndexTest.php
|
|
|
|
-
|
|
message: '#^Offset ''messages'' does not exist on array\<mixed, mixed\>\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 1
|
|
path: tests/unit/Setup/IndexTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/SqlQueryFormTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/SqlTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 3
|
|
path: tests/unit/SqlTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''pos'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/SqlTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Stubs/ResponseRenderer.php
|
|
|
|
-
|
|
message: '#^Foreach overwrites \$value with its value variable\.$#'
|
|
identifier: foreach.valueOverwrite
|
|
count: 1
|
|
path: tests/unit/Stubs/ResponseRenderer.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/SystemDatabaseTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Table/ColumnsDefinitionTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Table/SearchTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Table/TableTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertFalse\(\) with true will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 1
|
|
path: tests/unit/Table/TableTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''SCHEMA_TABLES'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Table/TableTest.php
|
|
|
|
-
|
|
message: '#^Offset ''col_order'' on non\-empty\-array\<mixed\> in isset\(\) always exists and is not nullable\.$#'
|
|
identifier: isset.offset
|
|
count: 1
|
|
path: tests/unit/Table/TableTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/Tracking/TrackerTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$selectedServer \(array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\) does not accept array\{host\: string, port\: string, socket\: string, ssl\: bool, ssl_key\: string\|null, ssl_cert\: string\|null, ssl_ca\: string\|null, ssl_ca_path\: string\|null, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 4
|
|
path: tests/unit/Tracking/TrackerTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Tracking/TrackingTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 2
|
|
path: tests/unit/Tracking/TrackingTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''statement'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Tracking/TrackingTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''username'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 2
|
|
path: tests/unit/Tracking/TrackingTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 5
|
|
path: tests/unit/Triggers/TriggersTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Triggers/TriggersTest.php
|
|
|
|
-
|
|
message: '#^@readonly property PhpMyAdmin\\Config\\Settings\\Debug\:\:\$simple2fa is assigned outside of its declaring class\.$#'
|
|
identifier: property.readOnlyByPhpDocAssignOutOfClass
|
|
count: 6
|
|
path: tests/unit/TwoFactorTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 6
|
|
path: tests/unit/TwoFactorTest.php
|
|
|
|
-
|
|
message: '#^Cannot unset offset ''2fa_code'' on array\<mixed, mixed\>\.$#'
|
|
identifier: unset.offset
|
|
count: 1
|
|
path: tests/unit/TwoFactorTest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Tests\\TwoFactorTest\:\:loadResultForConfig\(\) has parameter \$config with no value type specified in iterable type array\.$#'
|
|
identifier: missingType.iterableValue
|
|
count: 1
|
|
path: tests/unit/TwoFactorTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$secret of method PragmaRX\\Google2FA\\Google2FA\:\:oathTotp\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/TwoFactorTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Dbal\\DatabaseInterface\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/TypesTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/UniqueConditionTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/UrlRedirectorTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/UrlTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 3
|
|
path: tests/unit/UtilTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''is_superuser'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/UtilTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''mysql_cur_user'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/UtilTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''server_2_'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: tests/unit/UtilTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PHPUnit\\Framework\\Assert\:\:assertArrayNotHasKey\(\) expects array\<mixed\>\|ArrayAccess\<\(int\|string\), mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/UtilTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 1
|
|
path: tests/unit/Utils/ForeignKeyTest.php
|
|
|
|
-
|
|
message: '#^Method PhpMyAdmin\\Tests\\Utils\\FormatConverterTest\:\:providerBinaryToIp\(\) should return array\<array\{string, string, bool\}\> but returns array\{array\{''10\.11\.12\.13'', ''0x0a0b0c0d'', false\}, array\{''my ip'', ''my ip'', false\}, array\{''10\.11\.12\.13'', ''0x0a0b0c0d'', true\}, array\{''6d79206970'', ''my ip'', true\}, array\{''10\.11\.12\.13'', ''0x0a0b0c0d'', true\}, array\{''666566'', ''fef'', true\}, array\{''0ded'', string\|false, true\}, array\{''127\.0\.0\.1'', string\|false, true\}\}\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: tests/unit/Utils/FormatConverterTest.php
|
|
|
|
-
|
|
message: '#^Binary operation "\." between ''Not supported in…'' and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: tests/unit/Utils/HttpRequestTest.php
|
|
|
|
-
|
|
message: '#^Only booleans are allowed in a negated boolean, string\|false given\.$#'
|
|
identifier: booleanNot.exprNotBoolean
|
|
count: 2
|
|
path: tests/unit/Utils/HttpRequestTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Utils/HttpRequestTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$needle of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Utils/HttpRequestTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$haystack of static method PHPUnit\\Framework\\Assert\:\:assertStringContainsString\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: tests/unit/Utils/HttpRequestTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 6
|
|
path: tests/unit/Utils/SessionCacheTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''cache'' and array\{\} will always evaluate to false\.$#'
|
|
identifier: staticMethod.impossibleType
|
|
count: 2
|
|
path: tests/unit/Utils/SessionCacheTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''server_2_'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 4
|
|
path: tests/unit/Utils/SessionCacheTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''test_data'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Utils/SessionCacheTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''test_data_3'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/Utils/SessionCacheTest.php
|
|
|
|
-
|
|
message: '#^Offset ''cache'' does not exist on array\{\}\.$#'
|
|
identifier: offsetAccess.notFound
|
|
count: 4
|
|
path: tests/unit/Utils/SessionCacheTest.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$array of static method PHPUnit\\Framework\\Assert\:\:assertArrayNotHasKey\(\) expects array\<mixed\>\|ArrayAccess\<\(int\|string\), mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: tests/unit/Utils/SessionCacheTest.php
|
|
|
|
-
|
|
message: '''
|
|
#^Call to deprecated method getInstance\(\) of class PhpMyAdmin\\Config\:
|
|
Use dependency injection instead\.$#
|
|
'''
|
|
identifier: staticMethod.deprecated
|
|
count: 4
|
|
path: tests/unit/VersionInformationTest.php
|
|
|
|
-
|
|
message: '#^Cannot access offset ''version_check'' on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: tests/unit/VersionInformationTest.php
|
|
|
|
-
|
|
message: '#^Property PhpMyAdmin\\Config\:\:\$settings \(array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\) does not accept array\{PmaAbsoluteUri\: string, AuthLog\: string, AuthLogSuccess\: bool, PmaNoRelation_DisableWarning\: bool, LoginCookieValidityDisableWarning\: bool, ReservedWordDisableWarning\: bool, TranslationWarningThreshold\: int, \.\.\.\}\.$#'
|
|
identifier: assign.propertyType
|
|
count: 3
|
|
path: tests/unit/VersionInformationTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsBool\(\) with true will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/VersionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsInt\(\) with 0 will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 2
|
|
path: tests/unit/VersionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsInt\(\) with 6 will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/VersionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsInt\(\) with 60000 will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/VersionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with ''dev'' will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/VersionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with non\-falsy\-string will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/VersionTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertIsString\(\) with string will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/VersionTest.php
|
|
|
|
-
|
|
message: '#^Call to function base64_decode\(\) requires parameter \#2 to be set\.$#'
|
|
identifier: function.strict
|
|
count: 1
|
|
path: tests/unit/WebAuthn/CBORDecoderTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''attestation'' and array\{challenge\: non\-falsy\-string, rp\: array\{name\: string, id\: string\}, user\: array\{id\: string, name\: string, displayName\: string\}, pubKeyCredParams\: non\-empty\-list\<array\{alg\: int, type\: ''public\-key''\}\>, authenticatorSelection\: array\<string, string\>, timeout\: int\<1, max\>, attestation\: non\-empty\-string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/WebAuthn/CustomServerTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''challenge'' and array\{challenge\: non\-empty\-string, rp\: array\{name\: string, id\: string\}, user\: array\{id\: string, name\: string, displayName\: string\}, pubKeyCredParams\: list\<array\{alg\: int, type\: ''public\-key''\}\>, authenticatorSelection\: array\<string, string\>, timeout\: int\<1, max\>, attestation\: non\-empty\-string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/WebAuthn/CustomServerTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''pubKeyCredParams'' and array\{challenge\: non\-falsy\-string, rp\: array\{name\: string, id\: string\}, user\: array\{id\: string, name\: string, displayName\: string\}, pubKeyCredParams\: list\<array\{alg\: int, type\: ''public\-key''\}\>, authenticatorSelection\: array\<string, string\>, timeout\: int\<1, max\>, attestation\: non\-empty\-string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/WebAuthn/CustomServerTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''attestation'' and array\{challenge\: non\-falsy\-string, rp\: array\{name\: string, id\: string\}, user\: array\{id\: string, name\: string, displayName\: string\}, pubKeyCredParams\: non\-empty\-list\<array\{alg\: int, type\: ''public\-key''\}\>, authenticatorSelection\: array\<string, string\>, timeout\: int\<1, max\>, attestation\: non\-empty\-string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/WebAuthn/WebauthnLibServerTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''challenge'' and array\{challenge\: non\-empty\-string, rp\: array\{name\: string, id\: string\}, user\: array\{id\: string, name\: string, displayName\: string\}, pubKeyCredParams\: list\<array\{alg\: int, type\: ''public\-key''\}\>, authenticatorSelection\: array\<string, string\>, timeout\: int\<1, max\>, attestation\: non\-empty\-string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/WebAuthn/WebauthnLibServerTest.php
|
|
|
|
-
|
|
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertArrayHasKey\(\) with ''pubKeyCredParams'' and array\{challenge\: non\-falsy\-string, rp\: array\{name\: string, id\: string\}, user\: array\{id\: string, name\: string, displayName\: string\}, pubKeyCredParams\: list\<array\{alg\: int, type\: ''public\-key''\}\>, authenticatorSelection\: array\<string, string\>, timeout\: int\<1, max\>, attestation\: non\-empty\-string\} will always evaluate to true\.$#'
|
|
identifier: staticMethod.alreadyNarrowedType
|
|
count: 1
|
|
path: tests/unit/WebAuthn/WebauthnLibServerTest.php
|