- Issue created by @megachriz
-
megachriz →
committed e08bd893 on 8.x-3.x
Issue #3479571 by megachriz: Fixed new coding standard issues due to...
-
megachriz →
committed e08bd893 on 8.x-3.x
- 🇮🇳India zartab farooquee
You need to ensure that all use statements are sorted in a case-sensitive manner.
Before:
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\feeds\FeedsEntity;After:
use Drupal\feeds\FeedsEntity;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Session\AccountInterface;For parameters that have null as a default value but are not marked as nullable, you need to update the function signatures. The PHP 7.1+ syntax allows you to explicitly mark parameters as nullable using the ? operator.
Before:
public function exampleFunction($param = null) {}
After:
public function exampleFunction(?string $param = null) {}
Automatically closed - issue fixed for 2 weeks with no activity.