lint/style/prefer-pow-operator
In the lint-strict preset. In Rector’s rector/php56 set. Unsafe fix: it can change behavior.
What it does
Converts pow to the ** operator.
Configuration
[lint.rules]
"style/prefer-pow-operator" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
pow_to_exponentiation(php-cs-fixer, risky)PowToExp(rector)