stanford_profile.post_update.php
Avoid unused local variables such as '$status'. Open
Open
foreach ($changes['field_storage_definitions'] as $field_name => $status) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Doc comment short description must end with a full stop Wontfix
Wontfix
* stanford_profile.install
- Exclude checks
Doc comment short description must start with a capital letter Wontfix
Wontfix
* stanford_profile.install
- Exclude checks