@@ -62,8 +62,8 @@ public function getNamespace(): string
6262 */
6363 protected function loadInternal (array $ mergedConfig , ContainerBuilder $ container ): void
6464 {
65- $ loader = new Loader \XmlFileLoader ($ container , new FileLocator (__DIR__ . '/../Resources/config ' ));
66- $ loader ->load ('services.xml ' );
65+ $ loader = new Loader \PhpFileLoader ($ container , new FileLocator (__DIR__ . '/../Resources/config ' ));
66+ $ loader ->load ('services.php ' );
6767
6868 if (!$ container ->hasParameter ('env(SENTRY_RELEASE) ' )) {
6969 $ container ->setParameter ('env(SENTRY_RELEASE) ' , PrettyVersions::getRootPackageVersion ()->getPrettyVersion ());
@@ -298,7 +298,7 @@ private function registerHttpClientTracingConfiguration(ContainerBuilder $contai
298298 }
299299
300300 /**
301- * @param string[] $integrations
301+ * @param string[] $integrations
302302 * @param array<string, mixed> $config
303303 *
304304 * @return array<Reference|Definition>
@@ -330,12 +330,12 @@ private function configureRequestIntegration(array $integrations, bool $useDefau
330330
331331 /**
332332 * @param class-string<IntegrationInterface> $integrationClass
333- * @param array<Reference|Definition> $integrations
333+ * @param array<Reference|Definition> $integrations
334334 */
335335 private function isIntegrationEnabled (string $ integrationClass , array $ integrations ): bool
336336 {
337337 foreach ($ integrations as $ integration ) {
338- if ($ integration instanceof Reference && $ integrationClass === (string ) $ integration ) {
338+ if ($ integration instanceof Reference && $ integrationClass === (string )$ integration ) {
339339 return true ;
340340 }
341341
0 commit comments