1.2.1162. Strange Name For Constants¶
Those constants looks like a typo from other names.
<?php
// This code looks OK : DIRECTORY_SEPARATOR is a native PHP constant
$path = $path . DIRECTORY_SEPARATOR . $file;
// Strange name DIRECOTRY_SEPARATOR
$path = $path . DIRECOTRY_SEPARATOR . $file;
?>
1.2.1162.1. Connex PHP features¶
1.2.1162.1.1. Suggestions¶
Fix any typo in the spelling of the constants
Tell us about common misspelling so we can upgrade this analysis
1.2.1162.1.2. Specs¶
Short name |
Constants/StrangeName |
Rulesets |
|
Exakat since |
0.10.5 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Slow (1 hour) |
Precision |
High |
Available in |