Loading core/.phpstan-baseline.php +0 −120 Original line number Diff line number Diff line Loading @@ -12010,12 +12010,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/automated_cron/src/Hook/AutomatedCronHooks.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function ban_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/ban/ban.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\ban\\\\BanIpManager\\:\\:banIp\\(\\) has no return type specified\\.$#', Loading Loading @@ -14044,12 +14038,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function comment_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/comment/comment.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function comment_uri\\(\\) has no return type specified\\.$#', Loading Loading @@ -18622,12 +18610,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function dblog_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/dblog/dblog.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\dblog\\\\Form\\\\DblogClearLogConfirmForm\\:\\:create\\(\\) has no return type specified\\.$#', Loading Loading @@ -20908,12 +20890,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/file/file.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function file_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/file/file.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function file_managed_file_submit\\(\\) has no return type specified\\.$#', Loading Loading @@ -22432,12 +22408,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function help_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/help/help.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\help\\\\HelpSectionManager\\:\\:clearCachedDefinitions\\(\\) has no return type specified\\.$#', Loading Loading @@ -22618,12 +22588,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/help/tests/src/Unit/HelpTopicTwigTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function history_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/history/history.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function history_write\\(\\) has no return type specified\\.$#', Loading Loading @@ -25468,12 +25432,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function layout_builder_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/layout_builder/layout_builder.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function layout_builder_module_implements_alter\\(\\) has no return type specified\\.$#', Loading Loading @@ -27208,12 +27166,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/locale/locale.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function locale_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/locale/locale.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function locale_update_10300\\(\\) has no return type specified\\.$#', Loading Loading @@ -32490,12 +32442,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/node/node.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function node_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/node/node.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function _node_access_rebuild_batch_finished\\(\\) has no return type specified\\.$#', Loading Loading @@ -36066,12 +36012,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/search/search.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function search_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/search/search.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function search_theme_suggestions_search_result\\(\\) has no return type specified\\.$#', Loading Loading @@ -37026,12 +36966,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function shortcut_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/shortcut/shortcut.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\shortcut\\\\Entity\\\\Shortcut\\:\\:postSave\\(\\) has no return type specified\\.$#', Loading Loading @@ -38526,12 +38460,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/system.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function system_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/system.install', ]; $ignoreErrors[] = [ // identifier: variable.undefined 'message' => '#^Variable \\$directories might not be defined\\.$#', Loading Loading @@ -39408,12 +39336,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/css_disable_transitions_test/src/Hook/CssDisableTransitionsTestHooks.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function database_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/database_test/database_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\database_test\\\\Form\\\\DatabaseTestForm\\:\\:submitForm\\(\\) has no return type specified\\.$#', Loading Loading @@ -40010,12 +39932,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function entity_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/entity_test/entity_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function _entity_test_record_hooks\\(\\) has no return type specified\\.$#', Loading Loading @@ -42229,12 +42145,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/module_test/module_test.implementations.inc', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function module_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/module_test/module_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function module_test_hook_info\\(\\) has no return type specified\\.$#', Loading Loading @@ -42432,12 +42342,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function pgsql_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/pgsql_test/pgsql_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\plugin_test\\\\Hook\\\\PluginTestHooks\\:\\:pluginTestAlter\\(\\) has no return type specified\\.$#', Loading Loading @@ -43599,12 +43503,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/update_test_schema/update_test_schema.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function update_test_schema_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/update_test_schema/update_test_schema.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function update_test_schema_update_8001\\(\\) has no return type specified\\.$#', Loading Loading @@ -48957,12 +48855,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function user_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/user/user.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function _user_cancel\\(\\) has no return type specified\\.$#', Loading Loading @@ -56109,12 +56001,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/views/tests/modules/views_test_data/src/Plugin/views/style/StyleTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function views_test_data_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/views/tests/modules/views_test_data/views_test_data.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\views_test_entity_reference\\\\Hook\\\\ViewsTestEntityReferenceHooks\\:\\:viewsDataAlter\\(\\) has no return type specified\\.$#', Loading Loading @@ -60177,12 +60063,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/workspaces/workspaces.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function workspaces_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/workspaces/workspaces.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function demo_umami_requirements\\(\\) has no return type specified\\.$#', core/lib/Drupal/Core/Database/database.api.php +1 −1 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ function hook_query_TAG_alter(Drupal\Core\Database\Query\AlterableInterface $que * * @ingroup schemaapi */ function hook_schema() { function hook_schema(): array { $schema['users_data'] = [ 'description' => 'Stores module data as key/value pairs per user.', 'fields' => [ Loading core/modules/ban/ban.install +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ /** * Implements hook_schema(). */ function ban_schema() { function ban_schema(): array { $schema['ban_ip'] = [ 'description' => 'Stores banned IP addresses.', 'fields' => [ Loading core/modules/comment/comment.install +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ function comment_install(): void { /** * Implements hook_schema(). */ function comment_schema() { function comment_schema(): array { $schema['comment_entity_statistics'] = [ 'description' => 'Maintains statistics of entity and comments posts to show "new" and "updated" flags.', 'fields' => [ Loading core/modules/dblog/dblog.install +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ /** * Implements hook_schema(). */ function dblog_schema() { function dblog_schema(): array { $schema['watchdog'] = [ 'description' => 'Table that contains logs of all system events.', 'fields' => [ Loading Loading
core/.phpstan-baseline.php +0 −120 Original line number Diff line number Diff line Loading @@ -12010,12 +12010,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/automated_cron/src/Hook/AutomatedCronHooks.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function ban_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/ban/ban.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\ban\\\\BanIpManager\\:\\:banIp\\(\\) has no return type specified\\.$#', Loading Loading @@ -14044,12 +14038,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function comment_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/comment/comment.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function comment_uri\\(\\) has no return type specified\\.$#', Loading Loading @@ -18622,12 +18610,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function dblog_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/dblog/dblog.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\dblog\\\\Form\\\\DblogClearLogConfirmForm\\:\\:create\\(\\) has no return type specified\\.$#', Loading Loading @@ -20908,12 +20890,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/file/file.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function file_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/file/file.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function file_managed_file_submit\\(\\) has no return type specified\\.$#', Loading Loading @@ -22432,12 +22408,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function help_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/help/help.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\help\\\\HelpSectionManager\\:\\:clearCachedDefinitions\\(\\) has no return type specified\\.$#', Loading Loading @@ -22618,12 +22588,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/help/tests/src/Unit/HelpTopicTwigTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function history_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/history/history.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function history_write\\(\\) has no return type specified\\.$#', Loading Loading @@ -25468,12 +25432,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function layout_builder_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/layout_builder/layout_builder.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function layout_builder_module_implements_alter\\(\\) has no return type specified\\.$#', Loading Loading @@ -27208,12 +27166,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/locale/locale.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function locale_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/locale/locale.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function locale_update_10300\\(\\) has no return type specified\\.$#', Loading Loading @@ -32490,12 +32442,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/node/node.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function node_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/node/node.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function _node_access_rebuild_batch_finished\\(\\) has no return type specified\\.$#', Loading Loading @@ -36066,12 +36012,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/search/search.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function search_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/search/search.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function search_theme_suggestions_search_result\\(\\) has no return type specified\\.$#', Loading Loading @@ -37026,12 +36966,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function shortcut_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/shortcut/shortcut.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\shortcut\\\\Entity\\\\Shortcut\\:\\:postSave\\(\\) has no return type specified\\.$#', Loading Loading @@ -38526,12 +38460,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/system.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function system_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/system.install', ]; $ignoreErrors[] = [ // identifier: variable.undefined 'message' => '#^Variable \\$directories might not be defined\\.$#', Loading Loading @@ -39408,12 +39336,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/css_disable_transitions_test/src/Hook/CssDisableTransitionsTestHooks.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function database_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/database_test/database_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\database_test\\\\Form\\\\DatabaseTestForm\\:\\:submitForm\\(\\) has no return type specified\\.$#', Loading Loading @@ -40010,12 +39932,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function entity_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/entity_test/entity_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function _entity_test_record_hooks\\(\\) has no return type specified\\.$#', Loading Loading @@ -42229,12 +42145,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/module_test/module_test.implementations.inc', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function module_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/module_test/module_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function module_test_hook_info\\(\\) has no return type specified\\.$#', Loading Loading @@ -42432,12 +42342,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function pgsql_test_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/pgsql_test/pgsql_test.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\plugin_test\\\\Hook\\\\PluginTestHooks\\:\\:pluginTestAlter\\(\\) has no return type specified\\.$#', Loading Loading @@ -43599,12 +43503,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/update_test_schema/update_test_schema.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function update_test_schema_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/update_test_schema/update_test_schema.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function update_test_schema_update_8001\\(\\) has no return type specified\\.$#', Loading Loading @@ -48957,12 +48855,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function user_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/user/user.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function _user_cancel\\(\\) has no return type specified\\.$#', Loading Loading @@ -56109,12 +56001,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/views/tests/modules/views_test_data/src/Plugin/views/style/StyleTest.php', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function views_test_data_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/views/tests/modules/views_test_data/views_test_data.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Method Drupal\\\\views_test_entity_reference\\\\Hook\\\\ViewsTestEntityReferenceHooks\\:\\:viewsDataAlter\\(\\) has no return type specified\\.$#', Loading Loading @@ -60177,12 +60063,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/workspaces/workspaces.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function workspaces_schema\\(\\) has no return type specified\\.$#', 'count' => 1, 'path' => __DIR__ . '/modules/workspaces/workspaces.install', ]; $ignoreErrors[] = [ // identifier: missingType.return 'message' => '#^Function demo_umami_requirements\\(\\) has no return type specified\\.$#',
core/lib/Drupal/Core/Database/database.api.php +1 −1 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ function hook_query_TAG_alter(Drupal\Core\Database\Query\AlterableInterface $que * * @ingroup schemaapi */ function hook_schema() { function hook_schema(): array { $schema['users_data'] = [ 'description' => 'Stores module data as key/value pairs per user.', 'fields' => [ Loading
core/modules/ban/ban.install +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ /** * Implements hook_schema(). */ function ban_schema() { function ban_schema(): array { $schema['ban_ip'] = [ 'description' => 'Stores banned IP addresses.', 'fields' => [ Loading
core/modules/comment/comment.install +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ function comment_install(): void { /** * Implements hook_schema(). */ function comment_schema() { function comment_schema(): array { $schema['comment_entity_statistics'] = [ 'description' => 'Maintains statistics of entity and comments posts to show "new" and "updated" flags.', 'fields' => [ Loading
core/modules/dblog/dblog.install +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ /** * Implements hook_schema(). */ function dblog_schema() { function dblog_schema(): array { $schema['watchdog'] = [ 'description' => 'Table that contains logs of all system events.', 'fields' => [ Loading