https://git.drupalcode.org/project/drupal/blob/8.8.0-beta1/core/lib/Drup...
That method implements Symfony\Component\Validator\MetadataInterface::accept() which has been removed in Symfony 3, as well as ValidationVisitorInterface.

Comments

Chi created an issue. See original summary.

shashikant_chauhan’s picture

Status: Active » Needs review
StatusFileSize
new677 bytes

Added patch.

chi’s picture

Status: Needs review » Needs work

This also implies removal of unused use statements.

meenakshig’s picture

Status: Needs work » Needs review
StatusFileSize
new988 bytes

Removed unused use statement

chi’s picture

Status: Needs review » Needs work

Removed unused use statement

What about BadMethodCallException?

meenakshig’s picture

Status: Needs work » Needs review
StatusFileSize
new1.12 KB

@chi Removed BadMethodCallException also. Let me know if there is any other issue .

chi’s picture

Status: Needs review » Reviewed & tested by the community

Thank you.

alexpott’s picture

Category: Bug report » Task
Status: Reviewed & tested by the community » Fixed

Refiling as a task because if you called the method you'd get an exceptional so it's not really a bug fix - we're removing dead code - which is great btw just not really a bug fix.

Committed and pushed 7bfb9b723f to 9.0.x and 000c392060 to 8.9.x. Thanks!

  • alexpott committed 7bfb9b7 on 9.0.x
    Issue #3093825 by Meenakshi.g, shashikant_chauhan, Chi: Remove...

  • alexpott committed 000c392 on 8.9.x
    Issue #3093825 by Meenakshi.g, shashikant_chauhan, Chi: Remove...

Status: Fixed » Closed (fixed)

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