Skip to content

Instantly share code, notes, and snippets.

@santigarcor
Created October 30, 2017 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santigarcor/3593c385cc123ccc4db262ac764de9d4 to your computer and use it in GitHub Desktop.
Save santigarcor/3593c385cc123ccc4db262ac764de9d4 to your computer and use it in GitHub Desktop.
Phpunit colors for vscode output console using vscode-log-output-colorizer
<dict>
<!-- Phpunit Failure -->
<key>match</key>
<string>(FAILURES|ERRORS)!</string>
<key>name</key>
<string>markup.error</string>
</dict>
<dict>
<!-- Phpunit Failure numbers -->
<key>match</key>
<string>(.*((Failures|Errors): [^0]).*)</string>
<key>name</key>
<string>markup.error</string>
</dict>
<dict>
<!-- Phpunit Failure numbers -->
<key>match</key>
<string>(E|F)(?=[.\s])</string>
<key>name</key>
<string>markup.error</string>
</dict>
<dict>
<!-- Phpunit Ok -->
<key>match</key>
<string>(OK ?.*)</string>
<key>name</key>
<string>markup.inserted</string>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment