8000 [PhpUnitBridge] Add CAA type in DnsMock · symfony/symfony@a3ba90d · GitHub
[go: up one dir, main page]

Skip to content

Commit a3ba90d

Browse files
jwaguetfabpot
authored andcommitted
[PhpUnitBridge] Add CAA type in DnsMock
1 parent f6312d3 commit a3ba90d

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