Contribution Date
Technology
Contribution Project
Contribution Details
drupal-check on branch 8.x-1.x
Found below issues:
------ ---------------------------------------------------------------------------------------------------------------------
Line src/Controller/DownloadController.php
------ ---------------------------------------------------------------------------------------------------------------------
30 PHPDoc tag @param has invalid value ($field_name
Node file field name.): Unexpected token "$field_name", expected type at offset 136
30 PHPDoc tag @param has invalid value ($node_id
Node id.): Unexpected token "$node_id", expected type at offset 99
58 Call to deprecated constant FILE_CREATE_DIRECTORY: Deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY.
58 Call to deprecated function file_prepare_directory():
in drupal:8.7.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().
73 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
78 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
91 PHPDoc tag @param has invalid value ($file_path
File physical path.): Unexpected token "$file_path", expected type at offset 61
------ --------------------------------------------------------------------------------------------------------------------
[ERROR] Found 7 errors
Issue Status
Needs Review
Contribution Issue Link
Files count
1
Patches count
1