
fix(core) Replace pow by ** operator

PHP now has an exponentiation operator ** that can be used instead of the pow function. issue #5827
Showing
+10 -10
-
Maintainer
SonarQube analysis reported 51 issues
-
1 critical -
38 major -
4 minor -
8 info
Top 10 extra issues
Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:
-
Move this "case default" clause to the end of this "switch" statement. -
Remove the unused function parameter "$headline". -
Define and throw a dedicated exception instead of using a generic one. -
Review the data-flow - use of uninitialized value. -
Define and throw a dedicated exception instead of using a generic one. -
Define and throw a dedicated exception instead of using a generic one. -
Remove the unused function parameter "$classes". -
Remove the unused function parameter "$entry". -
Reduce the number of returns of this function 4, down to the maximum allowed 3. -
Remove the unused function parameter "$type".
- ... 41 more
By Ghost User on 2018-05-02T14:19:38 (imported from GitLab)
-
Please register or sign in to comment