12 files declare their use of ServiceProviderInterface

ConfigOverride.php in core/lib/Drupal/Core/Installer/ConfigOverride.php
CoreServiceProvider.php in core/lib/Drupal/Core/CoreServiceProvider.php
DrupalKernel.php in core/lib/Drupal/Core/DrupalKernel.php
InstallerServiceProvider.php in core/lib/Drupal/Core/Installer/InstallerServiceProvider.php
JsonapiServiceProvider.php in core/modules/jsonapi/src/JsonapiServiceProvider.php
KernelTestBase.php in core/tests/Drupal/KernelTests/KernelTestBase.php
LayoutBuilderServiceProvider.php in core/modules/layout_builder/src/LayoutBuilderServiceProvider.php
NodeServiceProvider.php in core/modules/node/src/NodeServiceProvider.php
NormalInstallerServiceProvider.php in core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php
RouterTestServiceProvider.php in core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php
SerializationServiceProvider.php in core/modules/serialization/src/SerializationServiceProvider.php
UpdateServiceProvider.php in core/lib/Drupal/Core/Update/UpdateServiceProvider.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.