'match' can be replaced with 'switch' statement
match expressions that can be replaced with
match expressions use strict type comparison, while
switch statements rely on loose comparison. As a result, the expression semantics may change after replacement.
PhpStorm 2023.3, Qodana for PHP 2023.3