Skip to content

Add support for PHP shell-style comments#172

Merged
brendt merged 1 commit intotempestphp:mainfrom
rojtjo:feature/php-shell-style-comments
Mar 19, 2025
Merged

Add support for PHP shell-style comments#172
brendt merged 1 commit intotempestphp:mainfrom
rojtjo:feature/php-shell-style-comments

Conversation

@rojtjo
Copy link
Contributor

@rojtjo rojtjo commented Mar 18, 2025

This PR ensures shell-style comments (# with a hash) are handled correctly. It ignores attributes, even when the closing ] is missing.

Before
Before

After
After

@brendt brendt merged commit 5a239a9 into tempestphp:main Mar 19, 2025
4 checks passed
@brendt
Copy link
Member

brendt commented Mar 19, 2025

Thanks!

@brendt
Copy link
Member

brendt commented Mar 19, 2025

Tagged: https://github.com/tempestphp/highlight/releases/tag/2.11.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants