Why is this an issue?

When an alternation contains multiple alternatives that consist of a single character, it can be rewritten as a character class. This should be preferred because it is more efficient.

Noncompliant code example

preg_match("/a|b|c/", $str); // Noncompliant

Compliant solution

preg_match("/[abc]/", $str);
// or
preg_match("/[a-c]/", $str);