Skip to content

Commit 327b5f5

Browse files
committed
Remove tests for the deprecated Dynamic Link component
The component has been deprecated by Google/Firebase. Accordingly, the related code in this SDK will not be updated anymore. In general, it wouldn't hurt to keep the tests, however they became more and more brittle.
1 parent a08e34f commit 327b5f5

File tree

6 files changed

+10
-515
lines changed

6 files changed

+10
-515
lines changed

phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,10 @@
2222
<include>
2323
<directory>src/Firebase</directory>
2424
</include>
25+
26+
<exclude>
27+
<!-- The Dynamic Links Component ist deprecated and the tests are brittle -->
28+
<directory>src/Firebase/DynamicLink</directory>
29+
</exclude>
2530
</source>
2631
</phpunit>

src/Firebase/DynamicLink.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
use function trim;
1515

1616
/**
17+
* @deprecated 7.14.0 Firebase Dynamic Links is deprecated and should not be used in new projects. The service will
18+
* shut down on August 25, 2025. The component will remain in the SDK until then, but as the
19+
* Firebase service is deprecated, this component is also deprecated
20+
*
1721
* @see https://github.com/googleapis/google-api-nodejs-client/blob/main/src/apis/firebasedynamiclinks/v1.ts
1822
*
1923
* @phpstan-type DynamicLinkWarningShape array{

src/Firebase/Factory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ public function createMessaging(): Contract\Messaging
441441
* @deprecated 7.14.0 Firebase Dynamic Links is deprecated and should not be used in new projects. The service will
442442
* shut down on August 25, 2025. The component will remain in the SDK until then, but as the
443443
* Firebase service is deprecated, this component is also deprecated
444+
* @codeCoverageIgnore
444445
*
445446
* @see https://firebase.google.com/support/dynamic-links-faq Dynamic Links Deprecation FAQ
446447
*

tests/Integration/DynamicLinksTest.php

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)