@@ -230,6 +230,7 @@ public static function directiveIsProvider(): \Generator
230
230
yield [true , '.. code-block:: rst ' , RstParser::DIRECTIVE_CODE_BLOCK ];
231
231
yield [true , ' .. code-block:: php ' , RstParser::DIRECTIVE_CODE_BLOCK ];
232
232
yield [true , '.. code-block:: php-annotations ' , RstParser::DIRECTIVE_CODE_BLOCK ];
233
+ yield [true , '.. code-block:: caddy ' , RstParser::DIRECTIVE_CODE_BLOCK ];
233
234
yield [false , 'foo ' , RstParser::DIRECTIVE_CODE_BLOCK ];
234
235
}
235
236
@@ -258,6 +259,7 @@ public static function codeBlockDirectiveIsTypeOfProvider(): \Generator
258
259
yield [true , ' .. code-block:: php-standalone ' , RstParser::CODE_BLOCK_PHP_STANDALONE ];
259
260
yield [true , ' .. code-block:: text ' , RstParser::CODE_BLOCK_TEXT ];
260
261
yield [true , ' .. code-block:: rst ' , RstParser::CODE_BLOCK_RST ];
262
+ yield [true , ' .. code-block:: caddy ' , RstParser::CODE_BLOCK_CADDY ];
261
263
yield [false , 'foo ' , RstParser::CODE_BLOCK_PHP ];
262
264
yield [true , ' .. code-block:: php ' , RstParser::CODE_BLOCK_PHP , true ];
263
265
yield [true , ' .. code-block:: php-annotations ' , RstParser::CODE_BLOCK_PHP_ANNOTATIONS , false ];
0 commit comments