Shakti-Kumar:drupal-8 shakti.kumar$ ./vendor/bin/drupal-check -ad web/modules/contrib/frontendpublishing/
14/14 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------------------------------------------------------
Line frontendpublishing.module
------ ------------------------------------------------------------------------------------------
39 Call to an undefined method Drupal\Core\Entity\EntityInterface::getRevisionLogMessage().
40 Access to an undefined property Drupal\Core\Entity\EntityInterface::$moderation_state.
40 Call to an undefined method Drupal\Core\Entity\EntityInterface::setRevisionLogMessage().
------ ------------------------------------------------------------------------------------------
------ -------------------------------------------------------
Line src/Plugin/StateChangePluginBase.php
------ -------------------------------------------------------
21 Unsafe usage of new static().
💡 Consider making the class or the constructor final.
------ -------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line src/Plugin/frontendpublishing/StateChange/Standard.php
------ -----------------------------------------------------------------------------------
25 Call to an undefined method Drupal\Core\Entity\ContentEntityBase::isPublished().
26 Call to an undefined method Drupal\Core\Entity\ContentEntityBase::setPublished().
45 Call to an undefined method Drupal\Core\Entity\ContentEntityBase::isPublished().
46 Call to an undefined method Drupal\Core\Entity\ContentEntityBase::setPublished().
------ -----------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------
Line src/Plugin/rest/resource/Copy.php
------ --------------------------------------------------------------------------------------------------------
56 Result of static method Drupal\frontendpublishing\Service\MenuHelper::createMenuLink() (void) is used.
70 Property Drupal\Core\Field\FieldItemListInterface::$value (string) does not accept (float|int).
91 Variable $tree might not be defined.
------ --------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line src/Plugin/rest/resource/Move.php
------ -----------------------------------------------------------------------------------------------------------------
56 Constructor of class Drupal\frontendpublishing\Plugin\rest\resource\Move has an unused parameter $current_user.
76 Unsafe usage of new static().
💡 Consider making the class or the constructor final.
106 Access to an undefined property Drupal\frontendpublishing\Plugin\rest\resource\Move::$_menuHelper.
------ -----------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------
Line src/Plugin/rest/resource/Publish.php
------ -------------------------------------------------------------------------------------------------------
60 Access to an undefined property Drupal\frontendpublishing\Plugin\rest\resource\Publish::$currentUser.
69 Unsafe usage of new static().
💡 Consider making the class or the constructor final.
98 Access to an undefined property Drupal\frontendpublishing\Plugin\rest\resource\Publish::$currentUser.
------ -------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/rest/resource/Transitions.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
31 Property Drupal\frontendpublishing\Plugin\rest\resource\Transitions::$stateChange (Drupal\frontendpublishing\Service\StateChange) does
not accept default value of type null.
38 Property Drupal\frontendpublishing\Plugin\rest\resource\Transitions::$currentUser (Drupal\frontendpublishing\Service\StateChange) does
not accept default value of type null.
66 Property Drupal\frontendpublishing\Plugin\rest\resource\Transitions::$currentUser (Drupal\frontendpublishing\Service\StateChange) does
not accept Drupal\Core\Session\AccountProxyInterface.
73 Unsafe usage of new static().
💡 Consider making the class or the constructor final.
133 Method Drupal\frontendpublishing\Plugin\rest\resource\Transitions::patch() should return Drupal\rest\ResourceResponse but returns
Drupal\rest\ModifiedResourceResponse.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line src/Plugin/rest/resource/Unpublish.php
------ ----------------------------------------------------------------------------------------------------------------------
35 PHPDoc tag @var has invalid value ([type]): Unexpected token "[", expected type at offset 52
53 Constructor of class Drupal\frontendpublishing\Plugin\rest\resource\Unpublish has an unused parameter $current_user.
70 Unsafe usage of new static().
💡 Consider making the class or the constructor final.
94 Call to an undefined method Drupal\frontendpublishing\Plugin\rest\resource\Unpublish::getNewestNodeRevision().
99 Access to an undefined property Drupal\frontendpublishing\Plugin\rest\resource\Unpublish::$currentUser.
------ ----------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line src/Service/MenuHelper.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
24 PHPDoc tag @param references unknown parameter: $nid
24 PHPDoc tag @param references unknown parameter: $parentId
54 Method Drupal\frontendpublishing\Service\MenuHelper::createMenuLink() with return type void returns
Drupal\menu_link_content\Entity\MenuLinkContent but should not return anything.
116 Undefined variable: $parentLinkItem
139 Property Drupal\Core\Field\FieldItemListInterface::$value (string) does not accept int.
178 Property Drupal\Core\Field\FieldItemListInterface::$value (string) does not accept int.
204 Default value of the parameter #2 $root ('') of method Drupal\frontendpublishing\Service\MenuHelper::getMenuTree() is incompatible with
type int.
204 Return typehint of method Drupal\frontendpublishing\Service\MenuHelper::getMenuTree() has invalid type
Drupal\frontendpublishing\Service\MenuTree.
217 Method Drupal\frontendpublishing\Service\MenuHelper::getMenuTree() should return Drupal\frontendpublishing\Service\MenuTree but returns
array<Drupal\Core\Menu\MenuLinkTreeElement>.
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------
Line src/Service/StateChange.php
------ --------------------------------------------------------------------------------------------
23 Call to an undefined method Drupal\Core\Entity\ContentEntityBase::setRevisionLogMessage().
44 Call to an undefined method Drupal\Core\Entity\ContentEntityBase::setRevisionLogMessage().
75 Call to an undefined method Drupal\Core\Entity\ContentEntityBase::setRevisionLogMessage().
100 Cannot call method getTranslationLanguages() on null.
101 Cannot call method getTranslation() on null.
103 Cannot call method getUntranslated() on null.
------ --------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------
Line src/Service/StateChangePluginManager.php
------ ----------------------------------------------------------------------------------------------------------------------
48 Return typehint of method Drupal\frontendpublishing\Service\StateChangePluginManager::getHandlers() has invalid type
Drupal\frontendpublishing\Service\Drupal\frontendpublishing\Plugin\frontendpublishing\StateChangePluginInterface.
------ ----------------------------------------------------------------------------------------------------------------------
[ERROR] Found 43 errors
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.