Fix PHPStan warnings

Created on 13 December 2023, 10 months ago
Updated 5 January 2024, 9 months ago

Problem/Motivation

 ------ ---------------------------------------------------------------------- 
  Line   src/ReCaptcha/RequestMethod/Drupal8Post.php                           
 ------ ---------------------------------------------------------------------- 
  35     \Drupal calls should be avoided in classes, use dependency injection  
         instead                                                               
 ------ ---------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------- 
  Line   tests/src/Kernel/ValidateD7MigrationStateTest.php                     
 ------ ---------------------------------------------------------------------- 
  24     Property                                                              
         Drupal\Tests\recaptcha\Kernel\ValidateD7MigrationStateTest::$modules  
         property must be protected.                                           
         ๐Ÿ’ก Change record: https://www.drupal.org/node/2909426                 
 ------ ----------------------------------------------------------------------
Return type mixed of method Drupal\Tests\recaptcha\Functional\RecaptchaJavascriptTest::setUp() is not covariant with return type void of method Drupal\Tests\BrowserTestBase::setUp().
in tests/src/Functional/RecaptchaJavascriptTest.php:38

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Fixed

Version

3.0

Component

General

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024