diff --git a/composer.json b/composer.json index d25fb43265..86f4062157 100644 --- a/composer.json +++ b/composer.json @@ -54,7 +54,7 @@ "larastan/larastan": "^2.7", "mockery/mockery": "1.6.11", "phpstan/extension-installer": "1.3.1", - "phpstan/phpstan": "1.10.59", + "phpstan/phpstan": "1.10.66", "phpstan/phpstan-deprecation-rules": "1.1.4", "phpstan/phpstan-mockery": "1.1.2", "phpstan/phpstan-phpunit": "1.3.16", diff --git a/composer.lock b/composer.lock index 2680a4238f..97da458689 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6d85b5a76007ae38b8b45bed49307dd7", + "content-hash": "ec2a82bf9a25c40eb669a68179e367f4", "packages": [ { "name": "24slides/laravel-saml2", @@ -9687,16 +9687,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.59", + "version": "1.10.66", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e607609388d3a6d418a50a49f7940e8086798281" + "reference": "94779c987e4ebd620025d9e5fdd23323903950bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e607609388d3a6d418a50a49f7940e8086798281", - "reference": "e607609388d3a6d418a50a49f7940e8086798281", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/94779c987e4ebd620025d9e5fdd23323903950bd", + "reference": "94779c987e4ebd620025d9e5fdd23323903950bd", "shasum": "" }, "require": { @@ -9745,7 +9745,7 @@ "type": "tidelift" } ], - "time": "2024-02-20T13:59:13+00:00" + "time": "2024-03-28T16:17:31+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index e91a5f1c48..592b2b193d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -141,6 +141,11 @@ parameters: count: 3 path: app/Console/Commands/QueueSubmissions.php + - + message: "#^Part \\$filename \\(list\\\\|string\\) of encapsed string cannot be cast to string\\.$#" + count: 11 + path: app/Console/Commands/QueueSubmissions.php + - message: "#^Method App\\\\Console\\\\Commands\\\\RemoveUser\\:\\:handle\\(\\) should return mixed but return statement is missing\\.$#" count: 1 @@ -558,6 +563,11 @@ parameters: count: 1 path: app/Http/Controllers/BuildController.php + - + message: "#^Cannot call method fetchColumn\\(\\) on PDOStatement\\|false\\.$#" + count: 4 + path: app/Http/Controllers/BuildController.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 2 @@ -653,6 +663,21 @@ parameters: count: 1 path: app/Http/Controllers/BuildController.php + - + message: "#^Only numeric types are allowed in \\*, \\(int\\|false\\) given on the left side\\.$#" + count: 2 + path: app/Http/Controllers/BuildController.php + + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the left side\\.$#" + count: 1 + path: app/Http/Controllers/BuildController.php + + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the right side\\.$#" + count: 1 + path: app/Http/Controllers/BuildController.php + - message: "#^Only numeric types are allowed in \\-, int\\|false given on the left side\\.$#" count: 2 @@ -663,6 +688,11 @@ parameters: count: 2 path: app/Http/Controllers/BuildController.php + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\) given on the right side\\.$#" + count: 1 + path: app/Http/Controllers/BuildController.php + - message: "#^Parameter \\#1 \\$haystack of function strrpos expects string, \\(array\\\\|string\\) given\\.$#" count: 2 @@ -744,6 +774,21 @@ parameters: count: 2 path: app/Http/Controllers/BuildPropertiesController.php + - + message: "#^Cannot call method bindParam\\(\\) on PDOStatement\\|false\\.$#" + count: 3 + path: app/Http/Controllers/BuildPropertiesController.php + + - + message: "#^Cannot call method execute\\(\\) on PDOStatement\\|false\\.$#" + count: 2 + path: app/Http/Controllers/BuildPropertiesController.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/Http/Controllers/BuildPropertiesController.php + - message: "#^Empty array passed to foreach\\.$#" count: 2 @@ -941,11 +986,6 @@ parameters: count: 3 path: app/Http/Controllers/CoverageController.php - - - message: "#^Method App\\\\Http\\\\Controllers\\\\CoverageController\\:\\:apiCompareCoverage_create_subproject\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: app/Http/Controllers/CoverageController.php - - message: "#^Method App\\\\Http\\\\Controllers\\\\CoverageController\\:\\:apiCompareCoverage_get_coverage\\(\\) throws checked exception DivisionByZeroError but it's missing from the PHPDoc @throws tag\\.$#" count: 2 @@ -1037,32 +1077,32 @@ parameters: path: app/Http/Controllers/CoverageController.php - - message: "#^Offset 'branchcoveragemetric' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: 0, covered\\: 0, locuntested\\: 0, loctested\\: 0, branchesuntested\\: 0, branchestested\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" + message: "#^Offset 'branchcoveragemetric' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: 0, covered\\: 0, locuntested\\: 0, loctested\\: 0, branchesuntested\\: 0, branchestested\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" count: 1 path: app/Http/Controllers/CoverageController.php - - message: "#^Offset 'branchcoveragemetric' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" + message: "#^Offset 'branchcoveragemetric' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" count: 1 path: app/Http/Controllers/CoverageController.php - - message: "#^Offset 'branchcoveragemetric' might not exist on array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" + message: "#^Offset 'branchcoveragemetric' might not exist on array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" count: 1 path: app/Http/Controllers/CoverageController.php - - message: "#^Offset 'branchpercentcovera…' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: 0, covered\\: 0, locuntested\\: 0, loctested\\: 0, branchesuntested\\: 0, branchestested\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" + message: "#^Offset 'branchpercentcovera…' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: 0, covered\\: 0, locuntested\\: 0, loctested\\: 0, branchesuntested\\: 0, branchestested\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" count: 2 path: app/Http/Controllers/CoverageController.php - - message: "#^Offset 'functionstested' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" + message: "#^Offset 'functionstested' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" count: 1 path: app/Http/Controllers/CoverageController.php - - message: "#^Offset 'functionsuntested' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" + message: "#^Offset 'functionsuntested' might not exist on array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: \\(float\\|int\\), covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: \\(float\\|int\\), branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: 0, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{branchcoveragemetric\\: numeric\\-string, branchestested\\: \\(float\\|int\\), branchesuntested\\: \\(float\\|int\\), branchpercentcoverage\\: numeric\\-string, coveragemetric\\: numeric\\-string, covered\\: 1, directory\\: 1, fileid\\: 0, \\.\\.\\.\\}\\|array\\{filename\\: string, fullpath\\: mixed, fileid\\: mixed, locuntested\\: mixed, loctested\\: mixed, covered\\: 1, branchesuntested\\: mixed, branchestested\\: mixed, \\.\\.\\.\\}\\.$#" count: 2 path: app/Http/Controllers/CoverageController.php @@ -1086,6 +1126,11 @@ parameters: count: 1 path: app/Http/Controllers/CoverageController.php + - + message: "#^Only numeric types are allowed in \\+, \\(array\\|float\\|int\\) given on the left side\\.$#" + count: 2 + path: app/Http/Controllers/CoverageController.php + - message: "#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 @@ -1101,6 +1146,16 @@ parameters: count: 1 path: app/Http/Controllers/CoverageController.php + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\) given on the right side\\.$#" + count: 2 + path: app/Http/Controllers/CoverageController.php + + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\<1, max\\>\\) given on the right side\\.$#" + count: 5 + path: app/Http/Controllers/CoverageController.php + - message: "#^Only numeric types are allowed in /, int\\|false given on the left side\\.$#" count: 1 @@ -1206,6 +1261,11 @@ parameters: count: 1 path: app/Http/Controllers/EditProjectController.php + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the right side\\.$#" + count: 1 + path: app/Http/Controllers/ExpectedBuildController.php + - message: "#^Parameter \\#2 \\$timestamp of function date expects int\\|null, int\\|false given\\.$#" count: 2 @@ -1877,13 +1937,13 @@ parameters: path: app/Http/Controllers/ProjectOverviewController.php - - message: "#^Offset 'locuntested' might not exist on \\(array\\{\\}&mixed\\)\\|array\\{loctested\\: \\(float\\|int\\), locuntested\\?\\: \\(array\\|float\\|int\\)\\}\\.$#" - count: 2 + message: "#^Offset 'locuntested' might not exist on array\\{loctested\\: \\(float\\|int\\), locuntested\\?\\: \\(array\\|float\\|int\\)\\}\\.$#" + count: 1 path: app/Http/Controllers/ProjectOverviewController.php - - message: "#^Offset 'locuntested' might not exist on array\\{loctested\\: \\(float\\|int\\), locuntested\\?\\: \\(array\\|float\\|int\\)\\}\\.$#" - count: 1 + message: "#^Offset 'locuntested' might not exist on array\\{\\}\\|array\\{loctested\\: \\(float\\|int\\), locuntested\\?\\: \\(array\\|float\\|int\\)\\}\\.$#" + count: 2 path: app/Http/Controllers/ProjectOverviewController.php - @@ -1906,6 +1966,21 @@ parameters: count: 1 path: app/Http/Controllers/ProjectOverviewController.php + - + message: "#^Only numeric types are allowed in \\+, \\(array\\|float\\|int\\) given on the left side\\.$#" + count: 8 + path: app/Http/Controllers/ProjectOverviewController.php + + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the left side\\.$#" + count: 1 + path: app/Http/Controllers/ProjectOverviewController.php + + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\) given on the left side\\.$#" + count: 1 + path: app/Http/Controllers/ProjectOverviewController.php + - message: "#^Parameter \\#2 \\$timestamp of function gmdate expects int\\|null, \\(float\\|int\\) given\\.$#" count: 2 @@ -2517,6 +2592,16 @@ parameters: count: 1 path: app/Http/Controllers/UserController.php + - + message: "#^Cannot call method bindParam\\(\\) on PDOStatement\\|false\\.$#" + count: 3 + path: app/Http/Controllers/UserController.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 4 + path: app/Http/Controllers/UserController.php + - message: "#^Loose comparison via \"\\!\\=\" is not allowed\\.$#" count: 1 @@ -2611,6 +2696,21 @@ parameters: count: 1 path: app/Http/Controllers/UserStatisticsController.php + - + message: "#^Cannot call method bindParam\\(\\) on PDOStatement\\|false\\.$#" + count: 3 + path: app/Http/Controllers/UserStatisticsController.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/Http/Controllers/UserStatisticsController.php + + - + message: "#^Only numeric types are allowed in \\+, \\(array\\|float\\|int\\) given on the left side\\.$#" + count: 8 + path: app/Http/Controllers/UserStatisticsController.php + - message: "#^Parameter \\#1 \\$stmt of function pdo_execute expects PDOStatement, \\(PDOStatement\\|false\\) given\\.$#" count: 1 @@ -3342,6 +3442,11 @@ parameters: count: 1 path: app/Utils/RepositoryUtils.php + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/Utils/RepositoryUtils.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 9 @@ -4852,6 +4957,11 @@ parameters: count: 1 path: app/Utils/UnparsedSubmissionProcessor.php + - + message: "#^Part \\$filename \\(list\\\\|string\\) of encapsed string cannot be cast to string\\.$#" + count: 1 + path: app/Utils/UnparsedSubmissionProcessor.php + - message: "#^Property App\\\\Utils\\\\UnparsedSubmissionProcessor\\:\\:\\$backupfilename has no type specified\\.$#" count: 1 @@ -5203,6 +5313,11 @@ parameters: count: 1 path: app/cdash/app/Controller/Api/Index.php + - + message: "#^Only numeric types are allowed in \\+, \\(int\\|string\\) given on the left side\\.$#" + count: 1 + path: app/cdash/app/Controller/Api/Index.php + - message: "#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#" count: 1 @@ -5213,6 +5328,16 @@ parameters: count: 1 path: app/cdash/app/Controller/Api/Index.php + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the left side\\.$#" + count: 2 + path: app/cdash/app/Controller/Api/Index.php + + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the right side\\.$#" + count: 2 + path: app/cdash/app/Controller/Api/Index.php + - message: "#^Only numeric types are allowed in \\-, int\\|false given on the right side\\.$#" count: 3 @@ -5718,6 +5843,11 @@ parameters: count: 1 path: app/cdash/app/Controller/Api/TestGraph.php + - + message: "#^Only numeric types are allowed in \\*, \\(int\\|false\\) given on the left side\\.$#" + count: 1 + path: app/cdash/app/Controller/Api/TestGraph.php + - message: "#^Property CDash\\\\Controller\\\\Api\\\\TestGraph\\:\\:\\$buildtest has no type specified\\.$#" count: 1 @@ -5919,6 +6049,11 @@ parameters: count: 1 path: app/cdash/app/Controller/Api/ViewProjects.php + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the right side\\.$#" + count: 1 + path: app/cdash/app/Controller/Api/ViewProjects.php + - message: "#^Only numeric types are allowed in \\-, int\\|false given on the right side\\.$#" count: 1 @@ -8121,6 +8256,11 @@ parameters: count: 1 path: app/cdash/app/Model/BuildUserNote.php + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/app/Model/BuildUserNote.php + - message: "#^Method CDash\\\\Model\\\\BuildUserNote\\:\\:Insert\\(\\) has no return type specified\\.$#" count: 1 @@ -8368,6 +8508,21 @@ parameters: count: 2 path: app/cdash/app/Model/CoverageFile.php + - + message: "#^Only numeric types are allowed in \\+, \\(array\\|float\\|int\\) given on the left side\\.$#" + count: 1 + path: app/cdash/app/Model/CoverageFile.php + + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\) given on the right side\\.$#" + count: 2 + path: app/cdash/app/Model/CoverageFile.php + + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\<1, max\\>\\) given on the right side\\.$#" + count: 1 + path: app/cdash/app/Model/CoverageFile.php + - message: "#^Parameter \\#1 \\$string of function base64_decode expects string, string\\|false given\\.$#" count: 1 @@ -9817,6 +9972,11 @@ parameters: count: 1 path: app/cdash/app/Model/Project.php + - + message: "#^Only numeric types are allowed in \\-, \\(int\\|false\\) given on the right side\\.$#" + count: 1 + path: app/cdash/app/Model/Project.php + - message: "#^Only numeric types are allowed in \\-, float\\|int\\|false given on the left side\\.$#" count: 1 @@ -10810,6 +10970,11 @@ parameters: count: 1 path: app/cdash/bootstrap/cdash_autoload.php + - + message: "#^Part \\$filenames \\(list\\\\|string\\|null\\) of encapsed string cannot be cast to string\\.$#" + count: 1 + path: app/cdash/bootstrap/cdash_autoload.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -13149,6 +13314,16 @@ parameters: - message: "#^Cannot call method bindParam\\(\\) on PDOStatement\\|false\\.$#" + count: 3 + path: app/cdash/include/common.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/include/common.php + + - + message: "#^Cannot call method fetchColumn\\(\\) on PDOStatement\\|false\\.$#" count: 1 path: app/cdash/include/common.php @@ -13582,6 +13757,11 @@ parameters: count: 3 path: app/cdash/include/common.php + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\<1, max\\>\\) given on the right side\\.$#" + count: 1 + path: app/cdash/include/common.php + - message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|false given\\.$#" count: 1 @@ -13873,6 +14053,21 @@ parameters: count: 2 path: app/cdash/include/ctestparserutils.php + - + message: "#^Cannot call method bindParam\\(\\) on PDOStatement\\|false\\.$#" + count: 2 + path: app/cdash/include/ctestparserutils.php + + - + message: "#^Cannot call method bindValue\\(\\) on PDOStatement\\|false\\.$#" + count: 20 + path: app/cdash/include/ctestparserutils.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 6 + path: app/cdash/include/ctestparserutils.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -15467,6 +15662,16 @@ parameters: count: 1 path: app/cdash/public/api/v1/computeClassifier.php + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\) given on the left side\\.$#" + count: 1 + path: app/cdash/public/api/v1/computeClassifier.php + + - + message: "#^Only numeric types are allowed in /, \\(array\\|float\\|int\\) given on the right side\\.$#" + count: 1 + path: app/cdash/public/api/v1/computeClassifier.php + - message: "#^Loose comparison via \"\\=\\=\" is not allowed\\.$#" count: 1 @@ -19350,6 +19555,16 @@ parameters: count: 1 path: app/cdash/tests/kwtest/kw_web_tester.php + - + message: "#^Cannot call method execute\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/tests/kwtest/kw_web_tester.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/tests/kwtest/kw_web_tester.php + - message: "#^Cannot call method getAttribute\\(\\) on DOMElement\\|null\\.$#" count: 1 @@ -23353,14 +23568,29 @@ parameters: count: 3 path: app/cdash/tests/test_multiplesubprojects.php + - + message: "#^Cannot call method bindParam\\(\\) on PDOStatement\\|false\\.$#" + count: 2 + path: app/cdash/tests/test_multiplesubprojects.php + + - + message: "#^Cannot call method execute\\(\\) on PDOStatement\\|false\\.$#" + count: 2 + path: app/cdash/tests/test_multiplesubprojects.php + - message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" count: 2 path: app/cdash/tests/test_multiplesubprojects.php + - + message: "#^Cannot call method fetchAll\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/tests/test_multiplesubprojects.php + - message: "#^Cannot call method fetchColumn\\(\\) on PDOStatement\\|false\\.$#" - count: 3 + count: 4 path: app/cdash/tests/test_multiplesubprojects.php - @@ -23559,6 +23789,16 @@ parameters: count: 1 path: app/cdash/tests/test_nobackup.php + - + message: "#^Cannot call method execute\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/tests/test_nobackup.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/tests/test_nobackup.php + - message: "#^Loose comparison via \"\\!\\=\" is not allowed\\.$#" count: 2 @@ -25419,6 +25659,16 @@ parameters: count: 1 path: app/cdash/tests/test_updateonlyuserstats.php + - + message: "#^Cannot call method execute\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/tests/test_updateonlyuserstats.php + + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/tests/test_updateonlyuserstats.php + - message: "#^Method UpdateOnlyUserStatsTestCase\\:\\:testCleanup\\(\\) has no return type specified\\.$#" count: 1 @@ -25608,7 +25858,7 @@ parameters: - message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" - count: 1 + count: 3 path: app/cdash/tests/test_viewdynamicanalysisfile.php - @@ -25788,6 +26038,11 @@ parameters: count: 2 path: app/cdash/xml_handlers/BazelJSON_handler.php + - + message: "#^Cannot call method fetch\\(\\) on PDOStatement\\|false\\.$#" + count: 1 + path: app/cdash/xml_handlers/BazelJSON_handler.php + - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 12