Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up CakePHP and PHPUnit. #999

Merged
merged 4 commits into from
Aug 8, 2024
Merged

Bump up CakePHP and PHPUnit. #999

merged 4 commits into from
Aug 8, 2024

Conversation

ADmad
Copy link
Member

@ADmad ADmad commented Aug 8, 2024

I couldn't figure out the proper attributes to use for the @covers annotations. So would be nice if someone could address that else we can drop the annotations.

@ADmad ADmad added this to the 3.x (CakePHP 5) milestone Aug 8, 2024
@ADmad ADmad marked this pull request as draft August 8, 2024 08:49
@@ -111,7 +111,8 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
}

foreach ($tables as $table) {
$subArgs = new Arguments([$table], $options, ['name']);
$parser = $command->getOptionParser();
$subArgs = new Arguments([$table], $options, $parser->argumentNames());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is necessary to the avoid the ..argument not defined.. exception added in Cake 5.1. We need to ensure the command is executed with all it's defined args and not just name.

@ADmad ADmad marked this pull request as ready for review August 8, 2024 12:07
@markstory markstory merged commit ac26976 into 3.next Aug 8, 2024
7 checks passed
@markstory markstory deleted the 3.next-phpunit branch August 8, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants