Closed (fixed)
Project:
Devel PHP
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2021 at 17:02 UTC
Updated:
9 Mar 2021 at 17:09 UTC
Jump to comment: Most recent
------ --------------------------------------------------------------------------------------------------------------
Line modules/custom/devel_php/src/Form/ExecutePHP.php
------ --------------------------------------------------------------------------------------------------------------
33 Method Drupal\devel_php\Form\ExecutePHP::create() has no return typehint specified.
52 Method Drupal\devel_php\Form\ExecutePHP::buildForm() has parameter $details_open with no typehint specified.
90 Method Drupal\devel_php\Form\ExecutePHP::submitForm() has no return typehint specified.
------ --------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------
Line modules/custom/devel_php/src/Plugin/Block/DevelExecutePHP.php
------ ------------------------------------------------------------------------------------------------
57 Unsafe usage of new static().
💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
76 Method Drupal\Core\Form\FormBuilderInterface::getForm() invoked with 2 parameters, 1 required.
------ ------------------------------------------------------------------------------------------------
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
grimreaper