Skip to content

Commit

Permalink
docs: fix 'Could not lex literal_block as "php". Highlighting skipped…
Browse files Browse the repository at this point in the history
….' (#7433)
  • Loading branch information
keradus committed Nov 14, 2023
1 parent ca774e0 commit 573888e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/cookbook_fixers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ Keeping things as they are:

.. code-block:: php
<?php
// tests/Fixer/Comment/RemoveCommentsFixerTest.php
// ...
Expand All @@ -164,6 +165,7 @@ Ensuring things change:

.. code-block:: php
<?php
// tests/Fixer/Comment/RemoveCommentsFixerTest.php
// ...
Expand Down Expand Up @@ -238,6 +240,7 @@ First, we need to create one method to describe what this fixer does:

.. code-block:: php
<?php
// src/Fixer/Comment/RemoveCommentsFixer.php
final class RemoveCommentsFixer extends AbstractFixer
Expand Down Expand Up @@ -267,6 +270,7 @@ Next, we must filter what type of tokens we want to fix. Here, we are interested

.. code-block:: php
<?php
// src/Fixer/Comment/RemoveCommentsFixer.php
final class RemoveCommentsFixer extends AbstractFixer
Expand All @@ -283,6 +287,7 @@ For now, let us just make a fixer that applies no modification:

.. code-block:: php
<?php
// src/Fixer/Comment/RemoveCommentsFixer.php
final class RemoveCommentsFixer extends AbstractFixer
Expand Down Expand Up @@ -334,6 +339,7 @@ iterate the token(s) we are interested in.

.. code-block:: php
<?php
// src/Fixer/Comment/RemoveCommentsFixer.php
final class RemoveCommentsFixer extends AbstractFixer
Expand All @@ -357,6 +363,7 @@ token is a semicolon.

.. code-block:: php
<?php
// src/Fixer/Comment/RemoveCommentsFixer.php
final class RemoveCommentsFixer extends AbstractFixer
Expand Down

0 comments on commit 573888e

Please sign in to comment.