On latest Drupal 8.7.x-dev I ran into this console error that when I debug is referencing migrate:status

Cannot add a required argument after an optional one.

CommentFileSizeAuthor
#4 3021881-3.patch2.15 KBjoelpittet
#2 3021881.patch3.49 KBjoelpittet

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new3.49 KB

Seems that symfony console doesn't like empty array as optional args. This is a partial revert of this commit b1f2c015f06d41e3bc5ace8674da66821f914830

Status: Needs review » Needs work

The last submitted patch, 2: 3021881.patch, failed testing. View results

joelpittet’s picture

Status: Needs work » Needs review
StatusFileSize
new2.15 KB

This may be preferable * @default $options []

Mentioned in https://github.com/consolidation/annotated-command README

heddn’s picture

Status: Needs review » Reviewed & tested by the community

  • heddn committed 853604c on 8.x-4.x authored by joelpittet
    Issue #3021881 by joelpittet, heddn: Symfony Console Error "Cannot add a...
heddn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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