Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tools/phpstan/baseline/_loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

// total 295 errors
// total 290 errors

return ['includes' => [
__DIR__ . '/argument.templateType.php',
Expand Down
12 changes: 1 addition & 11 deletions .tools/phpstan/baseline/missingType.iterableValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

// total 186 errors
// total 184 errors

$ignoreErrors = [];
$ignoreErrors[] = [
Expand Down Expand Up @@ -45,11 +45,6 @@
'count' => 1,
'path' => __DIR__ . '/../../../src/Backend/Controller.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Property Redaxo\\Core\\Content\\ArticleContentBase::$template_attributes type has no value type specified in iterable type array.',
'count' => 1,
'path' => __DIR__ . '/../../../src/Content/ArticleContentBase.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Method Redaxo\\Core\\Content\\ArticleHandler::addArticle() has parameter $data with no value type specified in iterable type array.',
'count' => 1,
Expand Down Expand Up @@ -180,11 +175,6 @@
'count' => 1,
'path' => __DIR__ . '/../../../src/Content/StructurePermission.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Method Redaxo\\Core\\Content\\Template::hasModule() has parameter $templateAttributes with no value type specified in iterable type array.',
'count' => 1,
'path' => __DIR__ . '/../../../src/Content/Template.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Method Redaxo\\Core\\Cronjob\\CronjobExecutor::tryExecute() has parameter $params with no value type specified in iterable type array.',
'count' => 1,
Expand Down
17 changes: 1 addition & 16 deletions .tools/phpstan/baseline/missingType.parameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

// total 83 errors
// total 80 errors

$ignoreErrors = [];
$ignoreErrors[] = [
Expand Down Expand Up @@ -145,21 +145,6 @@
'count' => 1,
'path' => __DIR__ . '/../../../src/Content/Linkmap/CategoryTreeRenderer.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Method Redaxo\\Core\\Content\\Template::__construct() has parameter $templateId with no type specified.',
'count' => 1,
'path' => __DIR__ . '/../../../src/Content/Template.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Method Redaxo\\Core\\Content\\Template::hasModule() has parameter $ctype with no type specified.',
'count' => 1,
'path' => __DIR__ . '/../../../src/Content/Template.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Method Redaxo\\Core\\Content\\Template::hasModule() has parameter $moduleId with no type specified.',
'count' => 1,
'path' => __DIR__ . '/../../../src/Content/Template.php',
];
$ignoreErrors[] = [
'rawMessage' => 'Method Redaxo\\Core\\Cronjob\\CronjobManager::setExecutionStart() has parameter $reset with no type specified.',
'count' => 1,
Expand Down
Loading
Loading