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
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | grequest-3507217.patch | 767 bytes | graber |
Issue fork grequest-3507217
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
Comment #2
graber commentedComment #4
graber commentedComment #5
graber commentedComment #6
graber commentedAlso uploading a patch file to make composer patches on projects safe.
Comment #7
claudiu.cristeaWorks
Comment #11
lobsterr commentedThank you for your contribution. A new release was created
Comment #13
graber commented🙏