Problem/Motivation

Why even redefining that property if it's defined in the parent class?

Getting
PHP Fatal error: Type of Drupal\grequest\Plugin\Validation\Constraint\GroupMembershipRequestValidator::$context must be Symfony\Component\Validator\Context\ExecutionContextInterface (as in class Symfony\Component\Validator\ConstraintValidator) in /var/www/html/web/modules/contrib/grequest/src/Plugin/Validation/Constraint/GroupMembershipRequestValidator.php on line 11
On Drupal 11.2

Proposed resolution

Remove that property definition.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#6 grequest-3507217.patch767 bytesgraber

Issue fork grequest-3507217

Command icon Show commands

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

graber created an issue. See original summary.

graber’s picture

Version: 3.2.3 » 3.0.x-dev

graber’s picture

Status: Active » Needs review
graber’s picture

Assigned: graber » Unassigned
graber’s picture

StatusFileSize
new767 bytes

Also uploading a patch file to make composer patches on projects safe.

claudiu.cristea’s picture

Status: Needs review » Reviewed & tested by the community

Works

lobsterr made their first commit to this issue’s fork.

  • lobsterr committed 46c27d27 on 3.0.x authored by graber
    Issue #3507217: GroupMembershipRequestValidator $context type missing
    

  • lobsterr committed bf612f85 on 2.0.x
    Issue #3507217 by graber, lobsterr: GroupMembershipRequestValidator $...
lobsterr’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for your contribution. A new release was created

  • lobsterr committed 889d581e on 1.0.x
    Issue #3507217 by graber, lobsterr: GroupMembershipRequestValidator $...
graber’s picture

🙏

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.