1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 14:37:49 +00:00
Files
matomo/phpstan-baseline.neon
Stefan Giehl c55d07a767 Write empty archive instead of skipping period without visits in archive cron (#23396)
* create empty archive when there are no visits

* don'T skip processing an invalidation if there are no visits

* Improve ArchiveCronTest on 5.x-dev state

* Avoid using local cache instance, so cache get's automatically cleared in tests

* only use website creation date for re archiving segments from beginning of time

* allow skipping recent date invalidation for tests

* fix some tests

* ensure to correctly create empty partial archives

* use correct method

* update phpstan baseline
2025-08-21 14:06:42 +02:00

7100 خطوط
263 KiB
Plaintext

parameters:
ignoreErrors:
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableGenericFilter.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/API/DataTableGenericFilter.php
-
message: "#^Method Piwik\\\\API\\\\DataTableGenericFilter\\:\\:applyGenericFilters\\(\\) should return bool but empty return statement found\\.$#"
count: 1
path: core/API/DataTableGenericFilter.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/API/DataTableGenericFilter.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/API/DataTableManipulator.php
-
message: "#^Method Piwik\\\\API\\\\DataTableManipulator\\:\\:loadSubtable\\(\\) should return Piwik\\\\DataTable but returns null\\.$#"
count: 2
path: core/API/DataTableManipulator.php
-
message: "#^PHPDoc tag @return has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 241$#"
count: 1
path: core/API/DataTableManipulator.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/API/DataTableManipulator/Flattener.php
-
message: "#^Strict comparison using \\=\\=\\= between Piwik\\\\DataTable and null will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableManipulator/Flattener.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableManipulator/LabelFilter.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: core/API/DataTableManipulator/LabelFilter.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/API/DataTableManipulator/LabelFilter.php
-
message: "#^Strict comparison using \\=\\=\\= between Piwik\\\\DataTable and null will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableManipulator/LabelFilter.php
-
message: "#^Call to an undefined method Piwik\\\\DataTable\\\\DataTableInterface\\:\\:getRows\\(\\)\\.$#"
count: 2
path: core/API/DataTableManipulator/ReportTotalsCalculator.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/API/DataTableManipulator/ReportTotalsCalculator.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: core/API/DataTableManipulator/ReportTotalsCalculator.php
-
message: "#^Property Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator\\:\\:\\$report \\(Piwik\\\\Plugin\\\\Report\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/API/DataTableManipulator/ReportTotalsCalculator.php
-
message: "#^Parameter \\#1 \\$apiModule of class Piwik\\\\API\\\\DataTableManipulator\\\\Flattener constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$apiModule of class Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$apiModule of class Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$dataTable of method Piwik\\\\API\\\\DataTableManipulator\\\\Flattener\\:\\:flatten\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$labels of method Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter\\:\\:filter\\(\\) expects string, array given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\API\\\\DataTableGenericFilter\\:\\:filter\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator\\:\\:calculate\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$apiMethod of class Piwik\\\\API\\\\DataTableManipulator\\\\Flattener constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$apiMethod of class Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$apiMethod of class Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$dataTable of method Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter\\:\\:filter\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, array given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 4
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 5
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/API/DocumentationGenerator.php
-
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#"
count: 1
path: core/API/Proxy.php
-
message: "#^Method Piwik\\\\API\\\\Request\\:\\:process\\(\\) has invalid return type Piwik\\\\API\\\\Map\\.$#"
count: 1
path: core/API/Request.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: core/API/Request.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 3
path: core/API/Request.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/API/Request.php
-
message: "#^Method Piwik\\\\API\\\\ResponseBuilder\\:\\:decorateExceptionWithDebugTrace\\(\\) should return Exception but returns Throwable\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Parameter \\#1 \\$exception of static method Piwik\\\\Plugins\\\\Monolog\\\\Processor\\\\ExceptionToTextProcessor\\:\\:getMessageAndWholeBacktrace\\(\\) expects array\\|Exception, Throwable given\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Property Piwik\\\\API\\\\ResponseBuilder\\:\\:\\$outputFormat is never read, only written\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Invoking callable on an unknown class Piwik\\\\callback\\.$#"
count: 2
path: core/Access.php
-
message: "#^Parameter \\#1 \\$request of static method Piwik\\\\API\\\\Request\\:\\:getMethodIfApiRequest\\(\\) expects array, null given\\.$#"
count: 1
path: core/Access.php
-
message: "#^Parameter \\$function of method Piwik\\\\Access\\:\\:doAsSuperUser\\(\\) has invalid type Piwik\\\\callback\\.$#"
count: 1
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$auth \\(Piwik\\\\Auth\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$login \\(string\\) does not accept null\\.$#"
count: 3
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$login \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$token_auth \\(string\\) does not accept null\\.$#"
count: 1
path: core/Access.php
-
message: "#^If condition is always true\\.$#"
count: 6
path: core/Application/Environment.php
-
message: "#^Method Piwik\\\\Application\\\\Kernel\\\\PluginList\\:\\:sortPlugins\\(\\) has invalid return type string\\.$#"
count: 1
path: core/Application/Kernel/PluginList.php
-
message: "#^Method Piwik\\\\Application\\\\Kernel\\\\PluginList\\:\\:sortPluginsAndRespectDependencies\\(\\) has invalid return type string\\.$#"
count: 1
path: core/Application/Kernel/PluginList.php
-
message: "#^Method Piwik\\\\Application\\\\Kernel\\\\PluginList\\:\\:sortPluginsAndRespectDependencies\\(\\) should return array\\<string\\> but returns array\\<string\\>\\.$#"
count: 1
path: core/Application/Kernel/PluginList.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/Archive.php
-
message: "#^Parameter \\#3 \\$idSubtable of method Piwik\\\\Archive\\:\\:get\\(\\) expects int\\|null, string given\\.$#"
count: 1
path: core/Archive.php
-
message: "#^Parameter \\#5 \\$plugin of method Piwik\\\\Plugins\\\\CoreAdminHome\\\\API\\:\\:archiveReports\\(\\) expects bool, \\(int\\|string\\) given\\.$#"
count: 1
path: core/Archive.php
-
message: "#^Static property Piwik\\\\Archive\\:\\:\\$cache \\(Matomo\\\\Cache\\\\Cache\\) does not accept null\\.$#"
count: 1
path: core/Archive.php
-
message: "#^Static property Piwik\\\\Archive\\:\\:\\$cache is never read, only written\\.$#"
count: 1
path: core/Archive.php
-
message: "#^Strict comparison using \\=\\=\\= between int\\|string\\|null and false will always evaluate to false\\.$#"
count: 1
path: core/Archive.php
-
message: "#^Method Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:getSegmentArchiving\\(\\) is unused\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^PHPDoc tag @param for parameter \\$pluginName with type int\\|string is not subtype of native type string\\|null\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$idSites$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$string$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$allIdSitesCache \\(array\\<int\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$allIdSitesCache is never written, only read\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$segmentArchiving \\(Piwik\\\\CronArchive\\\\SegmentArchiving\\) does not accept null\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$segmentArchiving \\(Piwik\\\\CronArchive\\\\SegmentArchiving\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Variable \\$entry might not be defined\\.$#"
count: 4
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Method Piwik\\\\Archive\\\\ArchivePurger\\:\\:getOldestTemporaryArchiveToKeepThreshold\\(\\) should return bool\\|int but returns string\\.$#"
count: 2
path: core/Archive/ArchivePurger.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$today\\)\\: Unexpected token \"\\$today\", expected type at offset 96$#"
count: 1
path: core/Archive/ArchivePurger.php
-
message: "#^Parameter \\#3 \\$oldestToKeep of method Piwik\\\\DataAccess\\\\Model\\:\\:getArchiveIdsForSegments\\(\\) expects string, bool\\|int given\\.$#"
count: 1
path: core/Archive/ArchivePurger.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchivePurger\\:\\:\\$today is never read, only written\\.$#"
count: 1
path: core/Archive/ArchivePurger.php
-
message: "#^Offset 'date1' does not exist on string\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Offset 'date2' does not exist on string\\.$#"
count: 2
path: core/Archive/ArchiveState.php
-
message: "#^Offset 'idsite' does not exist on string\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Offset 'ts_archived' does not exist on string\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Parameter \\#3 \\$archiveIdsFlipped of method Piwik\\\\Archive\\\\ArchiveState\\:\\:checkArchiveStates\\(\\) expects array\\<string, array\\<int, bool\\>\\>, array\\<string, array\\<int, \\(int\\|string\\)\\>\\> given\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: core/Archive/DataTableFactory.php
-
message: "#^Strict comparison using \\=\\=\\= between array and false will always evaluate to false\\.$#"
count: 1
path: core/Archive/DataTableFactory.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Method Piwik\\\\ArchiveProcessor\\:\\:areColumnsNotAlreadyRenamed\\(\\) should return Piwik\\\\Period but returns bool\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$operationToApply$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\:\\:\\$archive \\(Piwik\\\\Archive\\) does not accept Piwik\\\\Archive\\\\ArchiveQuery\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\:\\:\\$archive \\(Piwik\\\\Archive\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\:\\:\\$numberOfVisits \\(int\\) does not accept default value of type false\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Strict comparison using \\=\\=\\= between int and false will always evaluate to false\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$params$#"
count: 1
path: core/ArchiveProcessor/ArchivingStatus.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/ArchiveProcessor/Loader.php
-
message: "#^Parameter \\#1 \\$archiveOnlyReport of method Piwik\\\\ArchiveProcessor\\\\Parameters\\:\\:setArchiveOnlyReport\\(\\) expects array\\<string\\>\\|string, null given\\.$#"
count: 1
path: core/ArchiveProcessor/Loader.php
-
message: "#^Parameter \\#3 \\$period of method Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:markArchivesAsInvalidated\\(\\) expects string, false given\\.$#"
count: 1
path: core/ArchiveProcessor/Loader.php
-
message: "#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#"
count: 1
path: core/ArchiveProcessor/Parameters.php
-
message: "#^Call to function is_array\\(\\) with string\\|null will always evaluate to false\\.$#"
count: 1
path: core/ArchiveProcessor/Parameters.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\Parameters\\:\\:\\$requestedPlugin \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/ArchiveProcessor/Parameters.php
-
message: "#^Static property Piwik\\\\ArchiveProcessor\\\\PluginsArchiver\\:\\:\\$archivers \\(array\\<Piwik\\\\Plugin\\\\Archiver\\>\\) does not accept array\\<string, string\\>\\.$#"
count: 1
path: core/ArchiveProcessor/PluginsArchiver.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: core/ArchiveProcessor/PluginsArchiver.php
-
message: "#^Expression on left side of \\?\\? is not nullable\\.$#"
count: 2
path: core/ArchiveProcessor/RecordBuilder.php
-
message: "#^Method Piwik\\\\ArchiveProcessor\\\\Rules\\:\\:getSelectableDoneFlagValues\\(\\) should return array\\<string\\> but returns array\\<int, int\\>\\.$#"
count: 1
path: core/ArchiveProcessor/Rules.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: core/ArchiveProcessor/Rules.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: core/ArchiveProcessor/Rules.php
-
message: "#^Parameter \\#2 \\$assetFetcher of class Piwik\\\\AssetManager\\\\UIAssetMerger\\\\JScriptUIAssetMerger constructor expects Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\JScriptUIAssetFetcher, Piwik\\\\AssetManager\\\\UIAssetFetcher given\\.$#"
count: 1
path: core/AssetManager.php
-
message: "#^Parameter \\#2 \\$assetFetcher of class Piwik\\\\AssetManager\\\\UIAssetMerger\\\\JScriptUIAssetMerger constructor expects Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\JScriptUIAssetFetcher, Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\StaticUIAssetFetcher given\\.$#"
count: 1
path: core/AssetManager.php
-
message: "#^Parameter \\#3 \\$theme of class Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\StaticUIAssetFetcher constructor expects Piwik\\\\Theme, null given\\.$#"
count: 2
path: core/AssetManager.php
-
message: "#^PHPDoc tag @throws with type Piwik\\\\AssetManager\\\\Exception is not subtype of Throwable$#"
count: 1
path: core/AssetManager/UIAsset.php
-
message: "#^Property Piwik\\\\AssetManager\\\\UIAsset\\\\OnDiskUIAsset\\:\\:\\$relativeRootDir \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/AssetManager/UIAsset/OnDiskUIAsset.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/AssetManager/UIAsset/OnDiskUIAsset.php
-
message: "#^Default value of the parameter \\#1 \\$pluginNames \\(false\\) of method Piwik\\\\AssetManager\\\\UIAssetCacheBuster\\:\\:piwikVersionBasedCacheBuster\\(\\) is incompatible with type array\\<string\\>\\.$#"
count: 1
path: core/AssetManager/UIAssetCacheBuster.php
-
message: "#^Result of \\|\\| is always true\\.$#"
count: 1
path: core/AssetManager/UIAssetCacheBuster.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: core/AssetManager/UIAssetCacheBuster.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$uiAsset$#"
count: 1
path: core/AssetManager/UIAssetCatalog.php
-
message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher/JScriptUIAssetFetcher.php
-
message: "#^Parameter \\#3 \\$pending of static method Piwik\\\\Piwik\\:\\:postEvent\\(\\) expects bool, null given\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher/JScriptUIAssetFetcher.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher/StylesheetUIAssetFetcher.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/AssetManager/UIAssetMerger.php
-
message: "#^Parameter \\#3 \\$pending of static method Piwik\\\\Piwik\\:\\:postEvent\\(\\) expects bool, null given\\.$#"
count: 1
path: core/AssetManager/UIAssetMerger/JScriptUIAssetMerger.php
-
message: "#^Constant PASSWORD_ARGON2ID not found\\.$#"
count: 1
path: core/Auth/Password.php
-
message: "#^PHPDoc tag @param has invalid value \\(string\\)\\: Unexpected token \"\\\\n \\* \", expected variable at offset 193$#"
count: 1
path: core/Auth/Password.php
-
message: "#^Property Piwik\\\\Category\\\\Category\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: core/Category/Category.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:fetchAll\\(\\)\\.$#"
count: 1
path: core/Changes/Model.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:query\\(\\)\\.$#"
count: 2
path: core/Changes/Model.php
-
message: "#^Comparison operation \"\\>\" between int\\<1, max\\> and 0 is always true\\.$#"
count: 1
path: core/Changes/Model.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/Changes/Model.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Db\\\\AdapterInterface\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 3
path: core/Changes/Model.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/CliMulti.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/CliMulti.php
-
message: "#^Variable \\$response in empty\\(\\) always exists and is always falsy\\.$#"
count: 1
path: core/CliMulti.php
-
message: "#^Strict comparison using \\=\\=\\= between false and string\\|null will always evaluate to false\\.$#"
count: 1
path: core/CliMulti/Process.php
-
message: "#^Parameter \\#1 \\$environment of class Piwik\\\\Application\\\\Environment constructor expects string, null given\\.$#"
count: 1
path: core/CliMulti/RequestCommand.php
-
message: "#^Parameter \\#1 \\$numberOfSeconds of method Piwik\\\\Metrics\\\\Formatter\\:\\:getPrettyTimeFromSeconds\\(\\) expects int, float given\\.$#"
count: 1
path: core/Columns/Dimension.php
-
message: "#^Method Piwik\\\\Columns\\\\DimensionsProvider\\:\\:factory\\(\\) should return Piwik\\\\Columns\\\\Dimension but returns null\\.$#"
count: 1
path: core/Columns/DimensionsProvider.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$actionDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\ActionDimension\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$conversionDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\ConversionDimension\\>\\) does not accept array\\<Piwik\\\\Columns\\\\Dimension\\>\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$conversionDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\ConversionDimension\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$visitDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\VisitDimension\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Result of && is always false\\.$#"
count: 2
path: core/Columns/Updater.php
-
message: "#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Comparison operation \"\\<\" between int\\<2, 3\\> and 2 is always false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Method Piwik\\\\Common\\:\\:extractCountryCodeFromBrowserLanguage\\(\\) should return array but returns string\\.$#"
count: 3
path: core/Common.php
-
message: "#^Method Piwik\\\\Common\\:\\:getCountry\\(\\) should return string but returns array\\.$#"
count: 1
path: core/Common.php
-
message: "#^Method Piwik\\\\Common\\:\\:hashStringToInt\\(\\) should return int but returns string\\.$#"
count: 1
path: core/Common.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Strict comparison using \\=\\=\\= between false and float\\|string will always evaluate to false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Strict comparison using \\=\\=\\= between null and float\\|string will always evaluate to false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/Concurrency/DistributedList.php
-
message: "#^Method Piwik\\\\Config\\\\IniFileChain\\:\\:dumpChanges\\(\\) should return string but returns null\\.$#"
count: 1
path: core/Config/IniFileChain.php
-
message: "#^Parameter \\#2 \\$data of method Matomo\\\\Cache\\\\Backend\\\\File\\:\\:doSave\\(\\) expects string, array\\<string, mixed\\> given\\.$#"
count: 1
path: core/Config/IniFileChain.php
-
message: "#^Argument of an invalid type Piwik\\\\Application\\\\Kernel\\\\GlobalSettingsProvider supplied for foreach, only iterables are supported\\.$#"
count: 1
path: core/Container/IniConfigDefinitionSource.php
-
message: "#^Call to function is_null\\(\\) with float\\|int\\|string will always evaluate to false\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^Default value of the parameter \\#8 \\$sameSite \\(false\\) of method Piwik\\\\Cookie\\:\\:setCookie\\(\\) is incompatible with type string\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^PHPDoc tag @param has invalid value \\(string\\|integer Index name of the value to return\\)\\: Unexpected token \"Index\", expected variable at offset 99$#"
count: 1
path: core/Cookie.php
-
message: "#^Property Piwik\\\\Cookie\\:\\:\\$keyStore \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#"
count: 2
path: core/Cookie.php
-
message: "#^Dead catch \\- UnexpectedValueException is never thrown in the try block\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#1 \\$_restrictSitesToLogin of method Piwik\\\\Plugins\\\\SitesManager\\\\API\\:\\:getSitesIdWithAtLeastViewAccess\\(\\) expects bool, \\(int\\|string\\) given\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#1 \\$number of function round expects float, string given\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#1 \\$str of function urlencode expects string, true given\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#2 \\$minDatetimeArchiveProcessedUTC of static method Piwik\\\\DataAccess\\\\ArchiveSelector\\:\\:getArchiveIdAndVisits\\(\\) expects bool, Piwik\\\\Date\\|null given\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 3
path: core/CronArchive.php
-
message: "#^Property Piwik\\\\CronArchive\\:\\:\\$archivingStartingTime is never read, only written\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Property Piwik\\\\CronArchive\\:\\:\\$segmentArchiving \\(Piwik\\\\CronArchive\\\\SegmentArchiving\\) in empty\\(\\) is not falsy\\.$#"
count: 2
path: core/CronArchive.php
-
message: "#^Method Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:getPeriodsToProcess\\(\\) is unused\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Method Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:getRestrictToDateRange\\(\\) should return string\\|false but returns array\\<Piwik\\\\Date\\>\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Property Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:\\$restrictToDateRange \\(array\\<Piwik\\\\Date\\>\\) does not accept default value of type false\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Property Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:\\$restrictToDateRange \\(array\\<Piwik\\\\Date\\>\\) does not accept string\\|false\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/CronArchive/Performance/Logger.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: core/CronArchive/Performance/Logger.php
-
message: "#^Property Piwik\\\\CronArchive\\\\Performance\\\\Logger\\:\\:\\$isEnabled \\(int\\) does not accept bool\\.$#"
count: 1
path: core/CronArchive/Performance/Logger.php
-
message: "#^Property Piwik\\\\CronArchive\\\\Performance\\\\Logger\\:\\:\\$isEnabled \\(int\\) does not accept false\\.$#"
count: 1
path: core/CronArchive/Performance/Logger.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Method Piwik\\\\CronArchive\\\\QueueConsumer\\:\\:isArchiveNonSegmentAndInProgressArchiveSegment\\(\\) is unused\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Parameter \\#2 \\$minDatetimeArchiveProcessedUTC of static method Piwik\\\\DataAccess\\\\ArchiveSelector\\:\\:getArchiveIdAndVisits\\(\\) expects bool, Piwik\\\\Date given\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Property Piwik\\\\CronArchive\\\\QueueConsumer\\:\\:\\$idSite \\(int\\) does not accept null\\.$#"
count: 2
path: core/CronArchive/QueueConsumer.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Parameter \\#1 \\$subXPeriods of static method Piwik\\\\Period\\\\Range\\:\\:getDateXPeriodsAgo\\(\\) expects int, string given\\.$#"
count: 2
path: core/CronArchive/SegmentArchiving.php
-
message: "#^Property Piwik\\\\CronArchive\\\\SegmentArchiving\\:\\:\\$now is never read, only written\\.$#"
count: 1
path: core/CronArchive/SegmentArchiving.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, float given\\.$#"
count: 1
path: core/CronArchive/SharedSiteIds.php
-
message: "#^Call to function is_object\\(\\) with true will always evaluate to false\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Call to method fetch\\(\\) on an unknown class Piwik\\\\Tracker\\\\PDOStatement\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Offset 'idarchive' on non\\-empty\\-array in empty\\(\\) always exists and is not falsy\\.$#"
count: 2
path: core/DataAccess/ArchiveSelector.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 1330$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 733$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Parameter \\#1 \\$dateString of static method Piwik\\\\Date\\:\\:factory\\(\\) expects int\\|string, true given\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Strict comparison using \\=\\=\\= between int\\|string and null will always evaluate to false\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$isArchiveTemporary$#"
count: 1
path: core/DataAccess/ArchiveWriter.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\DataAccess\\\\ArchivingDbAdapter\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 2
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^Parameter \\#2 \\$options of function json_encode expects int, true given\\.$#"
count: 1
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^Property Piwik\\\\DataAccess\\\\ArchivingDbAdapter\\:\\:\\$maxExecutionTime \\(int\\) does not accept float\\.$#"
count: 1
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^Call to function is_array\\(\\) with string\\|true will always evaluate to false\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^PHPDoc tag @param for parameter \\$dimensions with type array\\|string is not subtype of native type array\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, bool given\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Db\\\\AdapterInterface\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^Parameter \\#2 \\$needle of function strpos expects int\\|string, true given\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^Ternary operator condition is always false\\.$#"
count: 1
path: core/DataAccess/LogAggregator.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 89$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^PHPDoc tag @var above a method has no effect\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^PHPDoc tag @var does not specify variable name\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^Parameter \\#3 \\$where of method Piwik\\\\DataAccess\\\\LogQueryBuilder\\:\\:buildSelectQuery\\(\\) expects string, false given\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^Parameter \\#6 \\$limitAndOffset of method Piwik\\\\DataAccess\\\\LogQueryBuilder\\:\\:buildSelectQuery\\(\\) expects int\\|string, null given\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:fetchCol\\(\\)\\.$#"
count: 2
path: core/DataAccess/Model.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$datesByPeriodType$#"
count: 1
path: core/DataAccess/Model.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$idSites$#"
count: 1
path: core/DataAccess/Model.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$oldestToKeep$#"
count: 1
path: core/DataAccess/Model.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Db\\\\AdapterInterface\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 1
path: core/DataAccess/Model.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$onlyMetricsAvailableInActionsTable$#"
count: 2
path: core/DataArray.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\DataTable\\\\Row will always evaluate to false\\.$#"
count: 12
path: core/DataTable.php
-
message: "#^Call to function is_string\\(\\) with mixed will always evaluate to false\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Instanceof between int and Piwik\\\\DataTable\\\\Row will always evaluate to false\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Method Piwik\\\\DataTable\\:\\:getRowIdFromLabel\\(\\) should return int but returns false\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^PHPDoc tag @param has invalid value \\(callable filter A function like `function \\(DataTable \\$thisTable, \\$otherTable1, \\$otherTable2\\) \\{\\}`\\.\\)\\: Unexpected token \"filter\", expected variable at offset 361$#"
count: 1
path: core/DataTable.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$values$#"
count: 1
path: core/DataTable.php
-
message: "#^Parameter \\#2 \\$return of function var_export expects bool, int given\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Property Piwik\\\\DataTable\\:\\:\\$rows \\(array\\<Piwik\\\\DataTable\\\\Row\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Property Piwik\\\\DataTable\\:\\:\\$summaryRow \\(Piwik\\\\DataTable\\\\Row\\) does not accept null\\.$#"
count: 2
path: core/DataTable.php
-
message: "#^Property Piwik\\\\DataTable\\:\\:\\$summaryRow \\(Piwik\\\\DataTable\\\\Row\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Property Piwik\\\\DataTable\\:\\:\\$summaryRow \\(Piwik\\\\DataTable\\\\Row\\) in isset\\(\\) is not nullable\\.$#"
count: 2
path: core/DataTable.php
-
message: "#^Property Piwik\\\\DataTable\\:\\:\\$tableSortedBy \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Property Piwik\\\\DataTable\\:\\:\\$totalsRow \\(Piwik\\\\DataTable\\\\Row\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: core/DataTable.php
-
message: "#^Constructor of class Piwik\\\\DataTable\\\\BaseFilter has an unused parameter \\$table\\.$#"
count: 1
path: core/DataTable/BaseFilter.php
-
message: "#^Constructor of class Piwik\\\\DataTable\\\\Filter\\\\AddColumnsProcessedMetricsGoal has an unused parameter \\$enable\\.$#"
count: 1
path: core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\AddSegmentByRangeLabel\\:\\:\\$delimiter is unused\\.$#"
count: 1
path: core/DataTable/Filter/AddSegmentByRangeLabel.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\AddSegmentByRangeLabel\\:\\:\\$segments is unused\\.$#"
count: 1
path: core/DataTable/Filter/AddSegmentByRangeLabel.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\AddSegmentBySegmentValue\\:\\:\\$report \\(Piwik\\\\Plugin\\\\Report\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/AddSegmentBySegmentValue.php
-
message: "#^Method Piwik\\\\DataTable\\\\Filter\\\\CalculateEvolutionFilter\\:\\:getDividend\\(\\) should return float\\|int but returns false\\.$#"
count: 1
path: core/DataTable/Filter/CalculateEvolutionFilter.php
-
message: "#^Return type \\(string\\) of method Piwik\\\\DataTable\\\\Filter\\\\ColumnCallbackAddColumnPercentage\\:\\:formatValue\\(\\) should be compatible with return type \\(float\\|int\\) of method Piwik\\\\DataTable\\\\Filter\\\\ColumnCallbackAddColumnQuotient\\:\\:formatValue\\(\\)$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackAddColumnQuotient.php
-
message: "#^Strict comparison using \\=\\=\\= between float\\|int and false will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackAddColumnQuotient.php
-
message: "#^Parameter \\$function of method Piwik\\\\DataTable\\\\Filter\\\\ColumnCallbackDeleteRow\\:\\:__construct\\(\\) has invalid type Piwik\\\\DataTable\\\\Filter\\\\callback\\.$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackDeleteRow.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\:\\:getColumn\\(\\) expects string, int given\\.$#"
count: 1
path: core/DataTable/Filter/ExcludeLowPopulation.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\Pattern\\:\\:\\$patternToSearch is never read, only written\\.$#"
count: 1
path: core/DataTable/Filter/Pattern.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PatternRecursive\\:\\:\\$patternToSearch is never read, only written\\.$#"
count: 1
path: core/DataTable/Filter/PatternRecursive.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:getColumn\\(\\) expects string, int\\<min, \\-1\\>\\|int\\<1, max\\> given\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PivotByDimension\\:\\:\\$pivotByDimension \\(Piwik\\\\Columns\\\\Dimension\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PivotByDimension\\:\\:\\$pivotDimensionReport \\(Piwik\\\\Plugin\\\\Report\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PivotByDimension\\:\\:\\$thisReportDimensionSegment \\(Piwik\\\\Plugin\\\\Segment\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Parameter \\$doSortBySecondaryColumn of method Piwik\\\\DataTable\\\\Filter\\\\Sort\\:\\:__construct\\(\\) has invalid type Piwik\\\\DataTable\\\\Filter\\\\callback\\.$#"
count: 1
path: core/DataTable/Filter/Sort.php
-
message: "#^Instanceof between Piwik\\\\DataTable\\|false and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Map.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$subDataTableMap Map\\)\\: Unexpected token \"\\$subDataTableMap\", expected type at offset 9$#"
count: 1
path: core/DataTable/Map.php
-
message: "#^Call to function is_array\\(\\) with Piwik\\\\DataTable\\\\DataTableInterface will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Property Piwik\\\\DataTable\\\\Renderer\\:\\:\\$apiMetaData \\(array\\) does not accept false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Property Piwik\\\\DataTable\\\\Renderer\\:\\:\\$idSite \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\|null and false will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Csv.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: core/DataTable/Renderer/Csv.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\DataTable\\\\Renderer\\\\Html\\:\\:buildTableStructure\\(\\) expects Piwik\\\\DataTable\\|Piwik\\\\DataTable\\\\Map, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/DataTable/Renderer/Html.php
-
message: "#^Call to function is_array\\(\\) with Piwik\\\\DataTable will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\DataTable will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\DataTable\\\\Simple will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 2
path: core/DataTable/Renderer/Json.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/DataTable/Renderer/Rss.php
-
message: "#^Comparison operation \"\\!\\=\" between array and 0 results in an error\\.$#"
count: 1
path: core/DataTable/Renderer/Xml.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 2
path: core/DataTable/Renderer/Xml.php
-
message: "#^Instanceof between array and Piwik\\\\DataTable\\\\Simple will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Xml.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\DataTable\\\\Renderer\\\\Xml\\:\\:renderTable\\(\\) expects Piwik\\\\DataTable\\|Piwik\\\\DataTable\\\\Map, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/DataTable/Renderer/Xml.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/DataTable/Renderer/Xml.php
-
message: "#^Call to function is_array\\(\\) with 'array'\\|'boolean'\\|'double'\\|'integer'\\|'NULL'\\|'object'\\|'resource'\\|'resource \\(closed\\)'\\|'string'\\|'unknown type' will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Row.php
-
message: "#^Method Piwik\\\\DataTable\\\\Row\\:\\:compareElements\\(\\) should return bool but returns int\\.$#"
count: 4
path: core/DataTable/Row.php
-
message: "#^Method Piwik\\\\DataTable\\\\Row\\:\\:compareElements\\(\\) should return bool but returns int\\<\\-1, 1\\>\\.$#"
count: 1
path: core/DataTable/Row.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:getColumn\\(\\) expects string, int given\\.$#"
count: 2
path: core/DataTable/Row.php
-
message: "#^Parameter \\#3 \\$data_comp_func of function array_udiff expects callable\\(mixed, mixed\\)\\: int, array\\{'Piwik\\\\\\\\DataTable\\\\\\\\Row', 'compareElements'\\} given\\.$#"
count: 2
path: core/DataTable/Row.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\|float\\|int and false will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Row.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/DataTable/Row.php
-
message: "#^Binary operation \"\\+\" between string and 1 results in an error\\.$#"
count: 2
path: core/Date.php
-
message: "#^Binary operation \"\\-\" between string and 1 results in an error\\.$#"
count: 2
path: core/Date.php
-
message: "#^Instanceof between int\\|string and Piwik\\\\Date will always evaluate to false\\.$#"
count: 1
path: core/Date.php
-
message: "#^Method Piwik\\\\Date\\:\\:extractUtcOffset\\(\\) should return bool\\|int but returns float\\.$#"
count: 1
path: core/Date.php
-
message: "#^Parameter \\#1 \\$hour of function mktime expects int, string given\\.$#"
count: 4
path: core/Date.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: core/Date.php
-
message: "#^Parameter \\#2 \\$min of function mktime expects int, string given\\.$#"
count: 4
path: core/Date.php
-
message: "#^Parameter \\#3 \\$sec of function mktime expects int, string given\\.$#"
count: 4
path: core/Date.php
-
message: "#^Parameter \\#4 \\$mon of function mktime expects int, string given\\.$#"
count: 3
path: core/Date.php
-
message: "#^Parameter \\#5 \\$day of function mktime expects int, string given\\.$#"
count: 1
path: core/Date.php
-
message: "#^Parameter \\#6 \\$year of function mktime expects int, string given\\.$#"
count: 3
path: core/Date.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:exec\\(\\)\\.$#"
count: 1
path: core/Db.php
-
message: "#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#"
count: 1
path: core/Db.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Db\\\\AdapterInterface\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 3
path: core/Db.php
-
message: "#^Cannot access property \\$server_version on object\\|resource\\.$#"
count: 1
path: core/Db/Adapter/Mysqli.php
-
message: "#^Cannot call method query\\(\\) on object\\|resource\\.$#"
count: 1
path: core/Db/Adapter/Mysqli.php
-
message: "#^Cannot call method exec\\(\\) on object\\|resource\\.$#"
count: 2
path: core/Db/Adapter/Pdo/Mysql.php
-
message: "#^Cannot call method getAttribute\\(\\) on object\\|resource\\.$#"
count: 1
path: core/Db/Adapter/Pdo/Mysql.php
-
message: "#^Cannot call method setAttribute\\(\\) on object\\|resource\\.$#"
count: 1
path: core/Db/Adapter/Pdo/Mysql.php
-
message: "#^Method Piwik\\\\Db\\\\Adapter\\\\Pdo\\\\Mysql\\:\\:getClientVersion\\(\\) should return string but returns null\\.$#"
count: 1
path: core/Db/Adapter/Pdo/Mysql.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Db\\\\Adapter\\\\Pdo\\\\Mysql\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 1
path: core/Db/Adapter/Pdo/Mysql.php
-
message: "#^Call to function is_null\\(\\) with mixed will always evaluate to false\\.$#"
count: 1
path: core/Db/BatchInsert.php
-
message: "#^Comparison operation \"\\<\" between int\\<min, \\-1\\>\\|int\\<1, max\\>\\|Zend_Db_Statement and 0 results in an error\\.$#"
count: 1
path: core/Db/BatchInsert.php
-
message: "#^Method Piwik\\\\Db\\\\Schema\\:\\:hasReachedEOL\\(\\) should return string but returns bool\\.$#"
count: 1
path: core/Db/Schema.php
-
message: "#^Method Piwik\\\\Db\\\\SchemaInterface\\:\\:dropDatabase\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 1
path: core/Db/Schema.php
-
message: "#^PHPDoc tag @param for parameter \\$tables with type array\\|string is not subtype of native type array\\.$#"
count: 1
path: core/Db/Schema.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:fetchCol\\(\\)\\.$#"
count: 1
path: core/Db/Schema/Mysql.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/Db/Schema/Mysql.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:closeConnection\\(\\)\\.$#"
count: 1
path: core/DbHelper.php
-
message: "#^Call to method rowCount\\(\\) on an unknown class Piwik\\\\Tracker\\\\PDOStatement\\.$#"
count: 1
path: core/DbHelper.php
-
message: "#^Parameter \\#1 \\$exception of static method Piwik\\\\Plugins\\\\Monolog\\\\Processor\\\\ExceptionToTextProcessor\\:\\:getMessageAndWholeBacktrace\\(\\) expects array\\|Exception, Throwable given\\.$#"
count: 1
path: core/ExceptionHandler.php
-
message: "#^Right side of && is always false\\.$#"
count: 1
path: core/ExceptionHandler.php
-
message: "#^Method Piwik\\\\FileIntegrity\\:\\:getDirectoryParentFromList\\(\\) should return string but returns null\\.$#"
count: 1
path: core/FileIntegrity.php
-
message: "#^Method Piwik\\\\Filesystem\\:\\:getFileSize\\(\\) should return float\\|null but empty return statement found\\.$#"
count: 1
path: core/Filesystem.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: core/Filesystem.php
-
message: "#^PHPDoc tag @param for parameter \\$beforeUnlink with type Closure\\|false is not subtype of native type Closure\\|null\\.$#"
count: 1
path: core/Filesystem.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 2
path: core/FrontController.php
-
message: "#^Parameter \\#1 \\$e of method Piwik\\\\FrontController\\:\\:generateSafeModeOutputFromException\\(\\) expects Exception, Error given\\.$#"
count: 1
path: core/FrontController.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: core/FrontController.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/FrontController.php
-
message: "#^Result of && is always false\\.$#"
count: 2
path: core/FrontController.php
-
message: "#^Method Piwik\\\\Http\\:\\:sendHttpRequestBy\\(\\) should return array\\|string but returns false\\.$#"
count: 1
path: core/Http.php
-
message: "#^Method Piwik\\\\Http\\:\\:sendHttpRequestBy\\(\\) should return array\\|string but returns true\\.$#"
count: 2
path: core/Http.php
-
message: "#^Offset 'data' does not exist on bool\\|string\\.$#"
count: 1
path: core/Http.php
-
message: "#^Offset 'data' does not exist on string\\|true\\.$#"
count: 1
path: core/Http.php
-
message: "#^Offset 'status' does not exist on string\\|true\\.$#"
count: 1
path: core/Http.php
-
message: "#^Parameter \\#1 \\$str of function trim expects string, null given\\.$#"
count: 1
path: core/Http.php
-
message: "#^Parameter \\#2 \\$newvalue of function ini_set expects string, int given\\.$#"
count: 1
path: core/Http.php
-
message: "#^Parameter \\#2 \\$use_include_path of function file_get_contents expects bool, int given\\.$#"
count: 1
path: core/Http.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<min, \\-1\\>\\|int\\<1, max\\> given\\.$#"
count: 1
path: core/Http.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 2
path: core/Http.php
-
message: "#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#"
count: 2
path: core/Http.php
-
message: "#^Strict comparison using \\=\\=\\= between int and false will always evaluate to false\\.$#"
count: 1
path: core/Http.php
-
message: "#^Variable \\$headers in empty\\(\\) always exists and is always falsy\\.$#"
count: 1
path: core/Http.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$controller Controller\\)\\: Unexpected token \"\\$controller\", expected type at offset 9$#"
count: 1
path: core/Http/ControllerResolver.php
-
message: "#^Method Piwik\\\\Intl\\\\Data\\\\Provider\\\\DateTimeFormatProvider\\:\\:getFormatPattern\\(\\) should return string but returns int\\.$#"
count: 1
path: core/Intl/Data/Provider/DateTimeFormatProvider.php
-
message: "#^Static property Piwik\\\\Log\\:\\:\\$instance \\(Piwik\\\\Log\\) does not accept null\\.$#"
count: 1
path: core/Log.php
-
message: "#^Parameter \\#6 \\$willDelete of method Piwik\\\\DataAccess\\\\RawLogDao\\:\\:forAllLogs\\(\\) expects string, true given\\.$#"
count: 1
path: core/LogDeleter.php
-
message: "#^Property Piwik\\\\LogDeleter\\:\\:\\$logTablesProvider is never read, only written\\.$#"
count: 1
path: core/LogDeleter.php
-
message: "#^Parameter \\#1 \\$num of function dechex expects int, string given\\.$#"
count: 3
path: core/Mail/EmailStyles.php
-
message: "#^Parameter \\#1 \\$name of static method Piwik\\\\Container\\\\StaticContainer\\:\\:get\\(\\) expects string, stdClass given\\.$#"
count: 1
path: core/Measurable/Type/TypeManager.php
-
message: "#^Default value of the parameter \\#8 \\$attribute \\(false\\) of method Piwik\\\\Menu\\\\MenuAbstract\\:\\:addItem\\(\\) is incompatible with type string\\.$#"
count: 1
path: core/Menu/MenuAbstract.php
-
message: "#^Method Piwik\\\\Menu\\\\MenuAbstract\\:\\:menuCompare\\(\\) should return bool but returns int\\.$#"
count: 7
path: core/Menu/MenuAbstract.php
-
message: "#^Method Piwik\\\\Menu\\\\MenuAbstract\\:\\:menuCompare\\(\\) should return bool but returns int\\<\\-1, 1\\>\\.$#"
count: 1
path: core/Menu/MenuAbstract.php
-
message: "#^Parameter \\#1 \\$name of static method Piwik\\\\Container\\\\StaticContainer\\:\\:get\\(\\) expects string, stdClass given\\.$#"
count: 1
path: core/Menu/MenuAbstract.php
-
message: "#^Result of && is always false\\.$#"
count: 3
path: core/Menu/MenuAbstract.php
-
message: "#^Variable \\$unit in empty\\(\\) always exists and is always falsy\\.$#"
count: 1
path: core/Metrics.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/Metrics/Formatter.php
-
message: "#^Method Piwik\\\\Metrics\\\\Sorter\\:\\:getPrimaryColumnToSort\\(\\) should return int but returns string\\.$#"
count: 1
path: core/Metrics/Sorter.php
-
message: "#^Access to an undefined property Piwik\\\\Session\\\\SessionNamespace\\:\\:\\$nonce\\.$#"
count: 3
path: core/Nonce.php
-
message: "#^Parameter \\#1 \\$default of static method Piwik\\\\Url\\:\\:getCurrentHost\\(\\) expects string, null given\\.$#"
count: 1
path: core/Nonce.php
-
message: "#^Property Piwik\\\\Notification\\:\\:\\$priority \\(int\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Notification.php
-
message: "#^Access to an undefined property Piwik\\\\Session\\\\SessionNamespace\\:\\:\\$notifications\\.$#"
count: 7
path: core/Notification/Manager.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/Notification/Manager.php
-
message: "#^Method Piwik\\\\Notification\\\\Manager\\:\\:getAllNotificationsToDisplay\\(\\) should return ArrayObject but returns array\\.$#"
count: 1
path: core/Notification/Manager.php
-
message: "#^Static property Piwik\\\\Notification\\\\Manager\\:\\:\\$session \\(Piwik\\\\Session\\\\SessionNamespace\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Notification/Manager.php
-
message: "#^Unsafe access to private property Piwik\\\\Notification\\\\Manager\\:\\:\\$session through static\\:\\:\\.$#"
count: 5
path: core/Notification/Manager.php
-
message: "#^Unsafe call to private method Piwik\\\\Notification\\\\Manager\\:\\:getAllNotifications\\(\\) through static\\:\\:\\.$#"
count: 2
path: core/Notification/Manager.php
-
message: "#^Unsafe call to private method Piwik\\\\Notification\\\\Manager\\:\\:getSession\\(\\) through static\\:\\:\\.$#"
count: 4
path: core/Notification/Manager.php
-
message: "#^Unsafe call to private method Piwik\\\\Notification\\\\Manager\\:\\:removeNotification\\(\\) through static\\:\\:\\.$#"
count: 1
path: core/Notification/Manager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$maximumFractionDigits$#"
count: 2
path: core/NumberFormatter.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$minimumFractionDigits$#"
count: 2
path: core/NumberFormatter.php
-
message: "#^Parameter \\#1 \\$number of function round expects float, string given\\.$#"
count: 1
path: core/NumberFormatter.php
-
message: "#^Parameter \\#1 \\$valueLength of method Piwik\\\\NumberFormatter\\:\\:getMaxFractionDigitsForCompactFormat\\(\\) expects int, float given\\.$#"
count: 2
path: core/NumberFormatter.php
-
message: "#^Parameter \\#2 \\$array of function implode expects array\\<string\\>, array\\<int, array\\<int, string\\>\\> given\\.$#"
count: 1
path: core/NumberFormatter.php
-
message: "#^Parameter \\#2 \\$str of function explode expects string, float given\\.$#"
count: 1
path: core/NumberFormatter.php
-
message: "#^PHPDoc tag @param has invalid value \\(mixed\\)\\: Unexpected token \"\\\\n \\* \", expected variable at offset 88$#"
count: 1
path: core/Option.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$autoLoad$#"
count: 1
path: core/Option.php
-
message: "#^PHPDoc tag @param for parameter \\$timezone with type array\\<Piwik\\\\Date\\> is incompatible with native type string\\.$#"
count: 1
path: core/Period.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$today$#"
count: 1
path: core/Period.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$currentPeriod Period\\)\\: Unexpected token \"\\$currentPeriod\", expected type at offset 9$#"
count: 2
path: core/Period.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 2
path: core/Period/Day.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 2
path: core/Period/Month.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: core/Period/Range.php
-
message: "#^Parameter \\#2 \\$strDate of class Piwik\\\\Period\\\\Range constructor expects string, int given\\.$#"
count: 1
path: core/Period/Range.php
-
message: "#^Binary operation \"\\-\" between string and 1 results in an error\\.$#"
count: 1
path: core/Period/Week.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: core/Period/Year.php
-
message: "#^Result of && is always true\\.$#"
count: 1
path: core/Piwik.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 1
path: core/Piwik.php
-
message: "#^Strict comparison using \\=\\=\\= between 0\\|numeric\\-string and null will always evaluate to false\\.$#"
count: 1
path: core/Piwik.php
-
message: "#^Strict comparison using \\=\\=\\= between float\\|int\\<min, \\-1\\>\\|int\\<1, max\\> and '\\-' will always evaluate to false\\.$#"
count: 1
path: core/Piwik.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/Piwik.php
-
message: "#^Call to function is_null\\(\\) with Matomo\\\\Cache\\\\Eager will always evaluate to false\\.$#"
count: 1
path: core/Plugin.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: core/Plugin.php
-
message: "#^Parameter \\#1 \\$numberOfSeconds of method Piwik\\\\Metrics\\\\Formatter\\:\\:getPrettyTimeFromSeconds\\(\\) expects int, float given\\.$#"
count: 1
path: core/Plugin/ArchivedMetric.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/Plugin/ArchivedMetric.php
-
message: "#^Invoking callable on an unknown class Piwik\\\\Plugin\\\\callback\\.$#"
count: 1
path: core/Plugin/ComponentFactory.php
-
message: "#^Parameter \\$predicate of method Piwik\\\\Plugin\\\\ComponentFactory\\:\\:getComponentIf\\(\\) has invalid type Piwik\\\\Plugin\\\\callback\\.$#"
count: 1
path: core/Plugin/ComponentFactory.php
-
message: "#^Parameter \\#1 \\$numberOfSeconds of method Piwik\\\\Metrics\\\\Formatter\\:\\:getPrettyTimeFromSeconds\\(\\) expects int, \\(float\\|false\\) given\\.$#"
count: 1
path: core/Plugin/ComputedMetric.php
-
message: "#^Parameter \\#1 \\$numberOfSeconds of method Piwik\\\\Metrics\\\\Formatter\\:\\:getPrettyTimeFromSeconds\\(\\) expects int, float given\\.$#"
count: 1
path: core/Plugin/ComputedMetric.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/Plugin/ComputedMetric.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$ouput$#"
count: 1
path: core/Plugin/ConsoleCommand.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\Site will always evaluate to false\\.$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^Default value of the parameter \\#3 \\$columnsToDisplay \\(false\\) of method Piwik\\\\Plugin\\\\Controller\\:\\:getLastUnitGraphAcrossPlugins\\(\\) is incompatible with type array\\.$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$fetch$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$viewType$#"
count: 2
path: core/Plugin/Controller.php
-
message: "#^Parameter \\#2 \\$action of method Piwik\\\\FrontController\\:\\:dispatch\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^Parameter \\#3 \\$date of method Piwik\\\\Plugins\\\\API\\\\API\\:\\:getReportMetadata\\(\\) expects bool\\|Piwik\\\\Date, string given\\.$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^Property Piwik\\\\Plugin\\\\Controller\\:\\:\\$site \\(Piwik\\\\Site\\) in empty\\(\\) is not falsy\\.$#"
count: 2
path: core/Plugin/Controller.php
-
message: "#^Property Piwik\\\\Plugin\\\\Controller\\:\\:\\$site \\(Piwik\\\\Site\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^Result of && is always true\\.$#"
count: 1
path: core/Plugin/Controller.php
-
message: "#^Right side of && is always true\\.$#"
count: 2
path: core/Plugin/Controller.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: core/Plugin/Dimension/VisitDimension.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/Plugin/LogTablesProvider.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/Plugin/LogTablesProvider.php
-
message: "#^Method Piwik\\\\Plugin\\\\LogTablesProvider\\:\\:getLogTable\\(\\) should return Piwik\\\\Tracker\\\\LogTable\\|null but return statement is missing\\.$#"
count: 1
path: core/Plugin/LogTablesProvider.php
-
message: "#^Property Piwik\\\\Plugin\\\\LogTablesProvider\\:\\:\\$tablesCache \\(array\\<Piwik\\\\Tracker\\\\LogTable\\>\\) does not accept null\\.$#"
count: 1
path: core/Plugin/LogTablesProvider.php
-
message: "#^Property Piwik\\\\Plugin\\\\LogTablesProvider\\:\\:\\$tablesCache \\(array\\<Piwik\\\\Tracker\\\\LogTable\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Plugin/LogTablesProvider.php
-
message: "#^Method Piwik\\\\Plugin\\\\Manager\\:\\:findComponents\\(\\) should return array\\<stdClass\\> but returns array\\<int\\<0, max\\>, string\\>\\.$#"
count: 1
path: core/Plugin/Manager.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 55$#"
count: 1
path: core/Plugin/Manager.php
-
message: "#^Parameter \\#1 \\$piwikVersion of method Piwik\\\\Plugin\\:\\:hasMissingDependencies\\(\\) expects null, string given\\.$#"
count: 1
path: core/Plugin/Manager.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: core/Plugin/Manager.php
-
message: "#^Parameter \\#3 \\$allDimensions of method Piwik\\\\Plugin\\\\Manager\\:\\:uninstallDimension\\(\\) expects array\\<Piwik\\\\Plugin\\\\Dimension\\\\ActionDimension\\|Piwik\\\\Plugin\\\\Dimension\\\\ConversionDimension\\|Piwik\\\\Plugin\\\\Dimension\\\\VisitDimension\\>, array\\<Piwik\\\\Columns\\\\Dimension\\> given\\.$#"
count: 1
path: core/Plugin/Manager.php
-
message: "#^Right side of \\|\\| is always false\\.$#"
count: 1
path: core/Plugin/Manager.php
-
message: "#^Parameter \\#1 \\$defaultDate of method Piwik\\\\Plugins\\\\UsersManager\\\\UserPreferences\\:\\:getDefaultPeriod\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/Plugin/Menu.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: core/Plugin/Menu.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/Plugin/Report.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/Plugin/Report.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$dimension \\(Piwik\\\\Columns\\\\Dimension\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/Plugin/Report.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: core/Plugin/ReportsProvider.php
-
message: "#^Method Piwik\\\\Plugin\\\\SettingsProvider\\:\\:getMeasurableSettings\\(\\) should return Piwik\\\\Settings\\\\Measurable\\\\MeasurableSettings\\|null but return statement is missing\\.$#"
count: 1
path: core/Plugin/SettingsProvider.php
-
message: "#^Method Piwik\\\\Plugin\\\\SettingsProvider\\:\\:getSystemSettings\\(\\) should return Piwik\\\\Settings\\\\Plugin\\\\SystemSettings\\|null but return statement is missing\\.$#"
count: 1
path: core/Plugin/SettingsProvider.php
-
message: "#^Method Piwik\\\\Plugin\\\\SettingsProvider\\:\\:getUserSettings\\(\\) should return Piwik\\\\Settings\\\\Plugin\\\\UserSettings\\|null but return statement is missing\\.$#"
count: 1
path: core/Plugin/SettingsProvider.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\DataTable will always evaluate to false\\.$#"
count: 2
path: core/Plugin/ViewDataTable.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 138$#"
count: 1
path: core/Plugin/ViewDataTable.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: core/Plugin/ViewDataTable.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$filter_excludelowpop_value \\(Closure\\|string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Plugin/ViewDataTable.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/Plugin/ViewDataTable.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\DataTable will always evaluate to false\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 3
path: core/Plugin/Visualization.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Parameter \\#1 \\$dataTable of method Piwik\\\\Plugin\\\\ViewDataTable\\:\\:setDataTable\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 2
path: core/Plugin/Visualization.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Parameter \\#2 \\$return of function print_r expects bool, int given\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: core/Plugin/Visualization.php
-
message: "#^Property Piwik\\\\Plugin\\\\ViewDataTable\\:\\:\\$dataTable \\(Piwik\\\\DataTable\\) in empty\\(\\) is not falsy\\.$#"
count: 3
path: core/Plugin/Visualization.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/Plugin/Visualization.php
-
message: "#^Method Piwik\\\\Plugin\\\\WidgetsProvider\\:\\:factory\\(\\) should return Piwik\\\\Widget\\\\Widget\\|null but empty return statement found\\.$#"
count: 3
path: core/Plugin/WidgetsProvider.php
-
message: "#^Method Piwik\\\\Plugin\\\\WidgetsProvider\\:\\:factory\\(\\) should return Piwik\\\\Widget\\\\Widget\\|null but return statement is missing\\.$#"
count: 1
path: core/Plugin/WidgetsProvider.php
-
message: "#^Variable \\$widgetContainer in PHPDoc tag @var does not match assigned variable \\$widgets\\.$#"
count: 1
path: core/Plugin/WidgetsProvider.php
-
message: "#^Method Piwik\\\\ProfessionalServices\\\\Advertising\\:\\:getCampaignParametersForPromoUrl\\(\\) is unused\\.$#"
count: 1
path: core/ProfessionalServices/Advertising.php
-
message: "#^Property Piwik\\\\ProfessionalServices\\\\Advertising\\:\\:\\$pluginManager is never read, only written\\.$#"
count: 1
path: core/ProfessionalServices/Advertising.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:getProfiler\\(\\)\\.$#"
count: 3
path: core/Profiler.php
-
message: "#^Constant TIDEWAYS_FLAGS_CPU not found\\.$#"
count: 1
path: core/Profiler.php
-
message: "#^Constant TIDEWAYS_FLAGS_MEMORY not found\\.$#"
count: 1
path: core/Profiler.php
-
message: "#^Constant TIDEWAYS_XHPROF_FLAGS_CPU not found\\.$#"
count: 1
path: core/Profiler.php
-
message: "#^Constant TIDEWAYS_XHPROF_FLAGS_MEMORY not found\\.$#"
count: 1
path: core/Profiler.php
-
message: "#^Static method Piwik\\\\Profiler\\:\\:maxSumMsFirst\\(\\) is unused\\.$#"
count: 1
path: core/Profiler.php
-
message: "#^Static method Piwik\\\\Profiler\\:\\:sortTimeDesc\\(\\) is unused\\.$#"
count: 1
path: core/Profiler.php
-
message: "#^Variable \\$xhprofData might not be defined\\.$#"
count: 1
path: core/Profiler.php
-
message: "#^Method Piwik\\\\ProxyHeaders\\:\\:getProtocolInformation\\(\\) should return string but returns null\\.$#"
count: 1
path: core/ProxyHeaders.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$expireFarFuture$#"
count: 1
path: core/ProxyHttp.php
-
message: "#^Call to an undefined method HTML_QuickForm2_Renderer_Proxy\\:\\:toArray\\(\\)\\.$#"
count: 1
path: core/QuickForm2.php
-
message: "#^PHPDoc tag @throws with type HTML_QuickForm2_InvalidArgumentException\\|HTML_QuickForm2_NotFoundException is not subtype of Throwable$#"
count: 1
path: core/QuickForm2.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: core/RankingQuery.php
-
message: "#^Property Piwik\\\\RankingQuery\\:\\:\\$columnToMarkExcludedRows \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/RankingQuery.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/RankingQuery.php
-
message: "#^Parameter \\#1 \\$viewDataTableId of method Piwik\\\\Report\\\\ReportWidgetConfig\\:\\:setDefaultViewDataTable\\(\\) expects string, null given\\.$#"
count: 1
path: core/Report/ReportWidgetFactory.php
-
message: "#^Parameter \\#1 \\$im of function imagedestroy expects resource, Piwik\\\\API\\\\Map\\|Piwik\\\\DataTable\\|string given\\.$#"
count: 1
path: core/ReportRenderer.php
-
message: "#^Parameter \\#1 \\$im of function imagepng expects resource, Piwik\\\\API\\\\Map\\|Piwik\\\\DataTable\\|string given\\.$#"
count: 1
path: core/ReportRenderer.php
-
message: "#^Method Piwik\\\\DataTable\\\\Renderer\\\\Csv\\:\\:render\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 1
path: core/ReportRenderer/Csv.php
-
message: "#^Method Piwik\\\\Request\\:\\:fromGet\\(\\) should return static\\(Piwik\\\\Request\\) but returns Piwik\\\\Request\\.$#"
count: 1
path: core/Request.php
-
message: "#^Method Piwik\\\\Request\\:\\:fromPost\\(\\) should return static\\(Piwik\\\\Request\\) but returns Piwik\\\\Request\\.$#"
count: 1
path: core/Request.php
-
message: "#^Method Piwik\\\\Request\\:\\:fromQueryString\\(\\) should return static\\(Piwik\\\\Request\\) but returns Piwik\\\\Request\\.$#"
count: 1
path: core/Request.php
-
message: "#^Method Piwik\\\\Request\\:\\:fromRequest\\(\\) should return static\\(Piwik\\\\Request\\) but returns Piwik\\\\Request\\.$#"
count: 1
path: core/Request.php
-
message: "#^Parameter \\#1 \\$hour of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Daily.php
-
message: "#^Parameter \\#2 \\$min of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Daily.php
-
message: "#^Parameter \\#3 \\$sec of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Daily.php
-
message: "#^Parameter \\#4 \\$mon of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Daily.php
-
message: "#^Parameter \\#6 \\$year of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Daily.php
-
message: "#^Parameter \\#3 \\$sec of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Hourly.php
-
message: "#^Parameter \\#4 \\$mon of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Hourly.php
-
message: "#^Parameter \\#5 \\$day of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Hourly.php
-
message: "#^Parameter \\#6 \\$year of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Hourly.php
-
message: "#^Parameter \\#1 \\$hour of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Monthly.php
-
message: "#^Parameter \\#2 \\$min of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Monthly.php
-
message: "#^Parameter \\#3 \\$sec of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Monthly.php
-
message: "#^Parameter \\#6 \\$year of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Monthly.php
-
message: "#^Method Piwik\\\\Scheduler\\\\Schedule\\\\Schedule\\:\\:getScheduledTimeForPeriod\\(\\) should return Piwik\\\\Scheduler\\\\Schedule\\\\Daily\\|Piwik\\\\Scheduler\\\\Schedule\\\\Monthly\\|Piwik\\\\Scheduler\\\\Schedule\\\\Weekly but returns Piwik\\\\Scheduler\\\\Schedule\\\\Hourly\\.$#"
count: 1
path: core/Scheduler/Schedule/Schedule.php
-
message: "#^Parameter \\#3 \\$sec of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Schedule.php
-
message: "#^Parameter \\#4 \\$mon of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Schedule.php
-
message: "#^Parameter \\#5 \\$day of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Schedule.php
-
message: "#^Parameter \\#6 \\$year of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Schedule.php
-
message: "#^Parameter \\#1 \\$hour of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Weekly.php
-
message: "#^Parameter \\#2 \\$min of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Weekly.php
-
message: "#^Parameter \\#3 \\$sec of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Weekly.php
-
message: "#^Parameter \\#4 \\$mon of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Weekly.php
-
message: "#^Parameter \\#6 \\$year of function mktime expects int, string given\\.$#"
count: 1
path: core/Scheduler/Schedule/Weekly.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: core/Scheduler/Scheduler.php
-
message: "#^Parameter \\#1 \\$name of static method Piwik\\\\Container\\\\StaticContainer\\:\\:get\\(\\) expects string, Piwik\\\\Plugin\\\\Tasks given\\.$#"
count: 1
path: core/Scheduler/TaskLoader.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: core/Segment.php
-
message: """
#^PHPDoc tag @param has invalid value \\(int If set to value \\>\\= 1 then the Select query \\(and All inner queries\\) will be LIMIT'ed by this value\\.
Use only when you're not aggregating or it will sample the data\\.\\)\\: Unexpected token "If", expected variable at offset 1187$#
"""
count: 1
path: core/Segment.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 1034$#"
count: 1
path: core/Segment.php
-
message: "#^Property Piwik\\\\Segment\\:\\:\\$endDate \\(Piwik\\\\Date\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/Segment.php
-
message: "#^Property Piwik\\\\Segment\\:\\:\\$startDate \\(Piwik\\\\Date\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/Segment.php
-
message: "#^Result of && is always false\\.$#"
count: 2
path: core/Segment.php
-
message: "#^Offset 1 on array\\{array\\<int, string\\>, array\\<int, non\\-falsy\\-string\\>\\} in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: core/Segment/SegmentExpression.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/Segment/SegmentExpression.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:fetchOne\\(\\)\\.$#"
count: 1
path: core/Sequence.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:insert\\(\\)\\.$#"
count: 1
path: core/Sequence.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:lastInsertId\\(\\)\\.$#"
count: 1
path: core/Sequence.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:query\\(\\)\\.$#"
count: 2
path: core/Sequence.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/Session.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:getConnection\\(\\)\\.$#"
count: 1
path: core/Session/SaveHandler/DbTable.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Db\\\\AdapterInterface\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 3
path: core/Session/SaveHandler/DbTable.php
-
message: "#^Method Piwik\\\\Session\\\\SessionAuth\\:\\:getLogin\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: core/Session/SessionAuth.php
-
message: "#^Method Piwik\\\\Session\\\\SessionAuth\\:\\:getName\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: core/Session/SessionAuth.php
-
message: "#^Method Piwik\\\\Session\\\\SessionAuth\\:\\:getTokenAuthSecret\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: core/Session/SessionAuth.php
-
message: "#^Parameter \\#2 \\$login of class Piwik\\\\AuthResult constructor expects string, null given\\.$#"
count: 1
path: core/Session/SessionAuth.php
-
message: "#^Parameter \\#3 \\$tokenAuth of class Piwik\\\\AuthResult constructor expects string, null given\\.$#"
count: 1
path: core/Session/SessionAuth.php
-
message: "#^Method Piwik\\\\Settings\\\\Plugin\\\\SystemSettings\\:\\:makeSettingManagedInConfigOnly\\(\\) should return Piwik\\\\Settings\\\\Plugin\\\\SystemSetting but returns Piwik\\\\Settings\\\\Plugin\\\\SystemConfigSetting\\.$#"
count: 1
path: core/Settings/Plugin/SystemSettings.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$fieldConfigCallback$#"
count: 1
path: core/Settings/Plugin/UserSettings.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/Settings/Setting.php
-
message: "#^Property Piwik\\\\Settings\\\\FieldConfig\\:\\:\\$uiControl \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Settings/Setting.php
-
message: "#^Property Piwik\\\\Settings\\\\Setting\\:\\:\\$config \\(Piwik\\\\Settings\\\\FieldConfig\\) does not accept null\\.$#"
count: 1
path: core/Settings/Setting.php
-
message: "#^Property Piwik\\\\Settings\\\\Setting\\:\\:\\$type \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Settings/Setting.php
-
message: "#^Method Piwik\\\\Settings\\\\Settings\\:\\:getSetting\\(\\) should return Piwik\\\\Settings\\\\Setting\\|null but return statement is missing\\.$#"
count: 1
path: core/Settings/Settings.php
-
message: "#^Property Piwik\\\\Settings\\\\Storage\\\\Backend\\\\BaseSettingsTable\\:\\:\\$db \\(Piwik\\\\Db\\\\AdapterInterface\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Settings/Storage/Backend/BaseSettingsTable.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:fetchAll\\(\\)\\.$#"
count: 2
path: core/Settings/Storage/Backend/MeasurableSettingsTable.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:query\\(\\)\\.$#"
count: 1
path: core/Settings/Storage/Backend/MeasurableSettingsTable.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:fetchAll\\(\\)\\.$#"
count: 2
path: core/Settings/Storage/Backend/PluginSettingsTable.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:query\\(\\)\\.$#"
count: 1
path: core/Settings/Storage/Backend/PluginSettingsTable.php
-
message: "#^Method Piwik\\\\Settings\\\\Storage\\\\Backend\\\\SitesTable\\:\\:load\\(\\) should return array\\|null but return statement is missing\\.$#"
count: 1
path: core/Settings/Storage/Backend/SitesTable.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: core/SettingsPiwik.php
-
message: "#^Parameter \\#2 \\$newvalue of function ini_set expects string, int given\\.$#"
count: 1
path: core/SettingsServer.php
-
message: "#^Call to function is_bool\\(\\) with non\\-empty\\-array\\|non\\-falsy\\-string will always evaluate to false\\.$#"
count: 1
path: core/Site.php
-
message: "#^Method Piwik\\\\Site\\:\\:isEcommerceEnabledFor\\(\\) should return string but returns bool\\.$#"
count: 1
path: core/Site.php
-
message: "#^Method Piwik\\\\Site\\:\\:isSiteSearchEnabledFor\\(\\) should return string but returns bool\\.$#"
count: 1
path: core/Site.php
-
message: "#^Offset 4 does not exist on array\\<string, array\\<Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\SiteContentDetectionAbstract\\>\\>\\.$#"
count: 1
path: core/SiteContentDetector.php
-
message: "#^Offset int does not exist on array\\<string, array\\<string, Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\SiteContentDetectionAbstract\\>\\>\\.$#"
count: 1
path: core/SiteContentDetector.php
-
message: "#^Offset int on array\\<string, array\\<Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\SiteContentDetectionAbstract\\>\\> in isset\\(\\) does not exist\\.$#"
count: 1
path: core/SiteContentDetector.php
-
message: "#^Offset string on array\\<string, Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\SiteContentDetectionAbstract\\> on left side of \\?\\? always exists and is not nullable\\.$#"
count: 1
path: core/SiteContentDetector.php
-
message: "#^Property Piwik\\\\SiteContentDetector\\:\\:\\$detectedContent \\(array\\<string, array\\<string, Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\SiteContentDetectionAbstract\\>\\>\\) does not accept array\\<int, array\\>\\.$#"
count: 1
path: core/SiteContentDetector.php
-
message: "#^Property Piwik\\\\SiteContentDetector\\:\\:\\$detectedContent \\(array\\<string, array\\<string, Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\SiteContentDetectionAbstract\\>\\>\\) does not accept default value of type array\\<int, array\\>\\.$#"
count: 1
path: core/SiteContentDetector.php
-
message: "#^Parameter \\#5 \\$ln of method TCPDF\\:\\:Cell\\(\\) expects int, false given\\.$#"
count: 1
path: core/TCPDF.php
-
message: "#^Parameter \\#7 \\$fill of method TCPDF\\:\\:Cell\\(\\) expects bool, int given\\.$#"
count: 1
path: core/TCPDF.php
-
message: "#^PHPDoc tag @var above a method has no effect\\.$#"
count: 1
path: core/Theme.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\:\\:disconnect\\(\\)\\.$#"
count: 2
path: core/Tracker.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\Db will always evaluate to false\\.$#"
count: 3
path: core/Tracker.php
-
message: "#^Parameter \\#2 \\$options of function json_encode expects int, true given\\.$#"
count: 1
path: core/Tracker.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 6
path: core/Tracker.php
-
message: "#^Static property Piwik\\\\Tracker\\:\\:\\$db \\(Piwik\\\\Db\\) does not accept null\\.$#"
count: 2
path: core/Tracker.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: core/Tracker/ActionPageview.php
-
message: "#^Call to function is_null\\(\\) with Matomo\\\\Cache\\\\Lazy will always evaluate to false\\.$#"
count: 1
path: core/Tracker/Cache.php
-
message: "#^Parameter \\#1 \\$id of method Matomo\\\\Cache\\\\Lazy\\:\\:delete\\(\\) expects string, int given\\.$#"
count: 1
path: core/Tracker/Cache.php
-
message: "#^Strict comparison using \\=\\=\\= between 'all' and int will always evaluate to false\\.$#"
count: 1
path: core/Tracker/Cache.php
-
message: "#^Variable \\$content in empty\\(\\) always exists and is always falsy\\.$#"
count: 1
path: core/Tracker/Cache.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\:\\:query\\(\\) has invalid return type Piwik\\\\Tracker\\\\PDOStatement\\.$#"
count: 1
path: core/Tracker/Db.php
-
message: "#^PHPDoc tag @return has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 228$#"
count: 1
path: core/Tracker/Db.php
-
message: "#^PHPDoc tag @return has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 234$#"
count: 1
path: core/Tracker/Db.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Mysqli\\:\\:beginTransaction\\(\\) should return string\\|null but empty return statement found\\.$#"
count: 1
path: core/Tracker/Db/Mysqli.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Mysqli\\:\\:beginTransaction\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: core/Tracker/Db/Mysqli.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Mysqli\\:\\:prepare\\(\\) is unused\\.$#"
count: 1
path: core/Tracker/Db/Mysqli.php
-
message: "#^Return type \\(bool\\|resource\\) of method Piwik\\\\Tracker\\\\Db\\\\Mysqli\\:\\:query\\(\\) should be compatible with return type \\(Piwik\\\\Tracker\\\\PDOStatement\\) of method Piwik\\\\Tracker\\\\Db\\:\\:query\\(\\)$#"
count: 1
path: core/Tracker/Db/Mysqli.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\|bool and null will always evaluate to false\\.$#"
count: 1
path: core/Tracker/Db/Mysqli.php
-
message: "#^Variable \\$timer in isset\\(\\) always exists and is not nullable\\.$#"
count: 4
path: core/Tracker/Db/Mysqli.php
-
message: "#^Call to function is_null\\(\\) with PDO will always evaluate to false\\.$#"
count: 1
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Pdo\\\\Mysql\\:\\:beginTransaction\\(\\) should return string\\|null but empty return statement found\\.$#"
count: 1
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Pdo\\\\Mysql\\:\\:beginTransaction\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Pdo\\\\Mysql\\:\\:fetchCol\\(\\) should return string but returns array\\|false\\.$#"
count: 1
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Pdo\\\\Mysql\\:\\:fetchCol\\(\\) should return string but returns false\\.$#"
count: 1
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Method Piwik\\\\Tracker\\\\Db\\\\Pdo\\\\Mysql\\:\\:lastInsertId\\(\\) should return int but returns string\\|false\\.$#"
count: 1
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Tracker\\\\Db\\\\Pdo\\\\Mysql\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 1
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Property Piwik\\\\Tracker\\\\Db\\\\Pdo\\\\Mysql\\:\\:\\$connection \\(PDO\\) does not accept null\\.$#"
count: 2
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Variable \\$timer in isset\\(\\) always exists and is not nullable\\.$#"
count: 2
path: core/Tracker/Db/Pdo/Mysql.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: core/Tracker/Failures.php
-
message: "#^Call to an undefined method Piwik\\\\Tracker\\\\Action\\:\\:getEventAction\\(\\)\\.$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^Call to an undefined method Piwik\\\\Tracker\\\\Action\\:\\:getEventCategory\\(\\)\\.$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^Call to an undefined method Piwik\\\\Tracker\\\\Action\\:\\:getEventName\\(\\)\\.$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\Tracker\\\\Action will always evaluate to false\\.$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^Method Piwik\\\\Tracker\\\\GoalManager\\:\\:detectGoalMatch\\(\\) should return bool\\|null but returns string\\.$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^Method Piwik\\\\Tracker\\\\GoalManager\\:\\:getRevenue\\(\\) should return float\\|int but returns string\\.$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$action$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$visitCustomVariables$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$visitInformation$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$visitor$#"
count: 3
path: core/Tracker/GoalManager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$visitorInformation$#"
count: 1
path: core/Tracker/GoalManager.php
-
message: "#^Parameter \\#2 \\$dimensions of method Piwik\\\\Tracker\\\\GoalManager\\:\\:triggerHookOnDimensions\\(\\) expects array\\<Piwik\\\\Plugin\\\\Dimension\\\\ConversionDimension\\>, array\\<Piwik\\\\Columns\\\\Dimension\\> given\\.$#"
count: 3
path: core/Tracker/GoalManager.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\Tracker\\\\ScheduledTasksRunner will always evaluate to false\\.$#"
count: 1
path: core/Tracker/Handler.php
-
message: "#^Elseif branch is unreachable because previous condition is always true\\.$#"
count: 1
path: core/Tracker/Handler/Factory.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\Tracker\\\\Handler will always evaluate to false\\.$#"
count: 1
path: core/Tracker/Handler/Factory.php
-
message: "#^Method Piwik\\\\Tracker\\\\LogTable\\:\\:getLinkTableToBeAbleToJoinOnVisit\\(\\) should return string but empty return statement found\\.$#"
count: 1
path: core/Tracker/LogTable.php
-
message: "#^Comparison operation \"\\>\" between int\\<1, max\\> and 0 is always true\\.$#"
count: 1
path: core/Tracker/Model.php
-
message: "#^Parameter \\#3 \\$urlPrefix of method Piwik\\\\Tracker\\\\Model\\:\\:insertNewAction\\(\\) expects string, int given\\.$#"
count: 1
path: core/Tracker/Model.php
-
message: "#^Variable \\$parametersToExclude in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: core/Tracker/PageUrl.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: core/Tracker/Request.php
-
message: "#^Parameter \\#1 \\$login of method Piwik\\\\Auth\\:\\:setLogin\\(\\) expects string, null given\\.$#"
count: 1
path: core/Tracker/Request.php
-
message: "#^Parameter \\#1 \\$password of method Piwik\\\\Auth\\:\\:setPassword\\(\\) expects string, null given\\.$#"
count: 1
path: core/Tracker/Request.php
-
message: "#^Parameter \\#1 \\$passwordHash of method Piwik\\\\Auth\\:\\:setPasswordHash\\(\\) expects string, null given\\.$#"
count: 1
path: core/Tracker/Request.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, array given\\.$#"
count: 1
path: core/Tracker/Request.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: core/Tracker/Request.php
-
message: "#^Variable \\$access in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: core/Tracker/Request.php
-
message: "#^Variable \\$idVisitor might not be defined\\.$#"
count: 2
path: core/Tracker/Request.php
-
message: "#^Call to function is_null\\(\\) with array\\<Piwik\\\\Tracker\\\\Request\\> will always evaluate to false\\.$#"
count: 1
path: core/Tracker/RequestSet.php
-
message: "#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/Tracker/RequestSet.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: core/Tracker/RequestSet.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: core/Tracker/RequestSet.php
-
message: "#^Offset 'mime' on array\\{0\\: int\\<0, max\\>, 1\\: int\\<0, max\\>, 2\\: int, 3\\: string, mime\\: string, channels\\?\\: int, bits\\?\\: int\\} in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: core/Tracker/Response.php
-
message: "#^Comparison operation \"\\<\" between \\(array\\|float\\|int\\) and int\\<1, max\\> results in an error\\.$#"
count: 1
path: core/Tracker/ScheduledTasksRunner.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: core/Tracker/ScheduledTasksRunner.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/Tracker/TableLogAction.php
-
message: "#^Call to function is_array\\(\\) with true will always evaluate to false\\.$#"
count: 1
path: core/Tracker/TrackerCodeGenerator.php
-
message: "#^Offset 'httpsPiwikUrl' does not exist on array\\{idSite\\: int, piwikUrl\\: string, options\\: string, optionsBeforeTrackerUrl\\: '', protocol\\: '//'\\|'https\\://', loadAsync\\: true, trackNoScript\\: bool, matomoJsFilename\\: mixed, \\.\\.\\.\\}\\.$#"
count: 1
path: core/Tracker/TrackerCodeGenerator.php
-
message: "#^Offset 'httpsPiwikUrl' on array\\{idSite\\: int, piwikUrl\\: string, options\\: string, optionsBeforeTrackerUrl\\: '', protocol\\: '//'\\|'https\\://', loadAsync\\: true, trackNoScript\\: bool, matomoJsFilename\\: mixed, \\.\\.\\.\\} in empty\\(\\) does not exist\\.$#"
count: 1
path: core/Tracker/TrackerCodeGenerator.php
-
message: "#^Parameter \\#2 \\$str of function explode expects string, true given\\.$#"
count: 1
path: core/Tracker/TrackerCodeGenerator.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$action$#"
count: 3
path: core/Tracker/Visit.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$visitor$#"
count: 3
path: core/Tracker/Visit.php
-
message: "#^Property Piwik\\\\Tracker\\\\Visit\\:\\:\\$visitProperties \\(Piwik\\\\Tracker\\\\Visit\\\\VisitProperties\\) does not accept null\\.$#"
count: 1
path: core/Tracker/Visit.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\Tracker\\\\VisitInterface will always evaluate to false\\.$#"
count: 1
path: core/Tracker/Visit/Factory.php
-
message: "#^Variable \\$visit in isset\\(\\) always exists and is always null\\.$#"
count: 1
path: core/Tracker/Visit/Factory.php
-
message: "#^Property Piwik\\\\Tracker\\\\Visitor\\:\\:\\$previousVisitProperties \\(Piwik\\\\Tracker\\\\Visit\\\\VisitProperties\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/Tracker/Visitor.php
-
message: "#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#"
count: 1
path: core/Tracker/VisitorRecognizer.php
-
message: "#^Property Piwik\\\\Tracker\\\\VisitorRecognizer\\:\\:\\$visitRow \\(array\\) does not accept false\\.$#"
count: 1
path: core/Tracker/VisitorRecognizer.php
-
message: "#^Parameter \\#1 \\$input of function array_keys expects array, string given\\.$#"
count: 1
path: core/Translation/Loader/DevelopmentLoader.php
-
message: "#^Parameter \\#1 \\$keys of function array_combine expects array, null given\\.$#"
count: 1
path: core/Translation/Loader/DevelopmentLoader.php
-
message: "#^Variable \\$translationId on left side of \\?\\? always exists and is not nullable\\.$#"
count: 1
path: core/Translation/Translator.php
-
message: "#^Method Piwik\\\\Twig\\:\\:getProfessionalServicesAdvertising\\(\\) is unused\\.$#"
count: 1
path: core/Twig.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, bool given\\.$#"
count: 1
path: core/UpdateCheck.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: core/UpdateCheck.php
-
message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#"
count: 1
path: core/Updater.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$columnName$#"
count: 1
path: core/Updater/Migration/Db/Factory.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\<int\\>\\|int and false will always evaluate to false\\.$#"
count: 2
path: core/Updater/Migration/Db/Factory.php
-
message: "#^Dead catch \\- Exception is never thrown in the try block\\.$#"
count: 1
path: core/Updates/1.1.php
-
message: "#^Parameter \\#2 \\$errorCodesToIgnore of method Piwik\\\\Updater\\\\Migration\\\\Db\\\\Factory\\:\\:sql\\(\\) expects array\\<int\\>\\|int, string given\\.$#"
count: 1
path: core/Updates/1.4-rc1.php
-
message: "#^Parameter \\#2 \\$errorCodesToIgnore of method Piwik\\\\Updater\\\\Migration\\\\Db\\\\Factory\\:\\:sql\\(\\) expects array\\<int\\>\\|int, string given\\.$#"
count: 3
path: core/Updates/2.0-a13.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:insert\\(\\)\\.$#"
count: 1
path: core/Updates/2.0.4-b5.php
-
message: "#^Dead catch \\- Exception is never thrown in the try block\\.$#"
count: 1
path: core/Updates/2.0.4-b5.php
-
message: "#^Binary operation \"\\+\" between string and 1 results in an error\\.$#"
count: 1
path: core/Updates/2.1.1-b11.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:fetchCol\\(\\)\\.$#"
count: 1
path: core/Updates/2.1.1-b11.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:fetchCol\\(\\)\\.$#"
count: 1
path: core/Updates/2.9.0-b1.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:closeConnection\\(\\)\\.$#"
count: 1
path: core/Updates/3.6.0-b4.php
-
message: "#^Property Piwik\\\\Updates\\\\Updates_4_1_2_b1\\:\\:\\$migration is never read, only written\\.$#"
count: 1
path: core/Updates/4.1.2-b1.php
-
message: "#^Property Piwik\\\\Updates\\\\Updates_5_2_0_b6\\:\\:\\$migration is never read, only written\\.$#"
count: 1
path: core/Updates/5.2.0-b6.php
-
message: "#^Property Piwik\\\\Updates\\\\Updates_5_3_0_rc1\\:\\:\\$migration is never read, only written\\.$#"
count: 1
path: core/Updates/5.3.0-rc1.php
-
message: "#^Strict comparison using \\=\\=\\= between null and string\\|true will always evaluate to false\\.$#"
count: 1
path: core/Url.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: core/Validators/IpRanges.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/View.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: core/View.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/View/HtmlReportEmailHeaderView.php
-
message: "#^Call to an undefined method Twig\\\\Node\\\\Node\\:\\:getKeyValuePairs\\(\\)\\.$#"
count: 1
path: core/View/MethodCallExpression.php
-
message: "#^Property Piwik\\\\View\\\\UIControl\\:\\:\\$htmlAttributes \\(string\\) does not accept default value of type array\\.$#"
count: 1
path: core/View/UIControl.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 3
path: core/ViewDataTable/Config.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\Config\\:\\:\\$onlineGuideUrl \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/ViewDataTable/Config.php
-
message: "#^Method Piwik\\\\ViewDataTable\\\\Factory\\:\\:createViewDataTableInstance\\(\\) should return Piwik\\\\Plugin\\\\ViewDataTable but returns Piwik\\\\View\\\\ViewInterface\\.$#"
count: 1
path: core/ViewDataTable/Factory.php
-
message: "#^Method Piwik\\\\ViewDataTable\\\\Factory\\:\\:getReport\\(\\) should return Piwik\\\\Plugin\\\\Report\\|null but empty return statement found\\.$#"
count: 1
path: core/ViewDataTable/Factory.php
-
message: "#^Static property Piwik\\\\ViewDataTable\\\\Factory\\:\\:\\$defaultViewTypes is never read, only written\\.$#"
count: 1
path: core/ViewDataTable/Factory.php
-
message: "#^Variable \\$report in empty\\(\\) always exists and is not falsy\\.$#"
count: 2
path: core/ViewDataTable/Factory.php
-
message: "#^Method Piwik\\\\ViewDataTable\\\\Manager\\:\\:getFooterIconFor\\(\\) should return array but empty return statement found\\.$#"
count: 1
path: core/ViewDataTable/Manager.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 130$#"
count: 1
path: core/ViewDataTable/Manager.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/ViewDataTable/Manager.php
-
message: "#^Unsafe call to private method Piwik\\\\ViewDataTable\\\\Manager\\:\\:getFooterIconFor\\(\\) through static\\:\\:\\.$#"
count: 9
path: core/ViewDataTable/Manager.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: core/ViewDataTable/Request.php
-
message: "#^Strict comparison using \\=\\=\\= between mixed and 0 will always evaluate to false\\.$#"
count: 1
path: core/ViewDataTable/Request.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/ViewDataTable/RequestConfig.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$filter_excludelowpop_value \\(Closure\\|string\\) does not accept default value of type false\\.$#"
count: 1
path: core/ViewDataTable/RequestConfig.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$pivotBy \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/ViewDataTable/RequestConfig.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$pivotByColumn \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/ViewDataTable/RequestConfig.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$pivotByColumnLimit \\(int\\) does not accept default value of type false\\.$#"
count: 1
path: core/ViewDataTable/RequestConfig.php
-
message: "#^Method Piwik\\\\Visualization\\\\Sparkline\\:\\:render\\(\\) should return string\\|null but empty return statement found\\.$#"
count: 1
path: core/Visualization/Sparkline.php
-
message: "#^Method Piwik\\\\Visualization\\\\Sparkline\\:\\:render\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: core/Visualization/Sparkline.php
-
message: "#^Parameter \\#1 \\$str of function strtolower expects string, bool given\\.$#"
count: 4
path: core/Visualization/Sparkline.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: core/Visualization/Sparkline.php
-
message: "#^Parameter \\#2 \\$newvalue of function ini_set expects string, int given\\.$#"
count: 2
path: core/bootstrap.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/dispatch.php
-
message: "#^Parameter \\#1 \\$environment of class Piwik\\\\Application\\\\Environment constructor expects string, null given\\.$#"
count: 1
path: core/dispatch.php
-
message: "#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#"
count: 1
path: plugins/API/API.php
-
message: "#^Default value of the parameter \\#14 \\$labelSeries \\(false\\) of method Piwik\\\\Plugins\\\\API\\\\API\\:\\:getRowEvolution\\(\\) is incompatible with type string\\.$#"
count: 1
path: plugins/API/API.php
-
message: "#^Default value of the parameter \\#15 \\$showGoalMetricsForGoal \\(false\\) of method Piwik\\\\Plugins\\\\API\\\\API\\:\\:getRowEvolution\\(\\) is incompatible with type int\\|string\\.$#"
count: 1
path: plugins/API/API.php
-
message: "#^Default value of the parameter \\#6 \\$idSite \\(false\\) of method Piwik\\\\Plugins\\\\API\\\\API\\:\\:getReportMetadata\\(\\) is incompatible with type int\\.$#"
count: 1
path: plugins/API/API.php
-
message: "#^Parameter \\#1 \\$request of static method Piwik\\\\API\\\\Request\\:\\:getMethodIfApiRequest\\(\\) expects array, null given\\.$#"
count: 1
path: plugins/API/API.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/API/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/API/API.php
-
message: "#^Call to function is_array\\(\\) with Piwik\\\\API\\\\Map\\|Piwik\\\\DataTable\\|string will always evaluate to false\\.$#"
count: 1
path: plugins/API/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/API/Controller.php
-
message: "#^Cannot access offset mixed on int\\.$#"
count: 2
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Cannot call method getBoolParameter\\(\\) on array\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Cannot call method getIntegerParameter\\(\\) on array\\.$#"
count: 3
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Cannot call method getJsonParameter\\(\\) on array\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Cannot call method getStringParameter\\(\\) on array\\.$#"
count: 12
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, array given\\.$#"
count: 6
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Parameter \\#3 \\$segmentCount of static method Piwik\\\\Plugins\\\\API\\\\Filter\\\\DataComparisonFilter\\:\\:getIndividualComparisonRowIndices\\(\\) expects null, int\\<0, max\\> given\\.$#"
count: 2
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Property Piwik\\\\Plugins\\\\API\\\\Filter\\\\DataComparisonFilter\\:\\:\\$compareDates \\(array\\<string\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Property Piwik\\\\Plugins\\\\API\\\\Filter\\\\DataComparisonFilter\\:\\:\\$comparePeriods \\(array\\<string\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Property Piwik\\\\Plugins\\\\API\\\\Filter\\\\DataComparisonFilter\\:\\:\\$compareSegments \\(array\\<string\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Property Piwik\\\\Plugins\\\\API\\\\Filter\\\\DataComparisonFilter\\:\\:\\$request \\(array\\) does not accept Piwik\\\\Request\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Ternary operator condition is always false\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 2
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Variable \\$compareTable in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Variable \\$comparisonTable in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter.php
-
message: "#^Parameter \\#3 \\$rootCompareTable of method Piwik\\\\Plugins\\\\API\\\\Filter\\\\DataComparisonFilter\\\\ComparisonRowGenerator\\:\\:compareTable\\(\\) expects Piwik\\\\DataTable\\|null, Piwik\\\\DataTable\\\\DataTableInterface\\|null given\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter/ComparisonRowGenerator.php
-
message: "#^Parameter \\#4 \\$compareTable of method Piwik\\\\Plugins\\\\API\\\\Filter\\\\DataComparisonFilter\\\\ComparisonRowGenerator\\:\\:compareTable\\(\\) expects Piwik\\\\DataTable\\|null, Piwik\\\\DataTable\\\\DataTableInterface\\|null given\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter/ComparisonRowGenerator.php
-
message: "#^Variable \\$period in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/API/Filter/DataComparisonFilter/ComparisonRowGenerator.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Elseif branch is unreachable because previous condition is always true\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Method Piwik\\\\Plugins\\\\API\\\\ProcessedReport\\:\\:translateMetric\\(\\) should return string\\|null but empty return statement found\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Method Piwik\\\\Plugins\\\\API\\\\ProcessedReport\\:\\:translateMetric\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$isHtml$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Parameter \\#2 \\$dataTable of method Piwik\\\\Plugins\\\\API\\\\ProcessedReport\\:\\:handleTableReport\\(\\) expects Piwik\\\\DataTable\\\\Map\\|Piwik\\\\DataTable\\\\Simple, Piwik\\\\DataTable given\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Result of && is always true\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Static method Piwik\\\\Plugins\\\\API\\\\ProcessedReport\\:\\:getPrettyValue\\(\\) invoked with 5 parameters, 4 required\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Variable \\$comparisons in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/API/ProcessedReport.php
-
message: "#^Parameter \\#1 \\$exception of static method Piwik\\\\Plugins\\\\Monolog\\\\Processor\\\\ExceptionToTextProcessor\\:\\:getMessageAndWholeBacktrace\\(\\) expects array\\|Exception, Throwable given\\.$#"
count: 1
path: plugins/API/Renderer/Json.php
-
message: "#^Parameter \\#1 \\$exception of static method Piwik\\\\Plugins\\\\Monolog\\\\Processor\\\\ExceptionToTextProcessor\\:\\:getMessageAndWholeBacktrace\\(\\) expects array\\|Exception, Throwable given\\.$#"
count: 1
path: plugins/API/Renderer/Original.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$row Row\\)\\: Unexpected token \"\\$row\", expected type at offset 9$#"
count: 1
path: plugins/API/RowEvolution.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/API/RowEvolution.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/API/RowEvolution.php
-
message: "#^Variable \\$compare might not be defined\\.$#"
count: 1
path: plugins/API/SegmentMetadata.php
-
message: "#^Method Piwik\\\\Plugins\\\\API\\\\WidgetMetadata\\:\\:buildCategoryMetadata\\(\\) should return array but returns null\\.$#"
count: 1
path: plugins/API/WidgetMetadata.php
-
message: "#^Method Piwik\\\\Plugins\\\\API\\\\WidgetMetadata\\:\\:buildSubcategoryMetadata\\(\\) should return array but returns null\\.$#"
count: 1
path: plugins/API/WidgetMetadata.php
-
message: "#^Parameter \\#1 \\$translationId of static method Piwik\\\\Piwik\\:\\:translate\\(\\) expects string, null given\\.$#"
count: 2
path: plugins/API/WidgetMetadata.php
-
message: "#^Parameter \\#2 \\$isPageTitleType of method Piwik\\\\Plugins\\\\Actions\\\\API\\:\\:filterActionsDataTable\\(\\) expects bool, int given\\.$#"
count: 9
path: plugins/Actions/API.php
-
message: "#^Parameter \\#2 \\$parameters of method Piwik\\\\DataTable\\:\\:queueFilter\\(\\) expects array, string given\\.$#"
count: 1
path: plugins/Actions/API.php
-
message: "#^Parameter \\#5 \\$segment of static method Piwik\\\\Archive\\:\\:createDataTableFromArchive\\(\\) expects string, bool given\\.$#"
count: 2
path: plugins/Actions/API.php
-
message: "#^Variable \\$period in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Actions/API.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/Actions/Actions/ActionSiteSearch.php
-
message: "#^Variable \\$categoryParameterRaw might not be defined\\.$#"
count: 1
path: plugins/Actions/Actions/ActionSiteSearch.php
-
message: "#^Variable \\$keywordParameterRaw might not be defined\\.$#"
count: 1
path: plugins/Actions/Actions/ActionSiteSearch.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\DataTable\\\\Row will always evaluate to false\\.$#"
count: 2
path: plugins/Actions/ArchivingHelper.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\\\Piwik\\\\DataTable\\\\Row\\)\\: Unexpected token \"\\\\n \", expected variable at offset 150$#"
count: 1
path: plugins/Actions/ArchivingHelper.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:getColumn\\(\\) expects string, int given\\.$#"
count: 3
path: plugins/Actions/ArchivingHelper.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:setColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Actions/ArchivingHelper.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/Actions/ArchivingHelper.php
-
message: "#^Strict comparison using \\=\\=\\= between non\\-empty\\-string and false will always evaluate to false\\.$#"
count: 1
path: plugins/Actions/ArchivingHelper.php
-
message: "#^Strict comparison using \\=\\=\\= between non\\-empty\\-string and null will always evaluate to false\\.$#"
count: 1
path: plugins/Actions/ArchivingHelper.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Categories\\\\DownloadsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Actions/Categories/DownloadsSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Categories\\\\EntryPagesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Actions/Categories/EntryPagesSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Categories\\\\ExitPagesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Actions/Categories/ExitPagesSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Categories\\\\OutlinksSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Actions/Categories/OutlinksSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Categories\\\\PageTitlesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Actions/Categories/PageTitlesSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Categories\\\\PagesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Actions/Categories/PagesSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Categories\\\\SiteSearchSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Actions/Categories/SiteSearchSubcategory.php
-
message: "#^Empty array passed to foreach\\.$#"
count: 1
path: plugins/Actions/Columns/ActionType.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\ActionUrl\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/ActionUrl.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\ClickedUrl\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/ClickedUrl.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\DownloadUrl\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/DownloadUrl.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\EntryPageTitle\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/EntryPageTitle.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\EntryPageUrl\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/EntryPageUrl.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\ExitPageTitle\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/ExitPageTitle.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\ExitPageUrl\\:\\:onExistingVisit\\(\\) should return int but returns false\\.$#"
count: 1
path: plugins/Actions/Columns/ExitPageUrl.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\ExitPageUrl\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/ExitPageUrl.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\PageTitle\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/PageTitle.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\PageUrl\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/PageUrl.php
-
message: "#^Property Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\SearchKeyword\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Actions/Columns/SearchKeyword.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\VisitTotalActions\\:\\:onExistingVisit\\(\\) should return int but returns false\\.$#"
count: 2
path: plugins/Actions/Columns/VisitTotalActions.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\VisitTotalActions\\:\\:onExistingVisit\\(\\) should return int but returns string\\.$#"
count: 2
path: plugins/Actions/Columns/VisitTotalActions.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\VisitTotalInteractions\\:\\:onExistingVisit\\(\\) should return int but returns false\\.$#"
count: 1
path: plugins/Actions/Columns/VisitTotalInteractions.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\VisitTotalInteractions\\:\\:onExistingVisit\\(\\) should return int but returns string\\.$#"
count: 1
path: plugins/Actions/Columns/VisitTotalInteractions.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\VisitTotalSearches\\:\\:onExistingVisit\\(\\) should return int but returns false\\.$#"
count: 1
path: plugins/Actions/Columns/VisitTotalSearches.php
-
message: "#^Method Piwik\\\\Plugins\\\\Actions\\\\Columns\\\\VisitTotalSearches\\:\\:onExistingVisit\\(\\) should return int but returns string\\.$#"
count: 1
path: plugins/Actions/Columns/VisitTotalSearches.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$isPageTitleType$#"
count: 1
path: plugins/Actions/DataTable/Filter/Actions.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Actions/DataTable/Filter/Actions.php
-
message: "#^Parameter \\#1 \\$idSite of method Piwik\\\\Plugins\\\\Actions\\\\RecordBuilders\\\\ActionReports\\:\\:getGoalsForSite\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Actions/RecordBuilders/ActionReports.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Actions/Reports/Base.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/Actions/Reports/Base.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: plugins/Actions/Reports/SiteSearchBase.php
-
message: "#^Variable \\$action in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Actions/Tracker/ActionsRequestProcessor.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/Actions/VisitorDetails.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Actions/VisitorDetails.php
-
message: "#^PHPDoc tag @param for parameter \\$lastN with type bool\\|int is not subtype of native type int\\|null\\.$#"
count: 1
path: plugins/Annotations/API.php
-
message: "#^Parameter \\#1 \\$idSites of static method Piwik\\\\Piwik\\:\\:checkUserHasViewAccess\\(\\) expects array\\|int, string given\\.$#"
count: 2
path: plugins/Annotations/API.php
-
message: "#^Parameter \\#5 \\$starred of method Piwik\\\\Plugins\\\\Annotations\\\\AnnotationList\\:\\:update\\(\\) expects int\\|null, bool\\|null given\\.$#"
count: 1
path: plugins/Annotations/API.php
-
message: "#^Cannot call method getTimestamp\\(\\) on string\\|false\\.$#"
count: 1
path: plugins/Annotations/AnnotationList.php
-
message: "#^Method Piwik\\\\Plugins\\\\Annotations\\\\Annotations\\:\\:getDateRangeForPeriod\\(\\) should return array\\<Piwik\\\\Date\\> but returns array\\<int, false\\>\\.$#"
count: 1
path: plugins/Annotations/Annotations.php
-
message: "#^Parameter \\#1 \\$array of function reset is passed by reference, so it expects variables only\\.$#"
count: 1
path: plugins/Annotations/Controller.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 2
path: plugins/Annotations/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 4
path: plugins/Annotations/Controller.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\Plugins\\\\BulkTracking\\\\Tracker\\\\Requests will always evaluate to false\\.$#"
count: 1
path: plugins/BulkTracking/BulkTracking.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: plugins/BulkTracking/BulkTracking.php
-
message: "#^Parameter \\#1 \\$login of method Piwik\\\\Auth\\:\\:setLogin\\(\\) expects string, null given\\.$#"
count: 1
path: plugins/BulkTracking/Tracker/Handler.php
-
message: "#^Parameter \\#1 \\$password of method Piwik\\\\Auth\\:\\:setPassword\\(\\) expects string, null given\\.$#"
count: 1
path: plugins/BulkTracking/Tracker/Handler.php
-
message: "#^Parameter \\#1 \\$passwordHash of method Piwik\\\\Auth\\:\\:setPasswordHash\\(\\) expects string, null given\\.$#"
count: 1
path: plugins/BulkTracking/Tracker/Handler.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/BulkTracking/Tracker/Requests.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, true given\\.$#"
count: 1
path: plugins/BulkTracking/Tracker/Requests.php
-
message: "#^Method Piwik\\\\Plugins\\\\Contents\\\\Categories\\\\ContentsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Contents/Categories/ContentsSubcategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\Contents\\\\Columns\\\\ContentInteraction\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Contents/Columns/ContentInteraction.php
-
message: "#^Property Piwik\\\\Plugins\\\\Contents\\\\Columns\\\\ContentName\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Contents/Columns/ContentName.php
-
message: "#^Property Piwik\\\\Plugins\\\\Contents\\\\Columns\\\\ContentPiece\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Contents/Columns/ContentPiece.php
-
message: "#^Property Piwik\\\\Plugins\\\\Contents\\\\Columns\\\\ContentTarget\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Contents/Columns/ContentTarget.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/Contents/RecordBuilders/ContentRecords.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: plugins/Contents/RecordBuilders/ContentRecords.php
-
message: "#^Variable \\$subLabel in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Contents/RecordBuilders/ContentRecords.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Contents/Reports/Base.php
-
message: "#^Method Piwik\\\\Plugins\\\\Contents\\\\VisitorDetails\\:\\:renderAction\\(\\) should return string but empty return statement found\\.$#"
count: 1
path: plugins/Contents/VisitorDetails.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: plugins/CoreAdminHome/API.php
-
message: "#^Parameter \\#1 \\$archiveOnlyReport of method Piwik\\\\ArchiveProcessor\\\\Parameters\\:\\:setArchiveOnlyReport\\(\\) expects array\\<string\\>\\|string, true given\\.$#"
count: 1
path: plugins/CoreAdminHome/API.php
-
message: "#^Parameter \\#1 \\$segmentCondition of class Piwik\\\\Segment constructor expects string, bool given\\.$#"
count: 1
path: plugins/CoreAdminHome/API.php
-
message: "#^Expression in empty\\(\\) is not falsy\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/ConfigDelete.php
-
message: "#^Offset 'key' on array\\{section\\: mixed, key\\: mixed, value\\?\\: mixed\\} in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/ConfigDelete.php
-
message: "#^Offset 'section' on array\\{section\\: mixed, key\\?\\: mixed, value\\?\\: mixed\\} in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/ConfigDelete.php
-
message: "#^Variable \\$options in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/ConfigDelete.php
-
message: "#^Offset 'section' on array\\{section\\: mixed, key\\?\\: mixed\\} in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/ConfigGet.php
-
message: "#^Variable \\$options in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/ConfigGet.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreAdminHome\\\\Commands\\\\DeleteLogsData\\:\\:getDateRangeToDeleteFrom\\(\\) should return array\\<Piwik\\\\Date\\> but returns array\\<int, string\\>\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/DeleteLogsData.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreAdminHome\\\\Commands\\\\DeleteLogsData\\:\\:\\$rawLogDao is never read, only written\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/DeleteLogsData.php
-
message: "#^Parameter \\#3 \\$period of method Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:markArchivesAsInvalidated\\(\\) expects string, false given\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/FixDuplicateLogActions.php
-
message: "#^Parameter \\#3 \\$default of method Piwik\\\\Plugin\\\\ConsoleCommand\\:\\:addOptionalArgument\\(\\) expects null, string given\\.$#"
count: 2
path: plugins/CoreAdminHome/Commands/PurgeBrokenArchiveData.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/PurgeBrokenArchiveData.php
-
message: "#^Parameter \\#3 \\$default of method Piwik\\\\Plugin\\\\ConsoleCommand\\:\\:addOptionalArgument\\(\\) expects null, array\\<int, mixed\\> given\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/PurgeOldArchiveData.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 2
path: plugins/CoreAdminHome/Commands/PurgeOldArchiveData.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: plugins/CoreAdminHome/Commands/SetConfig/ConfigSettingManipulation.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreAdminHome\\\\Controller\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/CoreAdminHome/Controller.php
-
message: "#^Instanceof between resource\\|false and GdImage will always evaluate to false\\.$#"
count: 1
path: plugins/CoreAdminHome/CustomLogo.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: plugins/CoreAdminHome/CustomLogo.php
-
message: "#^Parameter \\#1 \\$x_size of function imagecreatetruecolor expects int, float given\\.$#"
count: 1
path: plugins/CoreAdminHome/CustomLogo.php
-
message: "#^Parameter \\#7 \\$dst_w of function imagecopyresampled expects int, float given\\.$#"
count: 1
path: plugins/CoreAdminHome/CustomLogo.php
-
message: "#^Unsafe call to private method Piwik\\\\Plugins\\\\CoreAdminHome\\\\CustomLogo\\:\\:logoExists\\(\\) through static\\:\\:\\.$#"
count: 5
path: plugins/CoreAdminHome/CustomLogo.php
-
message: "#^Parameter \\#8 \\$attribute of method Piwik\\\\Menu\\\\MenuAbstract\\:\\:addItem\\(\\) expects string, null given\\.$#"
count: 1
path: plugins/CoreAdminHome/Menu.php
-
message: "#^Parameter \\#9 \\$help of method Piwik\\\\Menu\\\\MenuAbstract\\:\\:addItem\\(\\) expects bool\\|string, null given\\.$#"
count: 1
path: plugins/CoreAdminHome/Menu.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 4
path: plugins/CoreAdminHome/OptOutManager.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 6
path: plugins/CoreAdminHome/OptOutManager.php
-
message: "#^Parameter \\#1 \\$idSegments of method Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:setSegmentsToForceFromSegmentIds\\(\\) expects array\\<int\\>, array\\<int, string\\> given\\.$#"
count: 1
path: plugins/CoreConsole/Commands/CoreArchiver.php
-
message: "#^Variable \\$dimension in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CoreConsole/Commands/GenerateReport.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreHome\\\\Categories\\\\ActionsCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/CoreHome/Categories/ActionsCategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\Categories\\\\DevicesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/CoreHome/Categories/DevicesSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\Categories\\\\EngagementSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/CoreHome/Categories/EngagementSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\Categories\\\\SoftwareSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/CoreHome/Categories/SoftwareSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\Categories\\\\VisitorsCategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/CoreHome/Categories/VisitorsCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreHome\\\\Categories\\\\VisitorsCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/CoreHome/Categories/VisitorsCategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\Categories\\\\VisitorsOverviewSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/CoreHome/Categories/VisitorsOverviewSubcategory.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/CoreHome/Columns/Metrics/EvolutionMetric.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:hasColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/CoreHome/Columns/UserId.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\Columns\\\\VisitGoalBuyer\\:\\:onExistingVisit\\(\\) should return int but returns false\\.$#"
count: 1
path: plugins/CoreHome/Columns/VisitGoalBuyer.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\Columns\\\\VisitTotalTime\\:\\:onConvertedVisit\\(\\) should return int but returns false\\.$#"
count: 1
path: plugins/CoreHome/Columns/VisitTotalTime.php
-
message: "#^Parameter \\#1 \\$sqlFilterValue of method Piwik\\\\Plugin\\\\Segment\\:\\:setSqlFilterValue\\(\\) expects array\\|string, Closure given\\.$#"
count: 1
path: plugins/CoreHome/Columns/VisitorDaysSinceFirst.php
-
message: "#^Property Piwik\\\\Columns\\\\Dimension\\:\\:\\$sqlFilterValue \\(array\\|string\\) does not accept Closure\\.$#"
count: 1
path: plugins/CoreHome/Columns/VisitorReturning.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/CoreHome/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/CoreHome/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/CoreHome/Controller.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreHome\\\\Controller\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/CoreHome/Controller.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\\\Piwik\\\\View \\(the popover_rowevolution template\\)\\)\\: Unexpected token \"\\(\", expected variable at offset 117$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/MultiRowEvolution.php
-
message: "#^Call to an undefined method Piwik\\\\DataTable\\\\Row\\:\\:getFirstRow\\(\\)\\.$#"
count: 2
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^Call to an undefined method Piwik\\\\ViewDataTable\\\\Factory\\:\\:render\\(\\)\\.$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreHome\\\\DataTableRowAction\\\\RowEvolution\\:\\:getRowEvolutionGraph\\(\\) should return Piwik\\\\ViewDataTable\\\\Factory but returns Piwik\\\\Plugin\\\\ViewDataTable\\.$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\\\Piwik\\\\View \\(the popover_rowevolution template\\)\\)\\: Unexpected token \"\\(\", expected variable at offset 117$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$dataTableMap \\\\Piwik\\\\DataTable\\\\Map\\)\\: Unexpected token \"\\$dataTableMap\", expected type at offset 9$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, array given\\.$#"
count: 3
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: plugins/CoreHome/DataTableRowAction/RowEvolution.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$visitor$#"
count: 1
path: plugins/CoreHome/Tracker/VisitRequestProcessor.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/CoreHome/Widgets/GetDonateForm.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:getServerVersion\\(\\)\\.$#"
count: 1
path: plugins/CoreHome/Widgets/GetSystemSummary.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreHome\\\\Widgets\\\\GetSystemSummary\\:\\:\\$pluginManager is never read, only written\\.$#"
count: 1
path: plugins/CoreHome/Widgets/GetSystemSummary.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreHome\\\\Widgets\\\\GetSystemSummary\\:\\:\\$storedSegmentService is never read, only written\\.$#"
count: 1
path: plugins/CoreHome/Widgets/GetSystemSummary.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/CorePluginsAdmin/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/CorePluginsAdmin/Controller.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: plugins/CorePluginsAdmin/Controller.php
-
message: "#^Unsafe call to private method Piwik\\\\Plugins\\\\CorePluginsAdmin\\\\Controller\\:\\:dieIfPluginsAdminIsDisabled\\(\\) through static\\:\\:\\.$#"
count: 1
path: plugins/CorePluginsAdmin/Controller.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/CorePluginsAdmin/Model/TagManagerTeaser.php
-
message: "#^Method Piwik\\\\Plugins\\\\CorePluginsAdmin\\\\PluginInstaller\\:\\:getNameOfFirstSubfolder\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/CorePluginsAdmin/PluginInstaller.php
-
message: "#^Variable \\$plugin in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CorePluginsAdmin/PluginInstaller.php
-
message: "#^Variable \\$setting in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CorePluginsAdmin/SettingsMetadata.php
-
message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#"
count: 1
path: plugins/CoreUpdater/Commands/Update.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: plugins/CoreUpdater/Controller.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: plugins/CoreUpdater/Controller.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:getServerVersion\\(\\)\\.$#"
count: 1
path: plugins/CoreUpdater/ReleaseChannel.php
-
message: "#^Class Piwik\\\\Plugins\\\\Marketplace\\\\Api\\\\Exception referenced with incorrect case\\: Piwik\\\\Plugins\\\\Marketplace\\\\API\\\\Exception\\.$#"
count: 1
path: plugins/CoreUpdater/Updater.php
-
message: "#^Parameter \\#1 \\$exception of class Piwik\\\\Plugins\\\\CoreUpdater\\\\UpdaterException constructor expects Exception, Throwable given\\.$#"
count: 1
path: plugins/CoreUpdater/Updater.php
-
message: "#^Variable \\$comparisonTable in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/CoreVisualizations/JqplotDataGenerator.php
-
message: "#^Offset mixed on null in isset\\(\\) does not exist\\.$#"
count: 1
path: plugins/CoreVisualizations/JqplotDataGenerator/Chart.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreVisualizations\\\\Metrics\\\\Formatter\\\\Numeric\\:\\:getPrettyNumber\\(\\) should return string but returns float\\.$#"
count: 1
path: plugins/CoreVisualizations/Metrics/Formatter/Numeric.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreVisualizations\\\\Metrics\\\\Formatter\\\\Numeric\\:\\:getPrettyPercentFromQuotient\\(\\) should return string but returns float\\.$#"
count: 1
path: plugins/CoreVisualizations/Metrics/Formatter/Numeric.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreVisualizations\\\\Metrics\\\\Formatter\\\\Numeric\\:\\:getPrettyTimeFromSeconds\\(\\) should return string but returns float\\|int\\.$#"
count: 1
path: plugins/CoreVisualizations/Metrics/Formatter/Numeric.php
-
message: "#^Call to method getName\\(\\) on an unknown class Piwik\\\\Plugins\\\\AbTesting\\\\Columns\\\\Metrics\\\\ProcessedMetric\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Graph.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Graph.php
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Graph.php
-
message: "#^PHPDoc tag @var for variable \\$extraProcessedMetrics contains unknown class Piwik\\\\Plugins\\\\AbTesting\\\\Columns\\\\Metrics\\\\ProcessedMetric\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Graph.php
-
message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(Piwik\\\\Plugins\\\\AbTesting\\\\Columns\\\\Metrics\\\\ProcessedMetric\\)\\: mixed\\)\\|null, Closure\\(Piwik\\\\Plugin\\\\Metric\\)\\: string given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Graph.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Graph.php
-
message: "#^Variable \\$dataTable in PHPDoc tag @var does not match any variable in the foreach loop\\: \\$row$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Graph.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreVisualizations\\\\Visualizations\\\\HtmlTable\\:\\:getCellHtmlAttributes\\(\\) should return array but returns null\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/HtmlTable.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/HtmlTable.php
-
message: "#^Property Piwik\\\\Plugin\\\\ViewDataTable\\:\\:\\$dataTable \\(Piwik\\\\DataTable\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/HtmlTable.php
-
message: "#^Property Piwik\\\\Plugin\\\\Visualization\\:\\:\\$report \\(Piwik\\\\Plugin\\\\Report\\) in empty\\(\\) is not falsy\\.$#"
count: 2
path: plugins/CoreVisualizations/Visualizations/HtmlTable.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/HtmlTable/RequestConfig.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/HtmlTable/RequestConfig.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$filter_excludelowpop_value \\(Closure\\|string\\) does not accept false\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/HtmlTable/RequestConfig.php
-
message: "#^Parameter \\#2 \\$lastN of static method Piwik\\\\Period\\\\Range\\:\\:getRelativeToEndDate\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/JqplotGraph/Evolution.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/CoreVisualizations/Visualizations/JqplotGraph/Evolution.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/JqplotGraph/Evolution.php
-
message: "#^Call to an undefined method Piwik\\\\DataTable\\\\DataTableInterface\\:\\:getMetadata\\(\\)\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparkline.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparkline.php
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparkline.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, array given\\.$#"
count: 2
path: plugins/CoreVisualizations/Visualizations/Sparkline.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: plugins/CoreVisualizations/Visualizations/Sparkline.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\DataTable will always evaluate to false\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Parameter \\#3 \\$description of method Piwik\\\\Plugins\\\\CoreVisualizations\\\\Visualizations\\\\Sparklines\\\\Config\\:\\:addSparkline\\(\\) expects array\\|string, null given\\.$#"
count: 2
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Parameter \\#8 \\$seriesIndices of method Piwik\\\\Plugins\\\\CoreVisualizations\\\\Visualizations\\\\Sparklines\\\\Config\\:\\:addSparkline\\(\\) expects int\\|null, array\\<int\\<0, max\\>, int\\> given\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Right side of && is always true\\.$#"
count: 2
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Variable \\$comparisonRows might not be defined\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Variable \\$segmentPretty might not be defined\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\Site will always evaluate to false\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines/Config.php
-
message: "#^Offset 'group' on array\\{value\\: mixed, description\\: mixed, column\\: mixed\\} in isset\\(\\) does not exist\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines/Config.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$value$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines/Config.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreVisualizations\\\\Visualizations\\\\Sparklines\\\\Config\\:\\:\\$title_attributes \\(string\\) does not accept default value of type array\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines/Config.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines/Config.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\|string and null will always evaluate to false\\.$#"
count: 1
path: plugins/CoreVisualizations/Visualizations/Sparklines/Config.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/CoreVisualizations/Widgets/SingleMetricView.php
-
message: "#^Method Piwik\\\\Plugins\\\\CoreVue\\\\Commands\\\\Build\\:\\:buildFiles\\(\\) should return int but returns bool\\.$#"
count: 1
path: plugins/CoreVue/Commands/Build.php
-
message: "#^Parameter \\#3 \\$default of method Piwik\\\\Plugin\\\\ConsoleCommand\\:\\:addOptionalArgument\\(\\) expects null, array given\\.$#"
count: 1
path: plugins/CoreVue/Commands/Build.php
-
message: "#^Parameter \\#1 \\$idSite of static method Piwik\\\\Tracker\\\\Cache\\:\\:deleteCacheWebsiteAttributes\\(\\) expects string, int given\\.$#"
count: 2
path: plugins/CustomDimensions/API.php
-
message: "#^Parameter \\#5 \\$segment of static method Piwik\\\\Archive\\:\\:createDataTableFromArchive\\(\\) expects string, bool given\\.$#"
count: 2
path: plugins/CustomDimensions/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 3
path: plugins/CustomDimensions/CustomDimensions.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\:\\:deleteColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/CustomDimensions/DataTable/Filter/RemoveUserIfNeeded.php
-
message: "#^Variable \\$action in empty\\(\\) always exists and is not falsy\\.$#"
count: 2
path: plugins/CustomDimensions/Dimension/Extraction.php
-
message: "#^Method Piwik\\\\Plugins\\\\CustomDimensions\\\\Dimension\\\\Index\\:\\:getConfiguration\\(\\) is unused\\.$#"
count: 1
path: plugins/CustomDimensions/Dimension/Index.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 4
path: plugins/CustomDimensions/GetCustomDimension.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, bool\\|int given\\.$#"
count: 1
path: plugins/CustomDimensions/Menu.php
-
message: "#^Parameter \\#3 \\$additionalSelects of method Piwik\\\\DataAccess\\\\LogAggregator\\:\\:queryConversionsByDimension\\(\\) expects array, false given\\.$#"
count: 1
path: plugins/CustomDimensions/RecordBuilders/CustomDimension.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/CustomDimensions/RecordBuilders/CustomDimension.php
-
message: "#^Variable \\$value in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: plugins/CustomDimensions/RecordBuilders/CustomDimension.php
-
message: "#^Variable \\$action in empty\\(\\) always exists and is not falsy\\.$#"
count: 2
path: plugins/CustomDimensions/Tracker/CustomDimensionsRequestProcessor.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/DBStats/Tasks.php
-
message: "#^Access to an undefined property object\\:\\:\\$action\\.$#"
count: 1
path: plugins/Dashboard/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Dashboard\\\\API\\:\\:getDefaultDashboard\\(\\) has invalid return type array\\.$#"
count: 1
path: plugins/Dashboard/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Dashboard\\\\API\\:\\:getUserDashboards\\(\\) has invalid return type array\\.$#"
count: 1
path: plugins/Dashboard/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Dashboard\\\\Categories\\\\DashboardCategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Dashboard/Categories/DashboardCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\Dashboard\\\\Categories\\\\DashboardCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/Dashboard/Categories/DashboardCategory.php
-
message: "#^Access to an undefined property Piwik\\\\Session\\\\SessionNamespace\\:\\:\\$dashboardLayout\\.$#"
count: 2
path: plugins/Dashboard/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 3
path: plugins/Dashboard/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, bool\\|int given\\.$#"
count: 1
path: plugins/Dashboard/Menu.php
-
message: "#^Method Piwik\\\\Plugins\\\\Dashboard\\\\Model\\:\\:getLayoutForUser\\(\\) should return bool\\|string but returns array\\.$#"
count: 1
path: plugins/Dashboard/Model.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginCookie.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginFlash.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginJava.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginPdf.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginQuickTime.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginRealPlayer.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginSilverlight.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/DevicePlugins/Columns/PluginWindowsMedia.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/DevicePlugins/RecordBuilders/DevicePlugins.php
-
message: "#^Call to an undefined method Piwik\\\\DataTable\\\\DataTableInterface\\:\\:getDataTables\\(\\)\\.$#"
count: 1
path: plugins/DevicesDetection/API.php
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 2
path: plugins/DevicesDetection/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\DevicesDetection\\\\API\\:\\:getBrowsers\\(\\) should return Piwik\\\\DataTable but returns Piwik\\\\DataTable\\\\DataTableInterface\\.$#"
count: 1
path: plugins/DevicesDetection/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\DevicesDetection\\\\API\\:\\:getOsFamilies\\(\\) should return Piwik\\\\DataTable but returns Piwik\\\\DataTable\\\\DataTableInterface\\.$#"
count: 1
path: plugins/DevicesDetection/API.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\DataTable\\\\Map\\:\\:addTable\\(\\) expects Piwik\\\\DataTable\\|Piwik\\\\DataTable\\\\Map, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: plugins/DevicesDetection/API.php
-
message: "#^Parameter \\#1 \\$sqlFilterValue of method Piwik\\\\Plugin\\\\Segment\\:\\:setSqlFilterValue\\(\\) expects array\\|string, Closure given\\.$#"
count: 1
path: plugins/DevicesDetection/Columns/BrowserName.php
-
message: "#^Parameter \\#1 \\$sqlFilterValue of method Piwik\\\\Plugin\\\\Segment\\:\\:setSqlFilterValue\\(\\) expects array\\|string, Closure given\\.$#"
count: 1
path: plugins/DevicesDetection/Columns/Os.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/DevicesDetection/RecordBuilders/Base.php
-
message: "#^Variable \\$label in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/DevicesDetection/functions.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:getServerVersion\\(\\)\\.$#"
count: 1
path: plugins/Diagnostics/Commands/ArchivingInstanceStatistics.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Output\\\\OutputInterface\\:\\:fetch\\(\\)\\.$#"
count: 1
path: plugins/Diagnostics/Commands/ArchivingStatus.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: plugins/Diagnostics/Commands/Run.php
-
message: "#^Offset 'data' does not exist on bool\\|string\\.$#"
count: 2
path: plugins/Diagnostics/Diagnostic/AbstractPrivateDirectories.php
-
message: "#^Offset 'status' does not exist on bool\\|string\\.$#"
count: 2
path: plugins/Diagnostics/Diagnostic/AbstractPrivateDirectories.php
-
message: "#^Property Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\ArchiveInvalidationsInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/ArchiveInvalidationsInformational.php
-
message: "#^Parameter \\#2 \\$comment of static method Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DiagnosticResult\\:\\:informationalResult\\(\\) expects string, bool given\\.$#"
count: 4
path: plugins/Diagnostics/Diagnostic/ConfigInformational.php
-
message: "#^Parameter \\#2 \\$comment of static method Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DiagnosticResult\\:\\:informationalResult\\(\\) expects string, false given\\.$#"
count: 2
path: plugins/Diagnostics/Diagnostic/ConfigInformational.php
-
message: "#^Property Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\ConfigInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/ConfigInformational.php
-
message: "#^Binary operation \"\\-\" between int\\<1, max\\> and non\\-falsy\\-string results in an error\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/CronArchivingCheck.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/CronArchivingLastRunCheck.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:getServerVersion\\(\\)\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/DatabaseInformational.php
-
message: "#^Property Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DatabaseInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/DatabaseInformational.php
-
message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/DiagnosticResult.php
-
message: "#^Strict comparison using \\=\\=\\= between string and true will always evaluate to false\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/DiagnosticResult.php
-
message: "#^Parameter \\#2 \\$comment of static method Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DiagnosticResult\\:\\:informationalResult\\(\\) expects string, bool given\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/MatomoInformational.php
-
message: "#^Property Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\MatomoInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/MatomoInformational.php
-
message: "#^PHPDoc tag @var above a method has no effect\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/PHPBinaryCheck.php
-
message: "#^PHPDoc tag @var does not specify variable name\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/PHPBinaryCheck.php
-
message: "#^Parameter \\#2 \\$comment of static method Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DiagnosticResult\\:\\:informationalResult\\(\\) expects string, bool given\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/PhpInformational.php
-
message: "#^Parameter \\#2 \\$comment of static method Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DiagnosticResult\\:\\:informationalResult\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/PhpInformational.php
-
message: "#^Right side of && is always true\\.$#"
count: 3
path: plugins/Diagnostics/Diagnostic/PhpInformational.php
-
message: "#^Variable \\$disabled_functions in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/PhpInformational.php
-
message: "#^Parameter \\#2 \\$parameters of static method Piwik\\\\Db\\:\\:fetchOne\\(\\) expects array, string given\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/ReportInformational.php
-
message: "#^Parameter \\#2 \\$timestamp of function date expects int, string given\\.$#"
count: 2
path: plugins/Diagnostics/Diagnostic/ReportInformational.php
-
message: "#^Property Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\ReportInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/ReportInformational.php
-
message: "#^Parameter \\#1 \\$version1 of function version_compare expects string, int given\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/RequiredPhpSetting.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/TrackerCheck.php
-
message: "#^Property Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\UserInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/Diagnostics/Diagnostic/UserInformational.php
-
message: "#^Property Piwik\\\\Plugins\\\\Ecommerce\\\\Categories\\\\EcommerceCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/Ecommerce/Categories/EcommerceCategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Ecommerce\\\\Categories\\\\EcommerceLogSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Ecommerce/Categories/EcommerceLogSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Ecommerce\\\\Categories\\\\EcommerceOverviewSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Ecommerce/Categories/EcommerceOverviewSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Ecommerce\\\\Categories\\\\ProductSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Ecommerce/Categories/ProductSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Ecommerce\\\\Categories\\\\SalesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Ecommerce/Categories/SalesSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Ecommerce\\\\Columns\\\\BaseConversion\\:\\:roundRevenueIfNeeded\\(\\) should return float\\|int but returns false\\.$#"
count: 1
path: plugins/Ecommerce/Columns/BaseConversion.php
-
message: "#^Strict comparison using \\=\\=\\= between false and float\\|int will always evaluate to false\\.$#"
count: 1
path: plugins/Ecommerce/Columns/BaseConversion.php
-
message: "#^Property Piwik\\\\Plugins\\\\Ecommerce\\\\Columns\\\\ProductName\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Ecommerce/Columns/ProductName.php
-
message: "#^Property Piwik\\\\Plugins\\\\Ecommerce\\\\Columns\\\\ProductSku\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Ecommerce/Columns/ProductSku.php
-
message: "#^Property Piwik\\\\Plugins\\\\Ecommerce\\\\Columns\\\\ProductViewName\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Ecommerce/Columns/ProductViewName.php
-
message: "#^Property Piwik\\\\Plugins\\\\Ecommerce\\\\Columns\\\\ProductViewSku\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Ecommerce/Columns/ProductViewSku.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$cart$#"
count: 1
path: plugins/Ecommerce/Columns/Revenue.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: plugins/Ecommerce/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Ecommerce/Reports/Base.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Ecommerce/Reports/BaseItem.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/Ecommerce/Reports/GetDaysToConversionAbandonedCart.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/Ecommerce/Reports/GetDaysToConversionEcommerceOrder.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/Ecommerce/Reports/GetVisitsUntilConversionAbandonedCart.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Ecommerce/Widgets/GetEcommerceLog.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Ecommerce/Widgets/ProductsByDimension.php
-
message: "#^Method Piwik\\\\Plugins\\\\Events\\\\API\\:\\:getSecondaryDimensions\\(\\) should return array but returns false\\.$#"
count: 1
path: plugins/Events/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Events\\\\Categories\\\\EventsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Events/Categories/EventsSubcategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\Events\\\\Columns\\\\EventAction\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Events/Columns/EventAction.php
-
message: "#^Property Piwik\\\\Plugins\\\\Events\\\\Columns\\\\EventCategory\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Events/Columns/EventCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\Events\\\\Columns\\\\EventName\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Events/Columns/EventName.php
-
message: "#^Property Piwik\\\\Plugins\\\\Events\\\\Columns\\\\EventUrl\\:\\:\\$sqlFilter \\(Closure\\|string\\) does not accept default value of type array\\{'Piwik\\\\\\\\Tracker\\\\\\\\TableLogAction', 'getOptimizedIdActio…'\\}\\.$#"
count: 1
path: plugins/Events/Columns/EventUrl.php
-
message: "#^Method Piwik\\\\Plugins\\\\Events\\\\Columns\\\\TotalEvents\\:\\:onExistingVisit\\(\\) should return int but returns false\\.$#"
count: 1
path: plugins/Events/Columns/TotalEvents.php
-
message: "#^Method Piwik\\\\Plugins\\\\Events\\\\Columns\\\\TotalEvents\\:\\:onExistingVisit\\(\\) should return int but returns string\\.$#"
count: 1
path: plugins/Events/Columns/TotalEvents.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/Events/Events.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/Events/RecordBuilders/EventReports.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Events/Reports/GetAction.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Events/Reports/GetCategory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Events/Reports/GetName.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/Events/Reports/GetNameFromCategoryId.php
-
message: "#^Method Piwik\\\\Plugins\\\\Events\\\\VisitorDetails\\:\\:renderAction\\(\\) should return string but empty return statement found\\.$#"
count: 1
path: plugins/Events/VisitorDetails.php
-
message: "#^Parameter \\#1 \\$idSites of static method Piwik\\\\Piwik\\:\\:checkUserHasViewAccess\\(\\) expects array\\|int, string given\\.$#"
count: 3
path: plugins/ExamplePlugin/API.php
-
message: "#^Parameter \\#3 \\$escapeComment of static method Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DiagnosticResult\\:\\:informationalResult\\(\\) expects bool, string given\\.$#"
count: 1
path: plugins/ExamplePlugin/Diagnostic/ExampleCheck.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/ExamplePlugin/RecordBuilders/ExampleMetric2.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/ExampleTracker/Columns/ExampleActionDimension.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/ExampleTracker/Columns/ExampleConversionDimension.php
-
message: "#^Property Piwik\\\\Notification\\:\\:\\$flags \\(int\\) does not accept null\\.$#"
count: 1
path: plugins/ExampleUI/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/ExampleUI/Reports/GetTemperaturesEvolution.php
-
message: "#^Property Piwik\\\\Plugins\\\\FeatureFlags\\\\FeatureFlagManager\\:\\:\\$logger \\(Piwik\\\\Log\\\\Logger\\) does not accept Piwik\\\\Log\\\\LoggerInterface\\.$#"
count: 1
path: plugins/FeatureFlags/FeatureFlagManager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$feature$#"
count: 1
path: plugins/FeatureFlags/FeatureFlagStorageInterface.php
-
message: "#^Dead catch \\- Exception is never thrown in the try block\\.$#"
count: 1
path: plugins/FeatureFlags/Storage/ConfigFeatureFlagStorage.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$feature$#"
count: 1
path: plugins/FeatureFlags/Storage/ConfigFeatureFlagStorage.php
-
message: "#^Variable \\$like in empty\\(\\) is never defined\\.$#"
count: 1
path: plugins/Feedback/API.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: plugins/Feedback/Feedback.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Feedback/Feedback.php
-
message: "#^Parameter \\#2 \\$parameters of static method Piwik\\\\Db\\:\\:query\\(\\) expects array, string given\\.$#"
count: 1
path: plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php
-
message: "#^Parameter \\#2 \\$timestamp of function date expects int, string\\|false given\\.$#"
count: 1
path: plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, true given\\.$#"
count: 1
path: plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, true given\\.$#"
count: 2
path: plugins/GeoIp2/Controller.php
-
message: "#^Call to an undefined method Matomo\\\\Decompress\\\\DecompressInterface\\:\\:extractInString\\(\\)\\.$#"
count: 1
path: plugins/GeoIp2/GeoIP2AutoUpdater.php
-
message: "#^Call to an undefined method Matomo\\\\Decompress\\\\DecompressInterface\\:\\:listContent\\(\\)\\.$#"
count: 1
path: plugins/GeoIp2/GeoIP2AutoUpdater.php
-
message: "#^Parameter \\#2 \\$code of class Exception constructor expects int, string given\\.$#"
count: 1
path: plugins/GeoIp2/GeoIP2AutoUpdater.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/GeoIp2/GeoIP2AutoUpdater.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 3
path: plugins/GeoIp2/GeoIP2AutoUpdater.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, true given\\.$#"
count: 1
path: plugins/GeoIp2/GeoIp2.php
-
message: "#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#"
count: 1
path: plugins/GeoIp2/LocationProvider/GeoIp2.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: plugins/GeoIp2/LocationProvider/GeoIp2.php
-
message: "#^Method Piwik\\\\Plugins\\\\GeoIp2\\\\LocationProvider\\\\GeoIp2\\\\ServerModule\\:\\:getLocation\\(\\) should return array but returns false\\.$#"
count: 1
path: plugins/GeoIp2/LocationProvider/GeoIp2/ServerModule.php
-
message: "#^Method Piwik\\\\Plugins\\\\GeoIp2\\\\LocationProvider\\\\GeoIp2\\\\ServerModule\\:\\:isWorking\\(\\) should return bool but returns string\\.$#"
count: 1
path: plugins/GeoIp2/LocationProvider/GeoIp2/ServerModule.php
-
message: "#^Method Piwik\\\\Plugins\\\\Goals\\\\API\\:\\:getGoal\\(\\) should return array\\|null but return statement is missing\\.$#"
count: 1
path: plugins/Goals/API.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:deleteColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Goals/API.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:getColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Goals/API.php
-
message: "#^Parameter \\#1 \\$oldName of method Piwik\\\\DataTable\\\\Row\\:\\:renameColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Goals/API.php
-
message: "#^Parameter \\#6 \\$columns of method Piwik\\\\Plugins\\\\Goals\\\\API\\:\\:get\\(\\) expects array, string given\\.$#"
count: 1
path: plugins/Goals/API.php
-
message: "#^Variable \\$table in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: plugins/Goals/API.php
-
message: "#^Property Piwik\\\\Plugins\\\\Goals\\\\Categories\\\\GoalsCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/Goals/Categories/GoalsCategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Goals\\\\Categories\\\\GoalsOverviewSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Goals/Categories/GoalsOverviewSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Goals\\\\Categories\\\\ManageGoalsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Goals/Categories/ManageGoalsSubcategory.php
-
message: "#^Strict comparison using \\=\\=\\= between int and 'ecommerceOrder' will always evaluate to false\\.$#"
count: 1
path: plugins/Goals/Columns/Metrics/GoalSpecific/RevenuePerEntry.php
-
message: "#^Strict comparison using \\=\\=\\= between int and 'ecommerceOrder' will always evaluate to false\\.$#"
count: 1
path: plugins/Goals/Columns/Metrics/GoalSpecific/RevenuePerVisit.php
-
message: "#^Property Piwik\\\\Plugins\\\\Goals\\\\Columns\\\\Metrics\\\\GoalSpecificProcessedMetric\\:\\:\\$idSite \\(int\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: plugins/Goals/Columns/Metrics/GoalSpecificProcessedMetric.php
-
message: "#^Strict comparison using \\=\\=\\= between int and 'ecommerceAbandonedC…' will always evaluate to false\\.$#"
count: 1
path: plugins/Goals/Columns/Metrics/GoalSpecificProcessedMetric.php
-
message: "#^Strict comparison using \\=\\=\\= between int and 'ecommerceOrder' will always evaluate to false\\.$#"
count: 1
path: plugins/Goals/Columns/Metrics/GoalSpecificProcessedMetric.php
-
message: "#^Method Piwik\\\\Plugins\\\\Goals\\\\Commands\\\\CalculateConversionPages\\:\\:getDateRangeToCalculate\\(\\) never returns array\\<Piwik\\\\Date\\> so it can be removed from the return type\\.$#"
count: 1
path: plugins/Goals/Commands/CalculateConversionPages.php
-
message: "#^Method Piwik\\\\Plugins\\\\Goals\\\\Commands\\\\CalculateConversionPages\\:\\:getDateRangeToCalculate\\(\\) never returns null so it can be removed from the return type\\.$#"
count: 1
path: plugins/Goals/Commands/CalculateConversionPages.php
-
message: "#^Method Piwik\\\\Plugins\\\\Goals\\\\Commands\\\\CalculateConversionPages\\:\\:getDateRangeToCalculate\\(\\) should return array\\<Piwik\\\\Date\\>\\|null but returns array\\<int, string\\>\\.$#"
count: 1
path: plugins/Goals/Commands/CalculateConversionPages.php
-
message: "#^Parameter \\#1 \\$idGoal of method Piwik\\\\Plugins\\\\Goals\\\\Model\\:\\:doesGoalExist\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/Goals/Commands/CalculateConversionPages.php
-
message: "#^Parameter \\#1 \\$idsite of class Piwik\\\\Site constructor expects int, string given\\.$#"
count: 1
path: plugins/Goals/Commands/CalculateConversionPages.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Goals/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Goals/Controller.php
-
message: "#^Variable \\$site in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Goals/DataTable/Filter/CalculateConversionPageRate.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 4
path: plugins/Goals/Goals.php
-
message: "#^Property Piwik\\\\Plugins\\\\Goals\\\\Pages\\:\\:\\$conversions is never read, only written\\.$#"
count: 1
path: plugins/Goals/Pages.php
-
message: "#^Parameter \\#1 \\$idSite of method Piwik\\\\Plugins\\\\Goals\\\\API\\:\\:getGoals\\(\\) expects array\\|string, int\\|null given\\.$#"
count: 1
path: plugins/Goals/RecordBuilders/GeneralGoalsRecords.php
-
message: "#^Parameter \\#3 \\$lookForThisPrefix of static method Piwik\\\\DataAccess\\\\LogAggregator\\:\\:makeArrayOneColumn\\(\\) expects bool, string given\\.$#"
count: 2
path: plugins/Goals/RecordBuilders/GeneralGoalsRecords.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\|Zend_Db_Statement and false will always evaluate to false\\.$#"
count: 1
path: plugins/Goals/RecordBuilders/GeneralGoalsRecords.php
-
message: "#^Parameter \\#3 \\$columnToSortByBeforeTruncation of method Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:__construct\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Goals/RecordBuilders/ProductRecord.php
-
message: "#^Parameter \\#6 \\$joinLogActionOnColumn of method Piwik\\\\DataAccess\\\\LogAggregator\\:\\:queryActionsByDimension\\(\\) expects bool\\|string, array\\<int, mixed\\> given\\.$#"
count: 1
path: plugins/Goals/RecordBuilders/ProductRecord.php
-
message: "#^Strict comparison using \\=\\=\\= between string\\|null and false will always evaluate to false\\.$#"
count: 1
path: plugins/Goals/RecordBuilders/ProductRecord.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 4
path: plugins/Goals/Reports/Get.php
-
message: "#^Property Piwik\\\\Plugins\\\\CoreVisualizations\\\\Visualizations\\\\Sparklines\\\\Config\\:\\:\\$title_attributes \\(string\\) does not accept array\\<string, float\\|int\\<min, \\-1\\>\\|int\\<1, max\\>\\|string\\>\\.$#"
count: 1
path: plugins/Goals/Reports/Get.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/Goals/Reports/GetDaysToConversion.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: plugins/Goals/Tracker/GoalsRequestProcessor.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: plugins/Goals/Visualizations/Goals.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Goals/Widgets/AddNewGoal.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Goals/Widgets/EditGoals.php
-
message: "#^Binary operation \"\\+\" between float\\|int and non\\-empty\\-string results in an error\\.$#"
count: 1
path: plugins/ImageGraph/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/ImageGraph/API.php
-
message: "#^Parameter \\#1 \\$idSites of method Piwik\\\\Plugins\\\\API\\\\API\\:\\:getReportMetadata\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/ImageGraph/Controller.php
-
message: "#^Parameter \\#1 \\$idSites of method Piwik\\\\Plugins\\\\API\\\\API\\:\\:getReportMetadata\\(\\) expects string, int\\<min, \\-1\\>\\|int\\<1, max\\> given\\.$#"
count: 1
path: plugins/ImageGraph/Controller.php
-
message: "#^Parameter \\#2 \\$lastN of static method Piwik\\\\Period\\\\Range\\:\\:getRelativeToEndDate\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/ImageGraph/ImageGraph.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/ImageGraph/ImageGraph.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: plugins/ImageGraph/StaticGraph.php
-
message: "#^Parameter \\#3 \\$Format of method CpChart\\\\Data\\:\\:setAxisDisplay\\(\\) expects array\\|null, string given\\.$#"
count: 1
path: plugins/ImageGraph/StaticGraph.php
-
message: "#^Parameter \\#2 \\$Weight of method CpChart\\\\Data\\:\\:setSerieWeight\\(\\) expects int, float given\\.$#"
count: 1
path: plugins/ImageGraph/StaticGraph/GridGraph.php
-
message: "#^Parameter \\#3 \\$length of function substr expects int, float given\\.$#"
count: 1
path: plugins/ImageGraph/StaticGraph/GridGraph.php
-
message: "#^Variable \\$bulletWidth might not be defined\\.$#"
count: 2
path: plugins/ImageGraph/StaticGraph/GridGraph.php
-
message: "#^Variable \\$iconOffsetAboveLabelSymmetryAxis might not be defined\\.$#"
count: 1
path: plugins/ImageGraph/StaticGraph/GridGraph.php
-
message: "#^Constructor of class Piwik\\\\Plugins\\\\Insights\\\\DataTable\\\\Filter\\\\ExcludeLowValue has an unused parameter \\$table\\.$#"
count: 1
path: plugins/Insights/DataTable/Filter/ExcludeLowValue.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: plugins/Insights/DataTable/Filter/Insight.php
-
message: "#^Strict comparison using \\=\\=\\= between float\\|int and false will always evaluate to false\\.$#"
count: 1
path: plugins/Insights/DataTable/Filter/Insight.php
-
message: "#^Constructor of class Piwik\\\\Plugins\\\\Insights\\\\DataTable\\\\Filter\\\\Limit has an unused parameter \\$table\\.$#"
count: 1
path: plugins/Insights/DataTable/Filter/Limit.php
-
message: "#^Constructor of class Piwik\\\\Plugins\\\\Insights\\\\DataTable\\\\Filter\\\\MinGrowth has an unused parameter \\$table\\.$#"
count: 1
path: plugins/Insights/DataTable/Filter/MinGrowth.php
-
message: "#^Constructor of class Piwik\\\\Plugins\\\\Insights\\\\DataTable\\\\Filter\\\\OrderBy has an unused parameter \\$table\\.$#"
count: 1
path: plugins/Insights/DataTable/Filter/OrderBy.php
-
message: "#^Parameter \\#1 \\$functionCallback of method Piwik\\\\DataTable\\:\\:sort\\(\\) expects string, array\\<int, \\$this\\(Piwik\\\\Plugins\\\\Insights\\\\DataTable\\\\Filter\\\\OrderBy\\)\\|string\\> given\\.$#"
count: 1
path: plugins/Insights/DataTable/Filter/OrderBy.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$pivotBy \\(string\\) does not accept false\\.$#"
count: 1
path: plugins/Insights/Visualizations/Insight/RequestConfig.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$pivotByColumn \\(string\\) does not accept false\\.$#"
count: 1
path: plugins/Insights/Visualizations/Insight/RequestConfig.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:checkClientVersion\\(\\)\\.$#"
count: 1
path: plugins/Installation/Controller.php
-
message: "#^Expression on left side of \\?\\? is not nullable\\.$#"
count: 1
path: plugins/Installation/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Installation/Controller.php
-
message: "#^Call to an undefined method HTML_QuickForm2_Container\\:\\:createDatabaseObject\\(\\)\\.$#"
count: 1
path: plugins/Installation/FormDatabaseSetup.php
-
message: "#^Call to an undefined method HTML_QuickForm2_Node\\:\\:loadOptions\\(\\)\\.$#"
count: 2
path: plugins/Installation/FormDatabaseSetup.php
-
message: "#^Call to an undefined method HTML_QuickForm2_Node\\:\\:loadOptions\\(\\)\\.$#"
count: 2
path: plugins/Installation/FormFirstWebsiteSetup.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: plugins/Installation/Installation.php
-
message: "#^Parameter \\#1 \\$request of static method Piwik\\\\API\\\\Request\\:\\:isApiRequest\\(\\) expects array, null given\\.$#"
count: 1
path: plugins/Installation/Installation.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: plugins/Installation/Installation.php
-
message: "#^Right side of \\|\\| is always true\\.$#"
count: 1
path: plugins/Installation/Installation.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Installation/Onboarding.php
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, bool given\\.$#"
count: 14
path: plugins/Intl/Commands/GenerateIntl.php
-
message: "#^Method Piwik\\\\Plugins\\\\LanguagesManager\\\\API\\:\\:getLanguageForUser\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/LanguagesManager/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\LanguagesManager\\\\API\\:\\:set12HourClockForUser\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/LanguagesManager/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\LanguagesManager\\\\API\\:\\:uses12HourClockForUser\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/LanguagesManager/API.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/LanguagesManager/API.php
-
message: "#^Parameter \\#1 \\$arr1 of function array_merge expects array, string given\\.$#"
count: 1
path: plugins/LanguagesManager/Commands/PluginsWithTranslations.php
-
message: "#^Method Piwik\\\\Plugins\\\\LanguagesManager\\\\LanguagesManager\\:\\:getLanguageNameForCurrentUser\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/LanguagesManager/LanguagesManager.php
-
message: "#^Parameter \\#5 \\$tooltip of method Piwik\\\\Menu\\\\MenuTop\\:\\:addHtml\\(\\) expects string, false given\\.$#"
count: 1
path: plugins/LanguagesManager/Menu.php
-
message: "#^Parameter \\#2 \\$return of function var_export expects bool, int given\\.$#"
count: 1
path: plugins/LanguagesManager/TranslationWriter/Writer.php
-
message: "#^Property Piwik\\\\Plugins\\\\LanguagesManager\\\\TranslationWriter\\\\Writer\\:\\:\\$validationMessage \\(string\\|null\\) does not accept array\\.$#"
count: 1
path: plugins/LanguagesManager/TranslationWriter/Writer.php
-
message: "#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#"
count: 2
path: plugins/Live/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Live\\\\API\\:\\:getMostRecentVisitorId\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/Live/API.php
-
message: "#^Parameter \\#1 \\$ids of static method Piwik\\\\Site\\:\\:getIdSitesFromIdSitesString\\(\\) expects array\\|string, int given\\.$#"
count: 1
path: plugins/Live/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/Live/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: plugins/Live/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Live\\\\Categories\\\\RealTimeVisitorsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Live/Categories/RealTimeVisitorsSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Live\\\\Categories\\\\VisitorLogSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Live/Categories/VisitorLogSubcategory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 3
path: plugins/Live/Controller.php
-
message: "#^Parameter \\#1 \\$str of function urldecode expects string, array\\|true given\\.$#"
count: 1
path: plugins/Live/Live.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Live/Live.php
-
message: "#^Comparison operation \"\\>\" between int\\<2, 5\\> and 0 is always true\\.$#"
count: 1
path: plugins/Live/Model.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: plugins/Live/Model.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\Tracker\\\\Db\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 3
path: plugins/Live/Model.php
-
message: "#^Parameter \\#2 \\$idSites of class Piwik\\\\Segment constructor expects array, int given\\.$#"
count: 1
path: plugins/Live/Model.php
-
message: "#^Variable \\$dateEnd in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Live/Model.php
-
message: "#^Variable \\$dateStart in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Live/Model.php
-
message: "#^Variable \\$endDate in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Live/Model.php
-
message: "#^Variable \\$startDate in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Live/Model.php
-
message: "#^Method Piwik\\\\Plugins\\\\Live\\\\Reports\\\\GetLastVisits\\:\\:buildReportMetadata\\(\\) should return array\\|null but return statement is missing\\.$#"
count: 1
path: plugins/Live/Reports/GetLastVisits.php
-
message: "#^Method Piwik\\\\Plugins\\\\Live\\\\Visitor\\:\\:getAllVisitorDetailsClasses\\(\\) should return array\\<string\\> but returns array\\<stdClass\\>\\.$#"
count: 1
path: plugins/Live/Visitor.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/Live/VisitorDetails.php
-
message: "#^Method Piwik\\\\Plugins\\\\Live\\\\VisitorDetails\\:\\:getAdditionalUrlsForSite\\(\\) should return array\\<int, array\\<string\\>\\> but returns array\\<string\\>\\.$#"
count: 1
path: plugins/Live/VisitorDetails.php
-
message: "#^Method Piwik\\\\Plugins\\\\Live\\\\VisitorDetails\\:\\:renderAction\\(\\) should return string but empty return statement found\\.$#"
count: 3
path: plugins/Live/VisitorDetails.php
-
message: "#^Offset 'type' on array in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: plugins/Live/VisitorDetails.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 5
path: plugins/Live/VisitorDetails.php
-
message: "#^Elseif branch is unreachable because previous condition is always true\\.$#"
count: 1
path: plugins/Live/VisitorFactory.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\Plugins\\\\Live\\\\VisitorInterface will always evaluate to false\\.$#"
count: 1
path: plugins/Live/VisitorFactory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Live/Visualizations/VisitorLog.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: plugins/Live/Visualizations/VisitorLog.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Live/Widgets/GetVisitorProfilePopup.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Live/Widgets/Widget.php
-
message: "#^Parameter \\#2 \\$login of class Piwik\\\\AuthResult constructor expects string, null given\\.$#"
count: 1
path: plugins/Login/Auth.php
-
message: "#^Parameter \\#3 \\$tokenAuth of class Piwik\\\\AuthResult constructor expects string, null given\\.$#"
count: 2
path: plugins/Login/Auth.php
-
message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#"
count: 1
path: plugins/Login/Auth.php
-
message: "#^Access to an undefined property Piwik\\\\Plugins\\\\PrivacyManager\\\\SystemSettings\\:\\:\\$blacklistedBruteForceIps\\.$#"
count: 1
path: plugins/Login/Controller.php
-
message: "#^Default value of the parameter \\#3 \\$urlToRedirect \\(false\\) of method Piwik\\\\Plugins\\\\Login\\\\Controller\\:\\:authenticateAndRedirect\\(\\) is incompatible with type string\\.$#"
count: 1
path: plugins/Login/Controller.php
-
message: "#^Method Piwik\\\\Plugins\\\\Login\\\\Controller\\:\\:resetPasswordFirstStep\\(\\) should return array but returns null\\.$#"
count: 2
path: plugins/Login/Controller.php
-
message: "#^Parameter \\#1 \\$str of function nl2br expects string, bool given\\.$#"
count: 1
path: plugins/Login/Controller.php
-
message: "#^Parameter \\#2 \\$infoMessage of method Piwik\\\\Plugins\\\\Login\\\\Controller\\:\\:login\\(\\) expects bool, string given\\.$#"
count: 1
path: plugins/Login/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Login/Controller.php
-
message: "#^Variable \\$firstStepFromErrors in empty\\(\\) is never defined\\.$#"
count: 1
path: plugins/Login/Controller.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Login/Emails/LoginFromDifferentCountryEmail.php
-
message: "#^Parameter \\#1 \\$login of method Piwik\\\\Auth\\:\\:setLogin\\(\\) expects string, null given\\.$#"
count: 1
path: plugins/Login/Login.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 15$#"
count: 1
path: plugins/Login/Model.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\|null given\\.$#"
count: 1
path: plugins/Login/Model.php
-
message: "#^Method Piwik\\\\Plugins\\\\Login\\\\PasswordResetter\\:\\:getUserInformation\\(\\) should return array but returns null\\.$#"
count: 1
path: plugins/Login/PasswordResetter.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$loginMail$#"
count: 1
path: plugins/Login/PasswordResetter.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 171$#"
count: 1
path: plugins/Login/PasswordResetter.php
-
message: "#^Parameter \\#2 \\$password of method Piwik\\\\Plugins\\\\UsersManager\\\\UserUpdater\\:\\:updateUserWithoutCurrentPassword\\(\\) expects bool, string given\\.$#"
count: 1
path: plugins/Login/PasswordResetter.php
-
message: "#^Strict comparison using \\=\\=\\= between array and null will always evaluate to false\\.$#"
count: 2
path: plugins/Login/PasswordResetter.php
-
message: "#^Method Piwik\\\\Plugins\\\\Login\\\\PasswordVerifier\\:\\:requirePasswordVerified\\(\\) should return true\\|null but return statement is missing\\.$#"
count: 1
path: plugins/Login/PasswordVerifier.php
-
message: "#^Method Piwik\\\\Plugins\\\\Login\\\\PasswordVerifier\\:\\:requirePasswordVerifiedRecently\\(\\) should return true\\|null but return statement is missing\\.$#"
count: 1
path: plugins/Login/PasswordVerifier.php
-
message: "#^Parameter \\#1 \\$passwordHash of method Piwik\\\\Auth\\:\\:setPasswordHash\\(\\) expects string, null given\\.$#"
count: 1
path: plugins/Login/PasswordVerifier.php
-
message: "#^Parameter \\#1 \\$token_auth of method Piwik\\\\Auth\\:\\:setTokenAuth\\(\\) expects string, null given\\.$#"
count: 1
path: plugins/Login/PasswordVerifier.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Login/Security/BruteForceDetection.php
-
message: "#^Binary operation \"\\+\" between int\\<1, max\\> and string results in an error\\.$#"
count: 1
path: plugins/Login/SessionInitializer.php
-
message: "#^Property Piwik\\\\Plugins\\\\Login\\\\SessionInitializer\\:\\:\\$usersManagerAPI is never read, only written\\.$#"
count: 1
path: plugins/Login/SessionInitializer.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 2
path: plugins/Login/SystemSettings.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$pluginName$#"
count: 1
path: plugins/Marketplace/API.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Marketplace/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Marketplace/Controller.php
-
message: "#^Property Piwik\\\\Plugins\\\\Marketplace\\\\Environment\\:\\:\\$releaseChannel \\(Piwik\\\\Plugins\\\\CoreUpdater\\\\ReleaseChannel\\) does not accept Piwik\\\\UpdateCheck\\\\ReleaseChannel\\.$#"
count: 1
path: plugins/Marketplace/Environment.php
-
message: "#^Property Piwik\\\\Plugins\\\\Marketplace\\\\Environment\\:\\:\\$releaseChannel \\(Piwik\\\\Plugins\\\\CoreUpdater\\\\ReleaseChannel\\) in empty\\(\\) is not falsy\\.$#"
count: 2
path: plugins/Marketplace/Environment.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: plugins/Marketplace/Environment.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$displayName$#"
count: 1
path: plugins/Marketplace/PluginTrial/Request.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 2
path: plugins/Marketplace/Plugins.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Marketplace/Widgets/GetNewPlugins.php
-
message: "#^Variable \\$previous in PHPDoc tag @var does not match assigned variable \\$domain\\.$#"
count: 1
path: plugins/Marketplace/config/config.php
-
message: "#^Result of method Piwik\\\\Plugins\\\\MobileMessaging\\\\Model\\:\\:removePhoneNumber\\(\\) \\(void\\) is used\\.$#"
count: 1
path: plugins/MobileMessaging/API.php
-
message: "#^Property Piwik\\\\Plugins\\\\MobileMessaging\\\\Diagnostic\\\\MobileMessagingInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/MobileMessaging/Diagnostic/MobileMessagingInformational.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, bool given\\.$#"
count: 1
path: plugins/MobileMessaging/Model.php
-
message: "#^Strict comparison using \\=\\=\\= between 1 and string\\|false will always evaluate to false\\.$#"
count: 1
path: plugins/MobileMessaging/Model.php
-
message: "#^Strict comparison using \\=\\=\\= between true and string\\|false will always evaluate to false\\.$#"
count: 1
path: plugins/MobileMessaging/Model.php
-
message: "#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\<int\\|string, string\\>\\)\\: string, Closure\\(mixed\\)\\: float given\\.$#"
count: 1
path: plugins/MobileMessaging/ReportRenderer/Sms.php
-
message: "#^Parameter \\#1 \\$name of static method Piwik\\\\Container\\\\StaticContainer\\:\\:get\\(\\) expects string, Piwik\\\\Plugins\\\\MobileMessaging\\\\SMSProvider given\\.$#"
count: 1
path: plugins/MobileMessaging/SMSProvider.php
-
message: "#^Method Piwik\\\\Plugins\\\\MobileMessaging\\\\SMSProvider\\\\StubbedProvider\\:\\:getCreditLeft\\(\\) should return string but returns int\\.$#"
count: 1
path: plugins/MobileMessaging/SMSProvider/StubbedProvider.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 4
path: plugins/Monolog/Handler/WebNotificationHandler.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 2
path: plugins/Monolog/Processor/ExceptionToTextProcessor.php
-
message: "#^Method Piwik\\\\Plugins\\\\PagePerformance\\\\Categories\\\\PerformanceSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/PagePerformance/Categories/PerformanceSubcategory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/PagePerformance/Controller.php
-
message: "#^Parameter \\#2 \\$seriesMetadata of method Piwik\\\\Plugins\\\\CoreVisualizations\\\\JqplotDataGenerator\\\\Chart\\:\\:setAxisYValues\\(\\) expects null, array\\<array\\<string, mixed\\>\\> given\\.$#"
count: 1
path: plugins/PagePerformance/JqplotDataGenerator/StackedBarEvolution.php
-
message: "#^Parameter \\#6 \\$joinLogActionOnColumn of method Piwik\\\\DataAccess\\\\LogAggregator\\:\\:queryActionsByDimension\\(\\) expects bool\\|string, array\\<int, string\\> given\\.$#"
count: 1
path: plugins/PagePerformance/RecordBuilders/PerformanceTotals.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$dimension \\(Piwik\\\\Columns\\\\Dimension\\) does not accept null\\.$#"
count: 1
path: plugins/PagePerformance/Reports/Get.php
-
message: "#^Call to an undefined method Piwik\\\\Plugin\\\\Dimension\\\\ActionDimension\\:\\:getRequestParam\\(\\)\\.$#"
count: 1
path: plugins/PagePerformance/Tracker/PerformanceDataProcessor.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/PagePerformance/Visualizations/JqplotGraph/StackedBarEvolution.php
-
message: "#^Property Piwik\\\\Plugins\\\\PrivacyManager\\\\Config\\:\\:\\$anonymizeOrderId \\(int\\) does not accept bool\\.$#"
count: 1
path: plugins/PrivacyManager/API.php
-
message: "#^Property Piwik\\\\Plugins\\\\PrivacyManager\\\\Config\\:\\:\\$anonymizeUserId \\(int\\) does not accept bool\\.$#"
count: 1
path: plugins/PrivacyManager/API.php
-
message: "#^Binary operation \"\\+\" between non\\-falsy\\-string and int results in an error\\.$#"
count: 1
path: plugins/PrivacyManager/Controller.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/PrivacyManager/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 14
path: plugins/PrivacyManager/Controller.php
-
message: "#^Parameter \\#2 \\$comment of static method Piwik\\\\Plugins\\\\Diagnostics\\\\Diagnostic\\\\DiagnosticResult\\:\\:informationalResult\\(\\) expects string, bool given\\.$#"
count: 1
path: plugins/PrivacyManager/Diagnostic/PrivacyInformational.php
-
message: "#^Property Piwik\\\\Plugins\\\\PrivacyManager\\\\Diagnostic\\\\PrivacyInformational\\:\\:\\$translator is never read, only written\\.$#"
count: 1
path: plugins/PrivacyManager/Diagnostic/PrivacyInformational.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: plugins/PrivacyManager/DoNotTrackHeaderChecker.php
-
message: "#^Method Piwik\\\\Plugins\\\\PrivacyManager\\\\LogDataPurger\\:\\:getDeleteIdVisitOffset\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/PrivacyManager/LogDataPurger.php
-
message: "#^Parameter \\#2 \\$first of static method Piwik\\\\Db\\:\\:segmentedFetchFirst\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/PrivacyManager/LogDataPurger.php
-
message: "#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#"
count: 1
path: plugins/PrivacyManager/Model/DataSubjects.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: plugins/PrivacyManager/Model/LogDataAnonymizations.php
-
message: "#^Call to function is_null\\(\\) with Piwik\\\\DataTable\\\\DataTableInterface will always evaluate to false\\.$#"
count: 1
path: plugins/PrivacyManager/PrivacyManager.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 5
path: plugins/PrivacyManager/PrivacyManager.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 5
path: plugins/PrivacyManager/PrivacyManager.php
-
message: "#^Variable \\$dataTable in empty\\(\\) always exists and is not falsy\\.$#"
count: 2
path: plugins/PrivacyManager/PrivacyManager.php
-
message: "#^Parameter \\#1 \\$reportDateYear of static method Piwik\\\\Plugins\\\\PrivacyManager\\\\ReportsPurger\\:\\:shouldReportBePurged\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/PrivacyManager/ReportsPurger.php
-
message: "#^Parameter \\#2 \\$reportDateMonth of static method Piwik\\\\Plugins\\\\PrivacyManager\\\\ReportsPurger\\:\\:shouldReportBePurged\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/PrivacyManager/ReportsPurger.php
-
message: "#^Parameter \\#3 \\$last of static method Piwik\\\\Db\\:\\:segmentedFetchAll\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/PrivacyManager/ReportsPurger.php
-
message: "#^Parameter \\#3 \\$last of static method Piwik\\\\Db\\:\\:segmentedFetchOne\\(\\) expects int, string given\\.$#"
count: 2
path: plugins/PrivacyManager/ReportsPurger.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoAbTestingCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoAbTestingCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoCrashAnalytics\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoCrashAnalytics.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoCustomReportsCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoCustomReportsCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoFormsCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoFormsCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoFunnelsCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoFunnelsCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoHeatmapCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoHeatmapCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoMediaCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoMediaCategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Categories\\\\PromoSessionRecordingCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/ProfessionalServices/Categories/PromoSessionRecordingCategory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/ProfessionalServices/ProfessionalServices.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: plugins/ProfessionalServices/PromoWidgetDismissal.php
-
message: "#^Property Piwik\\\\Plugins\\\\ProfessionalServices\\\\Widgets\\\\PromoServices\\:\\:\\$advertising is never read, only written\\.$#"
count: 1
path: plugins/ProfessionalServices/Widgets/PromoServices.php
-
message: "#^Call to an undefined method Piwik\\\\DataTable\\\\DataTableInterface\\:\\:getTable\\(\\)\\.$#"
count: 1
path: plugins/Referrers/API.php
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 4
path: plugins/Referrers/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\API\\:\\:filterOutKeywordNotDefined\\(\\) is unused\\.$#"
count: 1
path: plugins/Referrers/API.php
-
message: "#^Parameter \\#1 \\$idSites of static method Piwik\\\\Piwik\\:\\:checkUserHasViewAccess\\(\\) expects array\\|int, string given\\.$#"
count: 3
path: plugins/Referrers/API.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\:\\:getColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Referrers/API.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:getColumn\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/Referrers/API.php
-
message: "#^Parameter \\#2 \\$idSite of method Piwik\\\\Plugins\\\\Referrers\\\\API\\:\\:getDataTable\\(\\) expects int, string given\\.$#"
count: 3
path: plugins/Referrers/API.php
-
message: "#^Variable \\$numericArchives in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/Referrers/API.php
-
message: "#^Variable \\$requestedColumns in empty\\(\\) is never defined\\.$#"
count: 1
path: plugins/Referrers/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Categories\\\\AllReferrersSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Referrers/Categories/AllReferrersSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Categories\\\\CampaignsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Referrers/Categories/CampaignsSubcategory.php
-
message: "#^Property Piwik\\\\Plugins\\\\Referrers\\\\Categories\\\\ReferrersCategory\\:\\:\\$icon \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/Referrers/Categories/ReferrersCategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Categories\\\\ReferrersOverviewSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Referrers/Categories/ReferrersOverviewSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Categories\\\\SearchEnginesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Referrers/Categories/SearchEnginesSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Categories\\\\SocialsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Referrers/Categories/SocialsSubcategory.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Categories\\\\WebsitesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Referrers/Categories/WebsitesSubcategory.php
-
message: "#^Offset 'referer_keyword' on array\\{referer_type\\: 1\\|3, referer_name\\: mixed, referer_keyword\\: '', referer_url\\: string\\} in empty\\(\\) always exists and is always falsy\\.$#"
count: 1
path: plugins/Referrers/Columns/Base.php
-
message: "#^PHPDoc type bool of property Piwik\\\\Plugins\\\\Referrers\\\\Columns\\\\Campaign\\:\\:\\$nameSingular is not covariant with PHPDoc type string of overridden property Piwik\\\\Columns\\\\Dimension\\:\\:\\$nameSingular\\.$#"
count: 1
path: plugins/Referrers/Columns/Campaign.php
-
message: "#^Property Piwik\\\\Plugins\\\\Referrers\\\\Columns\\\\Campaign\\:\\:\\$nameSingular \\(bool\\) does not accept default value of type string\\.$#"
count: 1
path: plugins/Referrers/Columns/Campaign.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Columns\\\\Metrics\\\\VisitorsFromReferrerPercent\\:\\:getTranslatedName\\(\\) should return string but returns null\\.$#"
count: 1
path: plugins/Referrers/Columns/Metrics/VisitorsFromReferrerPercent.php
-
message: "#^Parameter \\#1 \\$label of function Piwik\\\\Plugins\\\\Referrers\\\\getReferrerTypeLabel expects string, int given\\.$#"
count: 1
path: plugins/Referrers/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 3
path: plugins/Referrers/Controller.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: plugins/Referrers/DataTable/Filter/SetGetReferrerTypeSubtables.php
-
message: "#^Property Piwik\\\\Plugins\\\\Referrers\\\\DataTable\\\\Filter\\\\UrlsForSocial\\:\\:\\$sortRecursive is never read, only written\\.$#"
count: 1
path: plugins/Referrers/DataTable/Filter/UrlsForSocial.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/Referrers/RecordBuilders/Referrers.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/Referrers/Reports/GetReferrerType.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Referrers/Reports/GetWebsites.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\SearchEngine\\:\\:getBackLinkFromUrlAndKeyword\\(\\) should return string but returns false\\.$#"
count: 1
path: plugins/Referrers/SearchEngine.php
-
message: "#^Method Piwik\\\\Plugins\\\\Referrers\\\\Social\\:\\:getMainUrlFromName\\(\\) should return string but returns null\\.$#"
count: 1
path: plugins/Referrers/Social.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Referrers/Widgets/GetCampaignUrlBuilder.php
-
message: "#^Function Piwik\\\\Plugins\\\\Referrers\\\\getReferrerTypeFromShortName\\(\\) should return string but returns int\\.$#"
count: 1
path: plugins/Referrers/functions.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/Resolution/RecordBuilders/Configuration.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/Resolution/RecordBuilders/Resolution.php
-
message: "#^Parameter \\#1 \\$data of function simplexml_load_string expects string, bool given\\.$#"
count: 1
path: plugins/RssWidget/RssRenderer.php
-
message: "#^Variable \\$domain on left side of \\?\\? always exists and is not nullable\\.$#"
count: 1
path: plugins/SEO/Metric/DomainAge.php
-
message: "#^Variable \\$domain on left side of \\?\\? always exists and is not nullable\\.$#"
count: 1
path: plugins/SEO/Metric/ProviderCache.php
-
message: "#^Empty array passed to foreach\\.$#"
count: 1
path: plugins/ScheduledReports/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/ScheduledReports/API.php
-
message: "#^Static method Piwik\\\\Plugins\\\\ScheduledReports\\\\API\\:\\:getReportSubjectAndReportTitle\\(\\) is unused\\.$#"
count: 1
path: plugins/ScheduledReports/API.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: plugins/ScheduledReports/API.php
-
message: "#^Property Piwik\\\\Plugins\\\\ScheduledReports\\\\ReportEmailGenerator\\\\AttachedFileReportEmailGenerator\\:\\:\\$piwikUrl is never read, only written\\.$#"
count: 1
path: plugins/ScheduledReports/ReportEmailGenerator/AttachedFileReportEmailGenerator.php
-
message: "#^Call to an undefined method Piwik\\\\DataTable\\\\Renderer\\:\\:setRenderImageInline\\(\\)\\.$#"
count: 1
path: plugins/ScheduledReports/ScheduledReports.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: plugins/SegmentEditor/API.php
-
message: "#^Parameter \\#2 \\$idSites of class Piwik\\\\Segment constructor expects array, int\\|null given\\.$#"
count: 1
path: plugins/SegmentEditor/API.php
-
message: "#^Parameter \\#1 \\$ids of static method Piwik\\\\Site\\:\\:getIdSitesFromIdSitesString\\(\\) expects array\\|string, int\\<min, \\-2\\>\\|int\\<0, max\\> given\\.$#"
count: 1
path: plugins/SegmentEditor/SegmentEditor.php
-
message: "#^Parameter \\#1 \\$segmentCondition of class Piwik\\\\Segment constructor expects string, array\\|true given\\.$#"
count: 1
path: plugins/SegmentEditor/SegmentEditor.php
-
message: "#^Parameter \\#2 \\$minDatetimeArchiveProcessedUTC of static method Piwik\\\\DataAccess\\\\ArchiveSelector\\:\\:getArchiveIdAndVisits\\(\\) expects bool, null given\\.$#"
count: 1
path: plugins/SegmentEditor/SegmentEditor.php
-
message: "#^Variable \\$endDate in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: plugins/SegmentEditor/SegmentEditor.php
-
message: "#^Default value of the parameter \\#4 \\$idGoal \\(false\\) of method Piwik\\\\Plugins\\\\SitesManager\\\\API\\:\\:getImageTrackingCode\\(\\) is incompatible with type int\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Default value of the parameter \\#5 \\$revenue \\(false\\) of method Piwik\\\\Plugins\\\\SitesManager\\\\API\\:\\:getImageTrackingCode\\(\\) is incompatible with type int\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\SitesManager\\\\API\\:\\:isValidUrl\\(\\) is unused\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\[\\]\\|int\\[\\] \\$sitesToExclude optional array of Integer IDs of sites to exclude from the result\\.\\)\\: Unexpected token \"\\[\", expected type at offset 282$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\[\\]\\|int\\[\\] \\$sitesToExclude optional array of Integer IDs of sites to exclude from the result\\.\\)\\: Unexpected token \"\\[\", expected type at offset 357$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^PHPDoc tag @param has invalid value \\(string\\)\\: Unexpected token \"\\\\n \\* \", expected variable at offset 208$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^PHPDoc tag @param has invalid value \\(string\\)\\: Unexpected token \"\\\\n \\* \", expected variable at offset 229$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$measurableSettings$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Parameter \\#1 \\$theUser of static method Piwik\\\\Piwik\\:\\:hasTheUserSuperUserAccess\\(\\) expects string, true given\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Parameter \\#1 \\$theUser of static method Piwik\\\\Piwik\\:\\:hasUserSuperUserAccessOrIsTheUser\\(\\) expects string, true given\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Parameter \\#14 \\$excludedQueryParams of method Piwik\\\\Tracker\\\\TrackerCodeGenerator\\:\\:generate\\(\\) expects bool, string given\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 2
path: plugins/SitesManager/API.php
-
message: "#^Parameter \\#2 \\$idMeasurableType of method Piwik\\\\Plugin\\\\SettingsProvider\\:\\:getAllMeasurableSettings\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Parameter \\#2 \\$limit of method Piwik\\\\Plugins\\\\SitesManager\\\\API\\:\\:getSitesFromIds\\(\\) expects bool, int\\|null given\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Result of && is always true\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Variable \\$excludedQueryParameters on left side of \\?\\? always exists and is always null\\.$#"
count: 1
path: plugins/SitesManager/API.php
-
message: "#^Access to an undefined property Piwik\\\\Session\\\\SessionNamespace\\:\\:\\$ignoreMessage\\.$#"
count: 1
path: plugins/SitesManager/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 6
path: plugins/SitesManager/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/SitesManager/Controller.php
-
message: "#^PHPDoc tag @param has invalid value \\(string Date to set as creation date\\.\\)\\: Unexpected token \"Date\", expected variable at offset 154$#"
count: 1
path: plugins/SitesManager/Model.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$idSite$#"
count: 1
path: plugins/SitesManager/Model.php
-
message: "#^Variable \\$id_val might not be defined\\.$#"
count: 1
path: plugins/SitesManager/Model.php
-
message: "#^Variable \\$consentManagerUrl might not be defined\\.$#"
count: 1
path: plugins/SitesManager/SiteContentDetection/Matomo.php
-
message: "#^Variable \\$idSite might not be defined\\.$#"
count: 1
path: plugins/SitesManager/SiteContentDetection/WordPress.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$urls$#"
count: 1
path: plugins/SitesManager/SiteUrls.php
-
message: "#^Method Piwik\\\\Plugins\\\\SitesManager\\\\SitesManager\\:\\:getTimezoneFromWebsite\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: plugins/SitesManager/SitesManager.php
-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$idSite$#"
count: 1
path: plugins/SitesManager/SitesManager.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/SitesManager/SitesManager.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/SitesManager/SitesManager.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/SitesManager/SitesManager.php
-
message: "#^Parameter \\#3 \\$default of method Piwik\\\\Plugin\\\\ConsoleCommand\\:\\:addOptionalArgument\\(\\) expects null, string given\\.$#"
count: 1
path: plugins/TestRunner/Commands/CodeCoverage.php
-
message: "#^Offset 'data' does not exist on bool\\|string\\.$#"
count: 2
path: plugins/TestRunner/Commands/SyncScreenshots.php
-
message: "#^Offset 'status' does not exist on bool\\|string\\.$#"
count: 1
path: plugins/TestRunner/Commands/SyncScreenshots.php
-
message: "#^Parameter \\#3 \\$default of method Piwik\\\\Plugin\\\\ConsoleCommand\\:\\:addOptionalArgument\\(\\) expects null, array\\<int, string\\> given\\.$#"
count: 1
path: plugins/TestRunner/Commands/SyncScreenshots.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/TestRunner/Commands/TestsRun.php
-
message: "#^Parameter \\#3 \\$default of method Piwik\\\\Plugin\\\\ConsoleCommand\\:\\:addOptionalArgument\\(\\) expects null, array given\\.$#"
count: 1
path: plugins/TestRunner/Commands/TestsRun.php
-
message: "#^Parameter \\#3 \\$default of method Piwik\\\\Plugin\\\\ConsoleCommand\\:\\:addOptionalArgument\\(\\) expects null, array given\\.$#"
count: 1
path: plugins/TestRunner/Commands/TestsRunUI.php
-
message: "#^Property Piwik\\\\Plugins\\\\Tour\\\\Engagement\\\\ChallengeCustomLogo\\:\\:\\$finder is never read, only written\\.$#"
count: 1
path: plugins/Tour/Engagement/ChallengeCustomLogo.php
-
message: "#^Method Piwik\\\\Plugins\\\\Tour\\\\Engagement\\\\ChallengeSetupConsentManager\\:\\:isDisabled\\(\\) should return false but returns bool\\.$#"
count: 1
path: plugins/Tour/Engagement/ChallengeSetupConsentManager.php
-
message: "#^Property Piwik\\\\Plugins\\\\Tour\\\\Engagement\\\\ChallengeSetupConsentManager\\:\\:\\$detectedContentManager \\(Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\ConsentManagerDetectionAbstract\\|null\\) does not accept Piwik\\\\Plugins\\\\SitesManager\\\\SiteContentDetection\\\\SiteContentDetectionAbstract\\|null\\.$#"
count: 1
path: plugins/Tour/Engagement/ChallengeSetupConsentManager.php
-
message: "#^Property Piwik\\\\Plugins\\\\Tour\\\\Engagement\\\\Challenges\\:\\:\\$finder is never read, only written\\.$#"
count: 1
path: plugins/Tour/Engagement/Challenges.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, float given\\.$#"
count: 1
path: plugins/Tour/Widgets/GetEngagement.php
-
message: "#^Property Piwik\\\\Plugins\\\\Tour\\\\Widgets\\\\GetEngagement\\:\\:\\$challenges is never read, only written\\.$#"
count: 1
path: plugins/Tour/Widgets/GetEngagement.php
-
message: "#^Property Piwik\\\\Plugins\\\\Tour\\\\Widgets\\\\GetEngagement\\:\\:\\$levels is never read, only written\\.$#"
count: 1
path: plugins/Tour/Widgets/GetEngagement.php
-
message: "#^Comparison operation \"\\<\" between array\\|int\\|string and 0 results in an error\\.$#"
count: 3
path: plugins/Transitions/API.php
-
message: "#^Parameter \\#1 \\$label of function Piwik\\\\Plugins\\\\Referrers\\\\getReferrerTypeLabel expects string, int given\\.$#"
count: 1
path: plugins/Transitions/API.php
-
message: "#^Parameter \\#1 \\$name of method Piwik\\\\DataTable\\\\Row\\:\\:getColumn\\(\\) expects string, int given\\.$#"
count: 2
path: plugins/Transitions/API.php
-
message: "#^Parameter \\#1 \\$segmentCondition of class Piwik\\\\Segment constructor expects string, bool given\\.$#"
count: 1
path: plugins/Transitions/API.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: plugins/Transitions/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\Transitions\\\\Categories\\\\TransitionsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/Transitions/Categories/TransitionsSubcategory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/Transitions/Transitions.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 2
path: plugins/Transitions/Widgets/GetTransitions.php
-
message: "#^Method Piwik\\\\Plugins\\\\TwoFactorAuth\\\\Controller\\:\\:setupTwoFactorAuth\\(\\) should return string but empty return statement found\\.$#"
count: 1
path: plugins/TwoFactorAuth/Controller.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: plugins/TwoFactorAuth/Controller.php
-
message: "#^Parameter \\#1 \\$input of function str_pad expects string, \\(float\\|int\\) given\\.$#"
count: 1
path: plugins/TwoFactorAuth/Dao/RecoveryCodeStaticGenerator.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/TwoFactorAuth/TwoFactorAuth.php
-
message: "#^Default value of the parameter \\#1 \\$ip \\(false\\) of method Piwik\\\\Plugins\\\\UserCountry\\\\API\\:\\:getLocationFromIP\\(\\) is incompatible with type string\\.$#"
count: 1
path: plugins/UserCountry/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\UserCountry\\\\API\\:\\:getCountryCodeMapping\\(\\) has invalid return type string\\.$#"
count: 1
path: plugins/UserCountry/API.php
-
message: "#^Strict comparison using \\=\\=\\= between Piwik\\\\Plugins\\\\UserCountry\\\\LocationProvider and false will always evaluate to false\\.$#"
count: 1
path: plugins/UserCountry/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\UserCountry\\\\Categories\\\\LocationsSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/UserCountry/Categories/LocationsSubcategory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 1
path: plugins/UserCountry/Columns/Base.php
-
message: "#^Parameter \\#1 \\$sqlFilterValue of method Piwik\\\\Plugin\\\\Segment\\:\\:setSqlFilterValue\\(\\) expects array\\|string, Closure given\\.$#"
count: 1
path: plugins/UserCountry/Columns/Country.php
-
message: "#^Property Piwik\\\\Plugins\\\\UserCountry\\\\Commands\\\\AttributeHistoricalDataWithLocations\\:\\:\\$processedPercent \\(int\\) does not accept float\\.$#"
count: 1
path: plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: plugins/UserCountry/Controller.php
-
message: "#^Call to function is_null\\(\\) with array will always evaluate to false\\.$#"
count: 1
path: plugins/UserCountry/LocationProvider.php
-
message: "#^Call to function is_string\\(\\) with false will always evaluate to false\\.$#"
count: 1
path: plugins/UserCountry/LocationProvider.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/UserCountry/LocationProvider/DefaultProvider.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/UserCountry/ProfileSummary/LocationSummary.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/UserCountry/RecordBuilders/Locations.php
-
message: "#^Parameter \\#6 \\$willDelete of method Piwik\\\\DataAccess\\\\RawLogDao\\:\\:forAllLogs\\(\\) expects string, false given\\.$#"
count: 1
path: plugins/UserCountry/VisitorGeolocator.php
-
message: "#^Function Piwik\\\\Plugins\\\\UserCountry\\\\getPrettyCityName\\(\\) never returns false so it can be removed from the return type\\.$#"
count: 1
path: plugins/UserCountry/functions.php
-
message: "#^Function Piwik\\\\Plugins\\\\UserCountry\\\\getPrettyRegionName\\(\\) never returns false so it can be removed from the return type\\.$#"
count: 1
path: plugins/UserCountry/functions.php
-
message: "#^Method Piwik\\\\Plugins\\\\UserCountryMap\\\\Categories\\\\RealTimeMapSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/UserCountryMap/Categories/RealTimeMapSubcategory.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, bool given\\.$#"
count: 1
path: plugins/UserCountryMap/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/UserCountryMap/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 1
path: plugins/UserCountryMap/Controller.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, true given\\.$#"
count: 5
path: plugins/UserCountryMap/Controller.php
-
message: "#^Parameter \\#3 \\$strDate of static method Piwik\\\\Archive\\:\\:build\\(\\) expects Piwik\\\\Date\\|string, int given\\.$#"
count: 1
path: plugins/UserId/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\UserId\\\\Categories\\\\VisitorsUserSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/UserId/Categories/VisitorsUserSubcategory.php
-
message: "#^Argument of an invalid type Zend_Db_Statement supplied for foreach, only iterables are supported\\.$#"
count: 1
path: plugins/UserId/RecordBuilders/Users.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/UserId/RecordBuilders/Users.php
-
message: "#^Property Piwik\\\\ViewDataTable\\\\RequestConfig\\:\\:\\$filter_excludelowpop_value \\(Closure\\|string\\) does not accept 2\\.$#"
count: 1
path: plugins/UserId/Reports/GetUsers.php
-
message: "#^Binary operation \"\\.\" between non\\-falsy\\-string and array results in an error\\.$#"
count: 1
path: plugins/UserLanguage/RecordBuilders/Languages.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\RecordBuilder\\:\\:\\$columnToSortByBeforeTruncation \\(string\\|null\\) does not accept int\\.$#"
count: 1
path: plugins/UserLanguage/RecordBuilders/Languages.php
-
message: "#^Default value of the parameter \\#5 \\$expireHours \\(int\\) of method Piwik\\\\Plugins\\\\UsersManager\\\\API\\:\\:createAppSpecificTokenAuth\\(\\) is incompatible with type string\\.$#"
count: 1
path: plugins/UsersManager/API.php
-
message: "#^PHPDoc tag @param has invalid value \\(string Access can have the following values \\: 'view' or 'admin'\\)\\: Unexpected token \"Access\", expected variable at offset 252$#"
count: 1
path: plugins/UsersManager/API.php
-
message: "#^Parameter \\#1 \\$n of method Piwik\\\\Date\\:\\:addHour\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/UsersManager/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, int given\\.$#"
count: 5
path: plugins/UsersManager/API.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: plugins/UsersManager/Controller.php
-
message: "#^Method Piwik\\\\Plugins\\\\UsersManager\\\\Controller\\:\\:getIgnoreCookieSalt\\(\\) is unused\\.$#"
count: 1
path: plugins/UsersManager/Controller.php
-
message: "#^Method Piwik\\\\Plugins\\\\UsersManager\\\\Controller\\:\\:noAdminAccessToWebsite\\(\\) is unused\\.$#"
count: 1
path: plugins/UsersManager/Controller.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \\* \", expected type at offset 149$#"
count: 1
path: plugins/UsersManager/Controller.php
-
message: "#^Parameter \\#1 \\$template of method Piwik\\\\Date\\:\\:getLocalized\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/UsersManager/Controller.php
-
message: "#^Property Piwik\\\\Plugins\\\\UsersManager\\\\Emails\\\\UserInviteEmail\\:\\:\\$invitedUser \\(object\\) does not accept array\\.$#"
count: 1
path: plugins/UsersManager/Emails/UserInviteEmail.php
-
message: "#^Property Piwik\\\\Plugins\\\\UsersManager\\\\Model\\:\\:\\$passwordHelper is never read, only written\\.$#"
count: 1
path: plugins/UsersManager/Model.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/UsersManager/NewsletterSignup.php
-
message: "#^PHPDoc tag @return with type mixed is not subtype of native type array\\.$#"
count: 1
path: plugins/UsersManager/Repository/UserRepository.php
-
message: "#^Property Piwik\\\\Plugins\\\\UsersManager\\\\Sql\\\\UserTableFilter\\:\\:\\$filterByRole \\(string\\) does not accept null\\.$#"
count: 1
path: plugins/UsersManager/Sql/UserTableFilter.php
-
message: "#^Property Piwik\\\\Plugins\\\\UsersManager\\\\Sql\\\\UserTableFilter\\:\\:\\$filterByRole \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: plugins/UsersManager/Sql/UserTableFilter.php
-
message: "#^Property Piwik\\\\Plugins\\\\UsersManager\\\\Sql\\\\UserTableFilter\\:\\:\\$filterByRoleSite \\(int\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: plugins/UsersManager/Sql/UserTableFilter.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: plugins/UsersManager/Sql/UserTableFilter.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(lowercase\\-string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: plugins/UsersManager/SystemSettings.php
-
message: "#^PHPDoc tag @param has invalid value \\(API\\)\\: Unexpected token \"\\\\n \", expected variable at offset 21$#"
count: 1
path: plugins/UsersManager/Tasks.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: plugins/UsersManager/TokenNotifications/TokenNotifierTask.php
-
message: "#^Method Piwik\\\\Plugins\\\\UsersManager\\\\UserAccessFilter\\:\\:filterUser\\(\\) should return array\\|null but return statement is missing\\.$#"
count: 1
path: plugins/UsersManager/UserAccessFilter.php
-
message: "#^Property Piwik\\\\Plugins\\\\UsersManager\\\\UserAccessFilter\\:\\:\\$idSitesWithAdmin \\(array\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: plugins/UsersManager/UserAccessFilter.php
-
message: "#^Method Piwik\\\\Plugins\\\\UsersManager\\\\UserPreferences\\:\\:getDefaultReport\\(\\) should return bool\\|int but returns string\\.$#"
count: 1
path: plugins/UsersManager/UserPreferences.php
-
message: "#^Parameter \\#1 \\$idSites of static method Piwik\\\\Piwik\\:\\:isUserHasViewAccess\\(\\) expects array\\|int, string given\\.$#"
count: 1
path: plugins/UsersManager/UserPreferences.php
-
message: "#^Parameter \\#1 \\$ids of static method Piwik\\\\Site\\:\\:getIdSitesFromIdSitesString\\(\\) expects array\\|string, int given\\.$#"
count: 1
path: plugins/VisitFrequency/API.php
-
message: "#^Strict comparison using \\=\\=\\= between Piwik\\\\DataTable\\\\Map\\|Piwik\\\\DataTable\\\\Simple and null will always evaluate to false\\.$#"
count: 1
path: plugins/VisitFrequency/API.php
-
message: "#^Strict comparison using \\=\\=\\= between int and 'all' will always evaluate to false\\.$#"
count: 1
path: plugins/VisitFrequency/API.php
-
message: "#^Variable \\$resultSet in PHPDoc tag @var does not exist\\.$#"
count: 1
path: plugins/VisitFrequency/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/VisitFrequency/Controller.php
-
message: "#^Parameter \\#1 \\$view of method Piwik\\\\Plugins\\\\VisitFrequency\\\\Reports\\\\Get\\:\\:addSparklineColumns\\(\\) expects Piwik\\\\Plugins\\\\CoreVisualizations\\\\Visualizations\\\\Sparklines, Piwik\\\\Plugin\\\\ViewDataTable given\\.$#"
count: 1
path: plugins/VisitFrequency/Reports/Get.php
-
message: "#^Call to an undefined method Piwik\\\\Archive\\\\ArchiveQuery\\:\\:getParams\\(\\)\\.$#"
count: 1
path: plugins/VisitTime/API.php
-
message: "#^Parameter \\#1 \\$idSites of static method Piwik\\\\Piwik\\:\\:checkUserHasViewAccess\\(\\) expects array\\|int, string given\\.$#"
count: 1
path: plugins/VisitTime/API.php
-
message: "#^Parameter \\#1 \\$idsite of static method Piwik\\\\Site\\:\\:getTimezoneFor\\(\\) expects int, string given\\.$#"
count: 1
path: plugins/VisitTime/API.php
-
message: "#^Method Piwik\\\\Plugins\\\\VisitTime\\\\Categories\\\\TimesSubcategory\\:\\:getHelp\\(\\) should return null but returns string\\.$#"
count: 1
path: plugins/VisitTime/Categories/TimesSubcategory.php
-
message: "#^Parameter \\#3 \\$pad_string of function str_pad expects string, int given\\.$#"
count: 1
path: plugins/VisitTime/DataTable/Filter/AddSegmentByLabelInUTC.php
-
message: "#^Parameter \\#1 \\$label of method Piwik\\\\DataTable\\:\\:getRowFromLabel\\(\\) expects string, int\\<0, 23\\> given\\.$#"
count: 1
path: plugins/VisitTime/RecordBuilders/Base.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 3
path: plugins/VisitTime/Reports/GetByDayOfWeek.php
-
message: "#^Function Piwik\\\\Plugins\\\\VisitTime\\\\dayOfWeekFromDate\\(\\) should return int but returns string\\.$#"
count: 1
path: plugins/VisitTime/functions.php
-
message: "#^Parameter \\#3 \\$lookForThisPrefix of static method Piwik\\\\DataAccess\\\\LogAggregator\\:\\:makeArrayOneColumn\\(\\) expects bool, string given\\.$#"
count: 1
path: plugins/VisitorInterest/RecordBuilders/Engagement.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/VisitorInterest/Reports/GetNumberOfVisitsByDaysSinceLast.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/VisitorInterest/Reports/GetNumberOfVisitsPerPage.php
-
message: "#^Property Piwik\\\\Plugin\\\\Report\\:\\:\\$processedMetrics \\(array\\) does not accept false\\.$#"
count: 1
path: plugins/VisitorInterest/Reports/GetNumberOfVisitsPerVisitDuration.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: plugins/VisitsSummary/API.php
-
message: "#^Parameter \\#2 \\$varDefault of static method Piwik\\\\Common\\:\\:getRequestVar\\(\\) expects string\\|null, false given\\.$#"
count: 2
path: plugins/VisitsSummary/Controller.php
-
message: "#^Comparison operation \"\\=\\=\" between \\(array\\|float\\|int\\) and 0 results in an error\\.$#"
count: 1
path: plugins/VisitsSummary/Reports/Get.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 4
path: plugins/WebsiteMeasurable/MeasurableSettings.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: plugins/WebsiteMeasurable/Settings/Urls.php
-
message: "#^PHPDoc tag @param has invalid value \\(string\\|array urls\\)\\: Unexpected token \"urls\", expected variable at offset 172$#"
count: 1
path: plugins/WebsiteMeasurable/Settings/Urls.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: plugins/WebsiteMeasurable/Settings/Urls.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: plugins/Widgetize/Controller.php