rspec/rules/S6331/php/rule.adoc
Karim El Ouerghemmi 71cb635542
Add PHP to S6331 (#657)
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-02-02 13:02:12 +00:00

31 lines
424 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
----
"/foo()/" // Noncompliant, will match only 'foo'
----
== Compliant Solution
----
"/foo\(\)/" // Matches 'foo()'
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
== Message
Remove this empty group.
== Highlighting
The empty group should be highlighted.
'''
endif::env-github,rspecator-view[]