8000 bug #59503 [PhpUnitBridge] Add CAA type in DnsMock (jwaguet) · symfony/symfony@7a16efe · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a16efe

Browse files
committed
bug #59503 [PhpUnitBridge] Add CAA type in DnsMock (jwaguet)
This PR was squashed before being merged into the 7.3 branch. Discussion ---------- [PhpUnitBridge] Add CAA type in DnsMock | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT <!-- Added support for CAA record type in DnsMock for improved DNS mocking capabilities --> Commits ------- a3ba90d [PhpUnitBridge] Add CAA type in DnsMock
2 parents ed1166c + a3ba90d commit 7a16efe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Bridge/PhpUnit/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
---
66

77
* Enable configuring clock and DNS mock namespaces with attributes
8+
* Add support for CAA record type in DnsMock for improved DNS mocking capabilities
89

910
7.2
1011
---

src/Symfony/Bridge/PhpUnit/DnsMock.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class DnsMock
3030
'NAPTR' => \DNS_NAPTR,
3131
'TXT' => \DNS_TXT,
3232
'HINFO' => \DNS_HINFO,
33+
'CAA' => '\\' !== \DIRECTORY_SEPARATOR ? \DNS_CAA : 0,
3334
];
3435

3536
/**

0 commit comments

Comments
 (0)
0