You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -339,6 +339,13 @@ Example:
339
339
for
340
340
```
341
341
342
+
#### Tests covering code which has OS-specific behaviour
343
+
344
+
Most code in PHP_CodeSniffer is Operating System agnostic.
345
+
However, there are a few places which include OS-specific conditions, most notably for Windows.
346
+
347
+
Tests which cover code which have Windows specific conditions should be marked with a `@group Windows` annotation to allow for running those tests separately/selectively in CI.
0 commit comments