psalm report

CategoryErrorsInfosFiles
DeprecatedInterface011
UnusedClass02217
MissingConstructor021
MissingReturnType01526
MissingParamType01141
DeprecatedMethod040
MissingClosureParamType080
InvalidReturnType010
UndefinedConstant050
MissingPropertyType0405
MissingClosureReturnType061
PossiblyFalseOperand020
PropertyNotSetInConstructor0174
InvalidArrayOffset060
UninitializedProperty010
PossiblyUnusedMethod010
ArgumentTypeCoercion050
InvalidFunctionCall010
RedundantCondition201
PossiblyInvalidArgument020
PossiblyInvalidCast010
UndefinedClass010
ReservedWord050
UndefinedThisPropertyAssignment100
UndefinedThisPropertyFetch300
PropertyTypeCoercion010
TooManyArguments010
639937
Error Line FromLine To
RoboFile.php
infoRobo\Contract\OutputAwareInterface is marked deprecated
DeprecatedInterface
55
infoClass Edge\QA\RoboFile is never used
UnusedClass
55
src/CodeAnalysisTasks.php
infoEdge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$tools, but no constructor
MissingConstructor
1010
infoEdge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$options, but no constructor
MissingConstructor
1212
infoMethod Edge\QA\CodeAnalysisTasks::tools does not have a return type, expecting void
MissingReturnType
1818
infoParameter $opts has no provided type
MissingParamType
1919
infoThe method Robo\Common\OutputAwareTrait::getOutput has been marked as deprecated
DeprecatedMethod
2424
infoMethod Edge\QA\CodeAnalysisTasks::ci does not have a return type
MissingReturnType
4141
infoParameter $opts has no provided type
MissingParamType
4242
infoMethod Edge\QA\CodeAnalysisTasks::normalizeCliOptions does not have a return type, expecting non-empty-array<array-key, mixed>
MissingReturnType
6565
infoThe method Robo\Common\InputAwareTrait::getInput has been marked as deprecated
DeprecatedMethod
7171
infoMethod Edge\QA\CodeAnalysisTasks::loadConfig does not have a return type, expecting void
MissingReturnType
7575
infoParameter $text has no provided type
MissingClosureParamType
7979
infoMethod Edge\QA\CodeAnalysisTasks::ciClean does not have a return type, expecting void
MissingReturnType
129129
infoMethod Edge\QA\CodeAnalysisTasks::runTools does not have a return type, expecting void
MissingReturnType
139139
infoThe declared return type 'Robo\Task\Base\Exec' for Edge\QA\CodeAnalysisTasks::toolToExec is incorrect, got 'Robo\Collection\CollectionBuilder|Robo\Task\Base\Exec'
InvalidReturnType
149149
infoMethod Edge\QA\CodeAnalysisTasks::buildHtmlReport does not have a return type, expecting void
MissingReturnType
164164
infoThe method Robo\Common\OutputAwareTrait::getOutput has been marked as deprecated
DeprecatedMethod
166166
infoConst PHPQA_USED_COMMAND is not defined
UndefinedConstant
203203
infoMethod Edge\QA\CodeAnalysisTasks::buildSummary does not have a return type
MissingReturnType
212212
infoThe method Robo\Common\OutputAwareTrait::getOutput has been marked as deprecated
DeprecatedMethod
214214
src/Config.php
infoProperty Edge\QA\Config::$configs does not have a declared type - consider array<array-key, array<array-key, array>|mixed>|mixed
MissingPropertyType
99
infoProperty Edge\QA\Config::$cwd does not have a declared type - consider false|mixed|string
MissingPropertyType
1010
infoParameter $cwd has no provided type
MissingParamType
1212
infoMethod Edge\QA\Config::loadUserConfig does not have a return type, expecting void
MissingReturnType
1818
infoParameter $directories has no provided type
MissingParamType
1818
infoMethod Edge\QA\Config::loadConfig does not have a return type, expecting void
MissingReturnType
2828
infoParameter $directory has no provided type
MissingParamType
2828
infoParameter $isUserDirectory has no provided type
MissingParamType
2828
infoProperty Edge\QA\Config::$configs does not have a declared type
MissingPropertyType
3636
infoMethod Edge\QA\Config::mergeConfigs does not have a return type, expecting void
MissingReturnType
4545
infoParameter $key has no provided type
MissingParamType
4545
infoMethod Edge\QA\Config::getCustomBinary does not have a return type
MissingReturnType
5555
infoParameter $tool has no provided type
MissingParamType
5555
infoMethod Edge\QA\Config::value does not have a return type
MissingReturnType
6464
infoParameter $path has no provided type
MissingParamType
6464
infoClosure does not have a return type, expecting mixed
MissingClosureReturnType
6868
infoParameter $value has no provided type
MissingClosureParamType
6868
infoMethod Edge\QA\Config::path does not have a return type
MissingReturnType
7474
infoParameter $path has no provided type
MissingParamType
7474
infoParameter $file has no provided type
MissingClosureParamType
7878
infoParameter $dir has no provided type
MissingClosureParamType
7878
infoMethod Edge\QA\Config::pathsOrValues does not have a return type
MissingReturnType
8888
infoParameter $path has no provided type
MissingParamType
8888
infoParameter $values has no provided type
MissingClosureParamType
9292
infoParameter $dir has no provided type
MissingClosureParamType
9292
infoMethod Edge\QA\Config::csv does not have a return type
MissingReturnType
104104
infoParameter $path has no provided type
MissingParamType
104104
infoParameter $separator has no provided type
MissingParamType
104104
infoClosure does not have a return type, expecting mixed
MissingClosureReturnType
106106
infoParameter $path has no provided type
MissingClosureParamType
106106
infoParameter $value has no provided type
MissingClosureParamType
109109
infoMethod Edge\QA\Config::get does not have a return type
MissingReturnType
121121
infoParameter $path has no provided type
MissingParamType
121121
infoParameter $extractor has no provided type
MissingParamType
121121
infoMethod Edge\QA\Config::findInConfig does not have a return type
MissingReturnType
131131
infoParameter $path has no provided type
MissingParamType
131131
infoMethod Edge\QA\Config::throwInvalidPath does not have a return type, expecting never
MissingReturnType
143143
infoParameter $source has no provided type
MissingParamType
143143
infoParameter $path has no provided type
MissingParamType
143143
src/IgnoredPaths.php
infoProperty Edge\QA\IgnoredPaths::$ignoreDirs does not have a declared type - consider mixed
MissingPropertyType
77
infoProperty Edge\QA\IgnoredPaths::$ignoreFiles does not have a declared type - consider mixed
MissingPropertyType
88
infoProperty Edge\QA\IgnoredPaths::$ignoreBoth does not have a declared type - consider array
MissingPropertyType
99
infoProperty Edge\QA\IgnoredPaths::$isWindows does not have a declared type - consider bool|null
MissingPropertyType
1010
infoParameter $ignoredDirs has no provided type
MissingParamType
1212
infoParameter $ignoredFiles has no provided type
MissingParamType
1212
infoMethod Edge\QA\IgnoredPaths::setOS does not have a return type, expecting void
MissingReturnType
2020
infoParameter $os has no provided type
MissingParamType
2020
infoMethod Edge\QA\IgnoredPaths::csvToArray does not have a return type, expecting array<int, string>
MissingReturnType
2525
infoParameter $csv has no provided type
MissingParamType
2525
infoMethod Edge\QA\IgnoredPaths::phpcs does not have a return type
MissingReturnType
3232
infoMethod Edge\QA\IgnoredPaths::pdepend does not have a return type
MissingReturnType
3737
infoMethod Edge\QA\IgnoredPaths::phpmd does not have a return type
MissingReturnType
4545
infoMethod Edge\QA\IgnoredPaths::pdependWindowsFilter does not have a return type, expecting string
MissingReturnType
5353
infoParameter $option has no provided type
MissingParamType
5353
infoMethod Edge\QA\IgnoredPaths::phpmetrics does not have a return type
MissingReturnType
5858
infoMethod Edge\QA\IgnoredPaths::phpmetrics2 does not have a return type
MissingReturnType
6363
infoMethod Edge\QA\IgnoredPaths::bergmann does not have a return type
MissingReturnType
6868
infoMethod Edge\QA\IgnoredPaths::parallelLint does not have a return type
MissingReturnType
7373
infoMethod Edge\QA\IgnoredPaths::phpstan does not have a return type
MissingReturnType
7878
infoMethod Edge\QA\IgnoredPaths::psalm does not have a return type, expecting array{directory: mixed, file: mixed}
MissingReturnType
8383
infoMethod Edge\QA\IgnoredPaths::ignore does not have a return type
MissingReturnType
9191
infoParameter $before has no provided type
MissingParamType
9191
infoParameter $dirSeparator has no provided type
MissingParamType
9191
infoParameter $after has no provided type
MissingParamType
9191
infoParameter $fileSeparator has no provided type
MissingParamType
9191
infoMethod Edge\QA\IgnoredPaths::implode does not have a return type, expecting string
MissingReturnType
106106
infoParameter $before has no provided type
MissingParamType
106106
infoParameter $separator has no provided type
MissingParamType
106106
infoParameter $after has no provided type
MissingParamType
106106
src/Options.php
infoMethod Edge\QA\Options::loadOutput does not have a return type, expecting void
MissingReturnType
3535
infoMethod Edge\QA\Options::getCommonRootPath does not have a return type, expecting string
MissingReturnType
5151
infoMethod Edge\QA\Options::getAnalyzedDirs does not have a return type, expecting array<array-key, string>|string
MissingReturnType
6363
infoParameter $separator has no provided type
MissingParamType
6363
infoMethod Edge\QA\Options::loadTools does not have a return type, expecting void
MissingReturnType
6868
infoParameter $inputTools has no provided type
MissingParamType
6868
infoMethod Edge\QA\Options::buildRunningTools does not have a return type
MissingReturnType
8383
infoMethod Edge\QA\Options::sortTools does not have a return type, expecting array<array-key, mixed>
MissingReturnType
101101
infoLeft operand cannot be falsable, got false|int
PossiblyFalseOperand
107107
infoRight operand cannot be falsable, got false|int
PossiblyFalseOperand
107107
infoMethod Edge\QA\Options::toFile does not have a return type
MissingReturnType
113113
infoParameter $file has no provided type
MissingParamType
113113
infoMethod Edge\QA\Options::rawFile does not have a return type, expecting non-empty-string
MissingReturnType
118118
infoParameter $file has no provided type
MissingParamType
118118
src/RunningTool.php
infoProperty Edge\QA\RunningTool::$tool does not have a declared type - consider mixed
MissingPropertyType
77
infoProperty Edge\QA\RunningTool::$internalClasses does not have a declared type - consider array
MissingPropertyType
88
infoProperty Edge\QA\RunningTool::$internalDependencies does not have a declared type - consider array
MissingPropertyType
99
infoProperty Edge\QA\RunningTool::$optionSeparator does not have a declared type - consider mixed
MissingPropertyType
1010
infoProperty Edge\QA\RunningTool::$outputMode does not have a declared type - consider mixed
MissingPropertyType
1111
infoProperty Edge\QA\RunningTool::$xmlFiles does not have a declared type - consider mixed
MissingPropertyType
1313
infoProperty Edge\QA\RunningTool::$errorsXPath does not have a declared type - consider array
MissingPropertyType
1414
infoProperty Edge\QA\RunningTool::$errorsType does not have a declared type
MissingPropertyType
1515
infoProperty Edge\QA\RunningTool::$allowedErrorsCount does not have a declared type - consider mixed
MissingPropertyType
1616
infoProperty Edge\QA\RunningTool::$htmlReport does not have a declared type
MissingPropertyType
1818
infoProperty Edge\QA\RunningTool::$userReports does not have a declared type - consider array
MissingPropertyType
1919
infoProperty Edge\QA\RunningTool::$isExecutable does not have a declared type
MissingPropertyType
2020
infoProperty Edge\QA\RunningTool::$process is not defined in constructor of Edge\QA\RunningTool or in any private or final methods called in the constructor
PropertyNotSetInConstructor
2222
infoParameter $tool has no provided type
MissingParamType
2424
infoCannot create offset of type mixed|null, expecting array-key
InvalidArrayOffset
4141
infoCannot use uninitialized property $this->errorsXPath
UninitializedProperty
4141
infoMethod Edge\QA\RunningTool::isInstalled does not have a return type, expecting bool
MissingReturnType
4646
infoMethod Edge\QA\RunningTool::isAtLeastOneClassInstalled does not have a return type, expecting bool
MissingReturnType
5252
infoMethod Edge\QA\RunningTool::hasOutput does not have a return type, expecting bool
MissingReturnType
6565
infoParameter $outputMode has no provided type
MissingParamType
6565
infoMethod Edge\QA\RunningTool::buildOption does not have a return type, expecting non-empty-string
MissingReturnType
7070
infoParameter $arg has no provided type
MissingParamType
7070
infoParameter $value has no provided type
MissingParamType
7070
infoMethod Edge\QA\RunningTool::getAllowedErrorsCount does not have a return type
MissingReturnType
7979
infoMethod Edge\QA\RunningTool::analyzeResult does not have a return type
MissingReturnType
8484
infoParameter $hasNoOutput has no provided type
MissingParamType
8484
infoMethod Edge\QA\RunningTool::evaluteErrorsCount does not have a return type, expecting array{bool, mixed}
MissingReturnType
106106
infoParameter $errorsCount has no provided type
MissingParamType
106106
infoMethod Edge\QA\RunningTool::areErrorsIgnored does not have a return type, expecting bool
MissingReturnType
112112
infoCannot find explicit calls to method Edge\QA\RunningTool::getXmlFiles (but did find some potential callers)
PossiblyUnusedMethod
117117
infoMethod Edge\QA\RunningTool::getXmlFiles does not have a return type
MissingReturnType
117117
infoMethod Edge\QA\RunningTool::getEscapedXmlFile does not have a return type
MissingReturnType
122122
infoMethod Edge\QA\RunningTool::getMainXml does not have a return type
MissingReturnType
127127
infoMethod Edge\QA\RunningTool::getHtmlRootReports does not have a return type, expecting list<array{file: mixed, id: non-empty-string, name: mixed}>
MissingReturnType
132132
src/Task/AssetsLoader.php
infoMethod Edge\QA\Task\AssetsLoader::downloadUrl does not have a return type, expecting bool|string
MissingReturnType
3737
infoParameter $url has no provided type
MissingParamType
3737
infoMethod Edge\QA\Task\AssetsLoader::writeln does not have a return type, expecting void
MissingReturnType
5555
infoParameter $text has no provided type
MissingParamType
5555
infoParameter $color has no provided type
MissingParamType
5555
src/Task/TableSummary.php
infoMethod Edge\QA\Task\TableSummary::result does not have a return type, expecting 0|1
MissingReturnType
4646
infoMethod Edge\QA\Task\TableSummary::getStatus does not have a return type, expecting "<error>x</error>"|"<info>✓</info>"
MissingReturnType
6262
infoParameter $isOk has no provided type
MissingParamType
6262
infoMethod Edge\QA\Task\TableSummary::writeln does not have a return type, expecting void
MissingReturnType
6868
infoParameter $text has no provided type
MissingParamType
6868
infoParameter $color has no provided type
MissingParamType
6868
src/Tools/AnalyzeResults.php
infoProperty Edge\QA\RunningTool::$isExecutable does not have a declared type
MissingPropertyType
2626
infoProperty Edge\QA\RunningTool::$htmlReport does not have a declared type
MissingPropertyType
3737
src/Tools/Analyzer/Deptrac.php
infoClass Edge\QA\Tools\Analyzer\Deptrac is never used
UnusedClass
77
src/Tools/Analyzer/ParallelLint.php
infoClass Edge\QA\Tools\Analyzer\ParallelLint is never used
UnusedClass
77
src/Tools/Analyzer/Pdepend.php
infoClass Edge\QA\Tools\Analyzer\Pdepend is never used
UnusedClass
55
src/Tools/Analyzer/PhpCsFixer.php
infoClass Edge\QA\Tools\Analyzer\PhpCsFixer is never used
UnusedClass
77
src/Tools/Analyzer/PhpMetrics.php
infoClass Edge\QA\Tools\Analyzer\PhpMetrics is never used
UnusedClass
77
src/Tools/Analyzer/PhpMetricsV2.php
infoClass Edge\QA\Tools\Analyzer\PhpMetricsV2 is never used
UnusedClass
55
src/Tools/Analyzer/Phpcpd.php
infoClass Edge\QA\Tools\Analyzer\Phpcpd is never used
UnusedClass
55
src/Tools/Analyzer/Phpcs.php
infoClass Edge\QA\Tools\Analyzer\Phpcs is never used
UnusedClass
55
infoCannot create offset of type bool, expecting array-key
InvalidArrayOffset
1014
infoProperty Edge\QA\RunningTool::$userReports does not have a declared type
MissingPropertyType
3434
src/Tools/Analyzer/Phploc.php
infoClass Edge\QA\Tools\Analyzer\Phploc is never used
UnusedClass
55
src/Tools/Analyzer/Phpmd.php
infoClass Edge\QA\Tools\Analyzer\Phpmd is never used
UnusedClass
55
infoCannot create offset of type bool, expecting array-key
InvalidArrayOffset
1014
src/Tools/Analyzer/Phpstan.php
infoClosure does not have a return type, expecting list<non-falsy-string>
MissingClosureReturnType
2222
infoMethod Edge\QA\Tools\Analyzer\Phpstan::getErrorFormatOption does not have a return type, expecting "error-format"|"errorFormat"
MissingReturnType
5959
infoMethod Edge\QA\Tools\Analyzer\Phpstan::buildConfig does not have a return type
MissingReturnType
6464
infoParameter $existingConfig has no provided type
MissingParamType
6464
infoParameter $autoloadDirectories has no provided type
MissingParamType
6464
infoParameter $ignoredPaths has no provided type
MissingParamType
6464
infoCannot access value on variable $config['parameters'] using offset value of 'excludes_analyse', expecting 'autoload_directories' or 'excludePaths'
InvalidArrayOffset
9191
infoCannot access value on variable $config['parameters'] using offset value of 'excludes_analyse', expecting 'autoload_directories' or 'excludePaths'
InvalidArrayOffset
9393
src/Tools/Analyzer/Phpunit.php
infoClass Edge\QA\Tools\Analyzer\Phpunit is never used
UnusedClass
77
infoProperty Edge\QA\RunningTool::$userReports does not have a declared type
MissingPropertyType
2727
infoMethod Edge\QA\Tools\Analyzer\Phpunit::getFile does not have a return type, expecting array{non-empty-string, non-empty-string|null}
MissingReturnType
3434
infoParameter $report has no provided type
MissingParamType
3434
infoParameter $format has no provided type
MissingParamType
3434
src/Tools/Analyzer/Psalm.php
infoClass Edge\QA\Tools\Analyzer\Psalm is never used
UnusedClass
88
infoMethod Edge\QA\Tools\Analyzer\Psalm::updateProjectFiles does not have a return type
MissingReturnType
4949
infoParameter $rawXml has no provided type
MissingParamType
4949
infoMethod Edge\QA\Tools\Analyzer\Psalm::simpleXMLToPrettyString does not have a return type, expecting false|string
MissingReturnType
8282
infoArgument 1 of DOMDocument::loadXML expects non-empty-string, parent type string provided
ArgumentTypeCoercion
8787
src/Tools/Analyzer/SecurityChecker.php
infoClass Edge\QA\Tools\Analyzer\SecurityChecker is never used
UnusedClass
77
infoMethod Edge\QA\Tools\Analyzer\SecurityChecker::detectComposerLock does not have a return type, expecting non-empty-string
MissingReturnType
2828
src/Tools/GetVersions.php
infoMethod Edge\QA\Tools\GetVersions::hasToolVersion does not have a return type
MissingReturnType
99
infoParameter $operator has no provided type
MissingParamType
99
infoParameter $version has no provided type
MissingParamType
99
infoConst PHPQA_VERSION is not defined
UndefinedConstant
2020
infoConst PHPQA_VERSION is not defined
UndefinedConstant
2121
infoMethod Edge\QA\Tools\GetVersions::findComposerPackages does not have a return type, expecting array<array-key, mixed>
MissingReturnType
3939
infoConst COMPOSER_VENDOR_DIR is not defined
UndefinedConstant
4141
infoMethod Edge\QA\Tools\GetVersions::analyzeTool does not have a return type, expecting array{authors: mixed, composer: string, version: mixed, version_normalized: mixed}
MissingReturnType
6060
infoParameter $tool has no provided type
MissingParamType
6060
infoMethod Edge\QA\Tools\GetVersions::normalizeVersion does not have a return type
MissingReturnType
113113
infoMethod Edge\QA\Tools\GetVersions::groupAuthors does not have a return type, expecting string
MissingReturnType
121121
infoClosure does not have a return type, expecting mixed
MissingClosureReturnType
126126
infoMethod Edge\QA\Tools\GetVersions::loadVersionFromConsoleCommand does not have a return type
MissingReturnType
134134
infoParameter $command has no provided type
MissingParamType
134134
infoMethod Edge\QA\Tools\GetVersions::createSymfonyProcess does not have a return type, expecting Symfony\Component\Process\Process
MissingReturnType
146146
infoParameter $command has no provided type
MissingParamType
146146
infoArgument 1 of method_exists expects class-string|object, parent type "Symfony\\Component\\Process\\Process" provided
ArgumentTypeCoercion
148148
infoMethod Edge\QA\Tools\GetVersions::extractVersionFromConsole does not have a return type
MissingReturnType
155155
infoParameter $text has no provided type
MissingParamType
155155
infoMethod Edge\QA\Tools\GetVersions::normalizeSemver does not have a return type, expecting null|string
MissingReturnType
171171
infoParameter $semver has no provided type
MissingParamType
171171
infoMethod Edge\QA\Tools\GetVersions::compareVersions does not have a return type, expecting bool
MissingReturnType
176176
infoParameter $toolVersion has no provided type
MissingParamType
176176
infoParameter $operator has no provided type
MissingParamType
176176
infoParameter $version has no provided type
MissingParamType
176176
src/Tools/Tool.php
infoParameter $presenter has no provided type
MissingParamType
2222
infoMethod Edge\QA\Tools\Tool::__invoke does not have a return type
MissingReturnType
3030
infoMethod Edge\QA\Tools\Tool::saveDynamicConfig does not have a return type
MissingReturnType
3232
infoParameter $config has no provided type
MissingParamType
3232
infoParameter $fileExtension has no provided type
MissingParamType
3232
infoMethod Edge\QA\Tools\Tool::toolVersionIs does not have a return type
MissingReturnType
4040
infoParameter $operator has no provided type
MissingParamType
4040
infoParameter $version has no provided type
MissingParamType
4040
infoMethod Edge\QA\Tools\Tool::writeln does not have a return type, expecting void
MissingReturnType
5151
infoParameter $text has no provided type
MissingParamType
5151
src/Tools/Tools.php
infoProperty Edge\QA\Tools\Tools::$config does not have a declared type - consider Edge\QA\Config
MissingPropertyType
1111
infoProperty Edge\QA\Tools\Tools::$tools does not have a declared type - consider array<array-key, mixed|null>|mixed
MissingPropertyType
1212
infoProperty Edge\QA\Tools\Tools::$selectedTools does not have a declared type - consider mixed|null
MissingPropertyType
1313
infoProperty Edge\QA\Tools\Tools::$presenter does not have a declared type - consider mixed
MissingPropertyType
1414
infoParameter $presenter has no provided type
MissingParamType
1616
infoMethod Edge\QA\Tools\Tools::loadTools does not have a return type, expecting void
MissingReturnType
2424
infoProperty Edge\QA\Tools\Tools::$config does not have a declared type
MissingPropertyType
2626
infoClosure does not have a return type, expecting mixed
MissingClosureReturnType
2828
infoArgument 2 of is_subclass_of expects class-string, parent type "Edge\\QA\\Tools\\Tool" provided
ArgumentTypeCoercion
3030
infoProperty Edge\QA\Tools\Tools::$tools does not have a declared type
MissingPropertyType
5858
infoMethod Edge\QA\Tools\Tools::getExecutableTools does not have a return type, expecting array<array-key, mixed>
MissingReturnType
6262
infoClosure does not have a return type, expecting mixed
MissingClosureReturnType
6969
infoProperty Edge\QA\RunningTool::$isExecutable does not have a declared type
MissingPropertyType
7070
infoMethod Edge\QA\Tools\Tools::buildCommand does not have a return type, expecting array{mixed, mixed}
MissingReturnType
7575
infoCannot treat type object as callable
InvalidFunctionCall
8080
infoMethod Edge\QA\Tools\Tools::getReport does not have a return type
MissingReturnType
8585
infoMethod Edge\QA\Tools\Tools::getAssets does not have a return type
MissingReturnType
9090
infoMethod Edge\QA\Tools\Tools::getSummary does not have a return type
MissingReturnType
9595
infoMethod Edge\QA\Tools\Tools::getVersions does not have a return type
MissingReturnType
101101
src/invalid/new-feature.php
errorOperand of type true is always true
RedundantCondition
11
errorOperand of type true is always true
RedundantCondition
22
src/paths.php
infoMethod Edge\QA\buildToolBinary does not have a return type
MissingReturnType
55
infoParameter $tool has no provided type
MissingParamType
55
infoParameter $customBinary has no provided type
MissingParamType
55
infoConst COMPOSER_BINARY_DIR is not defined
UndefinedConstant
77
infoMethod Edge\QA\buildSafeBinary does not have a return type
MissingReturnType
1010
infoParameter $unsafeBinary has no provided type
MissingParamType
1010
infoMethod Edge\QA\escapePath does not have a return type, expecting non-empty-string
MissingReturnType
2121
infoParameter $path has no provided type
MissingParamType
2121
infoMethod Edge\QA\commonPath does not have a return type, expecting null|string
MissingReturnType
2626
infoArgument 1 of array_slice expects array<array-key, mixed>, possibly different type non-empty-list<string>|string provided
PossiblyInvalidArgument
4747
infonon-empty-list<string> cannot be cast to string
PossiblyInvalidCast
5252
infoArgument 1 of dirname expects string, possibly different type non-empty-list<string>|string provided
PossiblyInvalidArgument
5252
src/report.php
infoMethod Edge\QA\twigToHtml does not have a return type, expecting void
MissingReturnType
99
infoParameter $template has no provided type
MissingParamType
99
infoParameter $outputFile has no provided type
MissingParamType
99
infoClass, interface or enum named Twig_Loader_Filesystem does not exist
UndefinedClass
1212
infoMethod Edge\QA\xmlToHtml does not have a return type, expecting void
MissingReturnType
2222
infoParameter $style has no provided type
MissingParamType
2222
infoParameter $outputFile has no provided type
MissingParamType
2222
infoMethod Edge\QA\xmlXpaths does not have a return type, expecting array{int, string}
MissingReturnType
5454
infoParameter $xmlFile has no provided type
MissingParamType
5454
infoMethod Edge\QA\convertPhpErrorsToExceptions does not have a return type, expecting void
MissingReturnType
6969
infoMethod Edge\QA\phpErrorToException does not have a return type, expecting void
MissingReturnType
7878
infoParameter $severity has no provided type
MissingParamType
7878
infoParameter $message has no provided type
MissingParamType
7878
infoParameter $filename has no provided type
MissingParamType
7878
infoParameter $lineno has no provided type
MissingParamType
7878
tests/Config/ConfigTest.php
infoClass Edge\QA\ConfigTest is never used
UnusedClass
66
infoProperty Edge\QA\ConfigTest::$backupStaticAttributes is not defined in constructor of Edge\QA\ConfigTest or in any methods called in the constructor
PropertyNotSetInConstructor
66
infoProperty Edge\QA\ConfigTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\ConfigTest or in any methods called in the constructor
PropertyNotSetInConstructor
66
infoProperty Edge\QA\ConfigTest::$defaultToolsCount does not have a declared type - consider int
MissingPropertyType
88
infoMethod Edge\QA\ConfigTest::testLoadDefaultConfig does not have a return type, expecting void
MissingReturnType
1010
infoMethod Edge\QA\ConfigTest::testBuildAbsolutePath does not have a return type, expecting void
MissingReturnType
4444
infoMethod Edge\QA\ConfigTest::testOverrideDefaultConfig does not have a return type, expecting void
MissingReturnType
5050
infoMethod Edge\QA\ConfigTest::testAllowPartialUpdateOfTools does not have a return type, expecting void
MissingReturnType
6060
infoMethod Edge\QA\ConfigTest::testIgnoreNonExistentUserConfig does not have a return type, expecting void
MissingReturnType
7070
infoMethod Edge\QA\ConfigTest::testNoExceptionWhenCwdHasNoConfig does not have a return type, expecting void
MissingReturnType
7878
infoMethod Edge\QA\ConfigTest::testThrowExceptionWhenFileDoesNotExist does not have a return type, expecting void
MissingReturnType
8585
infoMethod Edge\QA\ConfigTest::testConfigCsvString does not have a return type, expecting void
MissingReturnType
9393
infoMethod Edge\QA\ConfigTest::testUseCwdIfNoDirectoryIsSpecified does not have a return type, expecting void
MissingReturnType
101101
infoMethod Edge\QA\ConfigTest::testIgnoreInvalidBinaryDoesNotExist does not have a return type, expecting void
MissingReturnType
107107
infoMethod Edge\QA\ConfigTest::testToolAndBinaryNameMightNotMatch does not have a return type, expecting void
MissingReturnType
114114
infoMethod Edge\QA\ConfigTest::testMultipleConfig does not have a return type, expecting void
MissingReturnType
121121
infoMethod Edge\QA\ConfigTest::testAutodetectConfigInCurrentDirectory does not have a return type, expecting void
MissingReturnType
132132
infoMethod Edge\QA\ConfigTest::testIgnoreAutodetectedConfigIfUserConfigIsSpecified does not have a return type, expecting void
MissingReturnType
139139
infoMethod Edge\QA\ConfigTest::shouldStopPhpqa does not have a return type, expecting void
MissingReturnType
147147
infovoid is a reserved word
ReservedWord
152152
infoArgument 1 of Edge\QA\ConfigTest::expectException expects class-string<Throwable>, parent type "Exception" provided
ArgumentTypeCoercion
152152
tests/GetVersionsTest.php
infoClass Edge\QA\Tools\GetVersionsTest is never used
UnusedClass
55
infoProperty Edge\QA\Tools\GetVersionsTest::$backupStaticAttributes is not defined in constructor of Edge\QA\Tools\GetVersionsTest or in any methods called in the constructor
PropertyNotSetInConstructor
55
infoProperty Edge\QA\Tools\GetVersionsTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\Tools\GetVersionsTest or in any methods called in the constructor
PropertyNotSetInConstructor
55
infoMethod Edge\QA\Tools\GetVersionsTest::testNormalizeVersion does not have a return type, expecting void
MissingReturnType
88
infoParameter $version has no provided type
MissingParamType
88
infoParameter $expectedVersion has no provided type
MissingParamType
88
infoMethod Edge\QA\Tools\GetVersionsTest::provideComposerVersion does not have a return type, expecting array{'full semver': array{"2.7.4", "2.7.4"}, 'major release': array{"2.0.0", "2.0"}, 'minor release': array{"2.7.0", "2.7"}}
MissingReturnType
1313
infoMethod Edge\QA\Tools\GetVersionsTest::testCliVersion does not have a return type, expecting void
MissingReturnType
2323
infoParameter $cliOutput has no provided type
MissingParamType
2323
infoParameter $expectedVersion has no provided type
MissingParamType
2323
infoMethod Edge\QA\Tools\GetVersionsTest::provideCliVersion does not have a return type, expecting array{'custom format': array{"irrelevant v1.10", "1.10"}, 'dev version': array{"irrelevant 4.x-dev@", "4.x"}, 'no space': array{"v1.13.7irrelevant", "1.13.7"}, 'no version': array{"irrelevant text", "irrelevant text"}, 'prefer semver (dev + semver)': array{"4.x-dev@ v1.13.7", "1.13.7"}, 'prefer semver (semver + dev)': array{"v1.13.7 4.x-dev@", "1.13.7"}, 'semver at 2nd line': array{"first\nirrele 4.8.36 vant\nsecond", "4.8.36"}, 'semver at the end': array{"irrelevant 0.12.86", "0.12.86"}, 'semver at the start': array{"0.12.86 irrelevant", "0.12.86"}}
MissingReturnType
2828
infoMethod Edge\QA\Tools\GetVersionsTest::testCompareVersions does not have a return type, expecting void
MissingReturnType
4444
infoParameter $toolVersion has no provided type
MissingParamType
4444
infoParameter $operator has no provided type
MissingParamType
4444
infoParameter $version has no provided type
MissingParamType
4444
infoParameter $expectedResult has no provided type
MissingParamType
4444
infoMethod Edge\QA\Tools\GetVersionsTest::provideComparedVersions does not have a return type, expecting array{'dev version is greater than': array{"4.x", ">=", "4", true}, 'is greater than dev version': array{"4", ">=", "4.x", true}, 'is lower?': array{"7", "<", "6", false}, 'no version': array{"", ">", "1", false}, 'semver is greater than': array{"4.1", ">=", "4", true}}
MissingReturnType
4949
tests/IgnoredPathsTest.php
infoProperty Edge\QA\IgnoredPathsTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\IgnoredPathsTest or in any methods called in the constructor
PropertyNotSetInConstructor
55
infoProperty Edge\QA\IgnoredPathsTest::$backupStaticAttributes is not defined in constructor of Edge\QA\IgnoredPathsTest or in any methods called in the constructor
PropertyNotSetInConstructor
55
infoClass Edge\QA\IgnoredPathsTest is never used
UnusedClass
55
infoProperty Edge\QA\IgnoredPathsTest::$operatingSystem does not have a declared type - consider mixed|string
MissingPropertyType
77
infoMethod Edge\QA\IgnoredPathsTest::ignore does not have a return type
MissingReturnType
99
infoParameter $tool has no provided type
MissingParamType
99
infoParameter $dirs has no provided type
MissingParamType
99
infoParameter $files has no provided type
MissingParamType
99
infoMethod Edge\QA\IgnoredPathsTest::testNoOptionWhenNothingIsIgnored does not have a return type, expecting void
MissingReturnType
1717
infoParameter $tool has no provided type
MissingParamType
1717
infoMethod Edge\QA\IgnoredPathsTest::testIgnoreDirectoriesAndFiles does not have a return type, expecting void
MissingReturnType
2727
infoParameter $tool has no provided type
MissingParamType
2727
infoParameter $expectedOptions has no provided type
MissingParamType
2727
infoParameter $os has no provided type
MissingParamType
2727
infoMethod Edge\QA\IgnoredPathsTest::provideTools does not have a return type, expecting array{'pdepend + windows': array{"pdepend", array{both: " --ignore=app\\config\\*,vendor\\*,autoload.php,RoboFile.php", dirs: " --ignore=app\\config\\*,vendor\\*", files: " --ignore=autoload.php,RoboFile.php"}, "Windows"}, 'phpmd + windows': array{"phpmd", array{both: " --exclude app\\config\\*,vendor\\*,autoload.php,RoboFile.php", dirs: " --exclude app\\config\\*,vendor\\*", files: " --exclude autoload.php,RoboFile.php"}, "WIN32"}, 0: array{"phpcs", array{both: " --ignore=*/app/config/*,*/vendor/*,autoload.php,RoboFile.php", dirs: " --ignore=*/app/config/*,*/vendor/*", files: " --ignore=autoload.php,RoboFile.php"}}, 1: array{"pdepend", array{both: " --ignore=/app/config/,/vendor/,/autoload.php,/RoboFile.php", dirs: " --ignore=/app/config/,/vendor/", files: " --ignore=/autoload.php,/RoboFile.php"}}, 2: array{"phpmd", array{both: " --exclude /app/config/,/vendor/,/autoload.php,/RoboFile.php", dirs: " --exclude /app/config/,/vendor/", files: " --exclude /autoload.php,/RoboFile.php"}}, 3: array{"phpmetrics", array{both: " --excluded-dirs=\"app/config|vendor|autoload.php|RoboFile.php\"", dirs: " --excluded-dirs=\"app/config|vendor\"", files: " --excluded-dirs=\"autoload.php|RoboFile.php\""}}, 4: array{"phpmetrics2", array{both: " --exclude=\"app/config,vendor,autoload.php,RoboFile.php\"", dirs: " --exclude=\"app/config,vendor\"", files: " --exclude=\"autoload.php,RoboFile.php\""}}, 5: array{"bergmann", array{both: " --exclude=app/config --exclude=vendor --exclude=autoload.php --exclude=RoboFile...", dirs: " --exclude=app/config --exclude=vendor", files: " --exclude=autoload.php --exclude=RoboFile.php"}}, 6: array{"parallelLint", array{both: " --exclude app/config --exclude vendor --exclude autoload.php --exclude RoboFile...", dirs: " --exclude app/config --exclude vendor", files: " --exclude autoload.php --exclude RoboFile.php"}}, 7: array{"psalm", array{both: array{directory: array{"app/config", "vendor"}, file: array{"autoload.php", "RoboFile.php"}}, dirs: array{directory: array{"app/config", "vendor"}, file: array<empty, empty>}, files: array{directory: array<empty, empty>, file: array{"autoload.php", "RoboFile.php"}}}}}
MissingReturnType
4040
tests/OptionsTest.php
infoClass Edge\QA\OptionsTest is never used
UnusedClass
66
infoProperty Edge\QA\OptionsTest::$backupStaticAttributes is not defined in constructor of Edge\QA\OptionsTest or in any methods called in the constructor
PropertyNotSetInConstructor
66
infoProperty Edge\QA\OptionsTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\OptionsTest or in any methods called in the constructor
PropertyNotSetInConstructor
66
infoProperty Edge\QA\OptionsTest::$defaultOptions does not have a declared type - consider array{analyzedDirs: string, buildDir: string, config: string, execution: string, ignoredDirs: string, ignoredFiles: string, output: string, report: false, tools: string, verbose: true}
MissingPropertyType
99
infovoid is a reserved word
ReservedWord
2222
errorInstance property Edge\QA\OptionsTest::$fileOutput is not defined
UndefinedThisPropertyAssignment
2424
infoMethod Edge\QA\OptionsTest::overrideOptions does not have a return type, expecting Edge\QA\Options
MissingReturnType
2727
infoMethod Edge\QA\OptionsTest::testEscapePaths does not have a return type, expecting void
MissingReturnType
3232
errorInstance property Edge\QA\OptionsTest::$fileOutput is not defined
UndefinedThisPropertyFetch
3434
infoMethod Edge\QA\OptionsTest::testRespectToolsOrderDefinedInOption does not have a return type, expecting void
MissingReturnType
4040
infoMethod Edge\QA\OptionsTest::testIgnorePdependInCliOutput does not have a return type, expecting void
MissingReturnType
4747
errorInstance property Edge\QA\OptionsTest::$fileOutput is not defined
UndefinedThisPropertyFetch
5050
infoMethod Edge\QA\OptionsTest::testIsSuggestedToolInstalled does not have a return type, expecting void
MissingReturnType
5555
infoParameter $isInstalled has no provided type
MissingParamType
5555
errorInstance property Edge\QA\OptionsTest::$fileOutput is not defined
UndefinedThisPropertyFetch
5757
infoMethod Edge\QA\OptionsTest::provideInternalClass does not have a return type, expecting array{'at least one internal class is available': array{array{internalClass: array{"UnknownTool\\UnknownClass", Edge\QA\OptionsTest::class}}, true}, 'dependency is available': array{array{internalClass: Edge\QA\OptionsTest::class, internalDependencies: array{package: Edge\QA\OptionsTest::class}}, true}, 'dependency is not available': array{array{internalClass: Edge\QA\OptionsTest::class, internalDependencies: array{package: "UnknownTool\\UnknownClass"}}, false}, 'internal class is available': array{array{internalClass: "UnknownTool\\UnknownClass"}, false}}
MissingReturnType
6161
infoMethod Edge\QA\OptionsTest::testBuildOutput does not have a return type, expecting void
MissingReturnType
8484
infoParameter $isSavedToFiles has no provided type
MissingParamType
8484
infoParameter $isOutputPrinted has no provided type
MissingParamType
8484
infoParameter $hasReport has no provided type
MissingParamType
8484
infoMethod Edge\QA\OptionsTest::provideOutputs does not have a return type, expecting array{'ignore verbose and report in CLI output': array{array{output: "cli", report: true, verbose: false}, false, true, false}, 'respect verbose mode and report in FILE output': array{array{output: "file", report: true, verbose: false}, true, false, true}}
MissingReturnType
9292
infoMethod Edge\QA\OptionsTest::testExecute does not have a return type, expecting void
MissingReturnType
111111
infoParameter $isParallel has no provided type
MissingParamType
111111
infoMethod Edge\QA\OptionsTest::provideExecutionMode does not have a return type, expecting array{'dont use parallelism if execution is other word': array{array{execution: "single"}, false}, 'parallel execution is default mode': array{array<empty, empty>, true}, 'parallel execution': array{array{execution: "parallel"}, true}}
MissingReturnType
117117
infoMethod Edge\QA\OptionsTest::testBuildRootPath does not have a return type, expecting void
MissingReturnType
127127
infoParameter $analyzedDirs has no provided type
MissingParamType
127127
infoParameter $expectedRoot has no provided type
MissingParamType
127127
infoMethod Edge\QA\OptionsTest::provideAnalyzedDir does not have a return type, expecting array{'current dir + analyzed dir + slash': array{"src", non-empty-string}, 'file directory + skip invalid dir': array{"./non-existent-directory,phpqa", non-empty-string}, 'find common root from multiple dirs': array{"src,tests", non-empty-string}, 'no path when dir is invalid': array{"./non-existent-directory", ""}}
MissingReturnType
133133
infoMethod Edge\QA\OptionsTest::testLoadAllowedErrorsCount does not have a return type, expecting void
MissingReturnType
144144
infoMethod Edge\QA\OptionsTest::buildRunningTools does not have a return type
MissingReturnType
152152
tests/PathsTest.php
infoProperty Edge\QA\PathsTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\PathsTest or in any methods called in the constructor
PropertyNotSetInConstructor
55
infoProperty Edge\QA\PathsTest::$backupStaticAttributes is not defined in constructor of Edge\QA\PathsTest or in any methods called in the constructor
PropertyNotSetInConstructor
55
infoClass Edge\QA\PathsTest is never used
UnusedClass
55
infoMethod Edge\QA\PathsTest::testPathToBinaryIsEscaped does not have a return type, expecting void
MissingReturnType
77
tests/Report/ReportTest.php
infoProperty Edge\QA\ReportTest::$backupStaticAttributes is not defined in constructor of Edge\QA\ReportTest or in any private or final methods called in the constructor
PropertyNotSetInConstructor
55
infoProperty Edge\QA\ReportTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\ReportTest or in any private or final methods called in the constructor
PropertyNotSetInConstructor
55
infoClass Edge\QA\ReportTest is never used
UnusedClass
55
infoProperty Edge\QA\ReportTest::$output does not have a declared type - consider null|string
MissingPropertyType
77
infoProperty Edge\QA\ReportTest::$phplocXsl does not have a declared type - consider null|string
MissingPropertyType
88
infoProperty Edge\QA\ReportTest::$xmlParams does not have a declared type - consider array{'bootstrap.min.css': string, 'bootstrap.min.js': string, 'jquery.min.js': string}
MissingPropertyType
99
infovoid is a reserved word
ReservedWord
1111
infoMethod Edge\QA\ReportTest::testConvertTwigToHtml does not have a return type, expecting void
MissingReturnType
1717
infoMethod Edge\QA\ReportTest::testConvertXmlToHtml does not have a return type, expecting void
MissingReturnType
2424
infoParameter $xml has no provided type
MissingParamType
2424
infoParameter $assertOutput has no provided type
MissingParamType
2424
infoMethod Edge\QA\ReportTest::provideXml does not have a return type, expecting array{'create empty file if something went south': array{"invalid.xml", mixed}, 'create html': array{"phploc.xml", mixed}}
MissingReturnType
3030
infoMethod Edge\QA\ReportTest::testIgnoreMissingXmlDocuments does not have a return type, expecting void
MissingReturnType
3838
infovoid is a reserved word
ReservedWord
4444
tests/RunningToolTest.php
infoClass Edge\QA\RunningToolTest is never used
UnusedClass
66
infoProperty Edge\QA\RunningToolTest::$backupStaticAttributes is not defined in constructor of Edge\QA\RunningToolTest or in any methods called in the constructor
PropertyNotSetInConstructor
66
infoProperty Edge\QA\RunningToolTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\RunningToolTest or in any methods called in the constructor
PropertyNotSetInConstructor
66
infoProperty Edge\QA\RunningToolTest::$errorsCountInXmlFile does not have a declared type - consider int
MissingPropertyType
88
infoMethod Edge\QA\RunningToolTest::testBuildOptionWithDefinedSeparator does not have a return type, expecting void
MissingReturnType
1010
infoMethod Edge\QA\RunningToolTest::testMarkSuccessWhenXPathIsNotDefined does not have a return type, expecting void
MissingReturnType
1818
infoMethod Edge\QA\RunningToolTest::testMarkFailureWhenXmlFileDoesNotExist does not have a return type, expecting void
MissingReturnType
2525
infoParameter $allowedErrors has no provided type
MissingParamType
2525
infoParameter $expectedIsOk has no provided type
MissingParamType
2525
infoMethod Edge\QA\RunningToolTest::provideAllowedErrorsForNonexistentFile does not have a return type, expecting array{'success when allowed errors are not defined': array{null, true}, 'success when errors count are defined': array{mixed, false}}
MissingReturnType
3737
infoMethod Edge\QA\RunningToolTest::testCompareAllowedCountWithErrorsCountFromXml does not have a return type, expecting void
MissingReturnType
4646
infoParameter $allowedErrors has no provided type
MissingParamType
4646
infoParameter $isOk has no provided type
MissingParamType
4646
infoMethod Edge\QA\RunningToolTest::provideAllowedErrors does not have a return type, expecting array{'failure when errors count > allowed count': array{mixed, false}, 'success when allowed errors are not defined': array{null, true}, 'success when errors count <= allowed count': array{mixed, true}}
MissingReturnType
5656
infoMethod Edge\QA\RunningToolTest::testRuntimeSelectionOfErrorXpath does not have a return type, expecting void
MissingReturnType
6565
infoCannot create offset of type bool, expecting array-key
InvalidArrayOffset
6972
infoMethod Edge\QA\RunningToolTest::testMultipleXpaths does not have a return type, expecting void
MissingReturnType
8080
infoMethod Edge\QA\RunningToolTest::provideMultipleXpaths does not have a return type, expecting array{'invalid xpath': array{array{null}, array{false, "SimpleXMLElement::xpath(): Invalid expression"}}, 'multiple elements': array{array{"//errors/error", "//errors/warning"}, array{true, 3}}}
MissingReturnType
9292
infoMethod Edge\QA\RunningToolTest::testAnalyzeExitCodeInCliMode does not have a return type, expecting void
MissingReturnType
101101
infoParameter $allowedErrors has no provided type
MissingParamType
101101
infoParameter $exitCode has no provided type
MissingParamType
101101
info$tool->process expects 'Symfony\Component\Process\Process', parent type 'object' provided
PropertyTypeCoercion
109111
infoArgument 1 of Edge\QA\RunningToolTest::prophesize expects class-string|null, parent type "Symfony\\Component\\Process\\Process" provided
ArgumentTypeCoercion
109109
infoToo many arguments for method Prophecy\Prophecy\MethodProphecy::willreturn - saw 1
TooManyArguments
110110
infoMethod Edge\QA\RunningToolTest::provideProcess does not have a return type, expecting array{'failure when errors count > allowed count but errors count is always one': array{0, 2, array{false, 1}}, 'success when exit code <= allowed code': array{1, 1, array{true, 1}}, 'success when exit code = 0': array{0, 0, array{true, 0}}}
MissingReturnType
115115
infoMethod Edge\QA\RunningToolTest::testCreateUniqueIdForUserReport does not have a return type, expecting void
MissingReturnType
124124
infoProperty Edge\QA\RunningTool::$userReports does not have a declared type
MissingPropertyType
127127
tests/Tools/Analyzer/PhpstanTest.php
infoProperty Edge\QA\Tools\Analyzer\PhpstanTest::$runTestInSeparateProcess is not defined in constructor of Edge\QA\Tools\Analyzer\PhpstanTest or in any methods called in the constructor
PropertyNotSetInConstructor
77
infoProperty Edge\QA\Tools\Analyzer\PhpstanTest::$backupStaticAttributes is not defined in constructor of Edge\QA\Tools\Analyzer\PhpstanTest or in any methods called in the constructor
PropertyNotSetInConstructor
77
infoClass Edge\QA\Tools\Analyzer\PhpstanTest is never used
UnusedClass
77
infoProperty Edge\QA\Tools\Analyzer\PhpstanTest::$autoloadDirectories does not have a declared type - consider array{string}
MissingPropertyType
1010
infoProperty Edge\QA\Tools\Analyzer\PhpstanTest::$ignoredPaths does not have a declared type - consider array{string}
MissingPropertyType
1111
infoMethod Edge\QA\Tools\Analyzer\PhpstanTest::testBuildConfig does not have a return type, expecting void
MissingReturnType
1414
infoParameter $existingConfig has no provided type
MissingParamType
1414
infoParameter $expectedConfig has no provided type
MissingParamType
1414
infovoid is a reserved word
ReservedWord
1717
infoMethod Edge\QA\Tools\Analyzer\PhpstanTest::provideConfig does not have a return type, expecting array{'Deprecated excludes_analyse': array{existingConfig: array{parameters: array{excludes_analyse: array{"File.php"}, reportUnmatchedIgnoredErrors: false}}, expectedConfig: array{parameters: array{excludes_analyse: array{"File.php", "Test.php"}, reportUnmatchedIgnoredErrors: false}}}, 'No config': array{existingConfig: array<empty, empty>, expectedConfig: array{parameters: array{autoload_directories: mixed, excludePaths: array{analyseAndScan: mixed}}}}, 'No parameters in config': array{existingConfig: array{includes: mixed}, expectedConfig: array{includes: mixed, parameters: array{excludePaths: array{analyseAndScan: mixed}}}}, 'excludePaths + analyseAndScan': array{existingConfig: array{parameters: array{excludePaths: array{analyseAndScan: array{"File.php"}}}}, expectedConfig: array{parameters: array{excludePaths: array{analyseAndScan: array{"File.php", "Test.php"}}}}}, 'excludePaths shortcut': array{existingConfig: array{parameters: array{excludePaths: array{"File.php"}}}, expectedConfig: array{parameters: array{excludePaths: array{"File.php", "Test.php"}}}}}
MissingReturnType
2020