Skip to content

Commit

Permalink
Closes #655. BC issue in 3.7 fixed by: Revert "Positional argument co…
Browse files Browse the repository at this point in the history
…unt check introduced"

This reverts commit 6ac554e.

Conflicts:

	PHPUnit/TextUI/Command.php
  • Loading branch information
edorian committed Sep 24, 2012
1 parent 81ab540 commit cd92dd4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
8 changes: 0 additions & 8 deletions PHPUnit/TextUI/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,14 +514,6 @@ protected function handleArguments(array $argv)
$this->handleCustomTestSuite();

if (!isset($this->arguments['test'])) {
if (count($this->options[1]) > 2) {
$this->showMessage(
'More than two positional arguments provided.',
FALSE
);
$this->showHelp();
exit(PHPUnit_TextUI_TestRunner::FAILURE_EXIT);
}

if (isset($this->options[1][0])) {
$this->arguments['test'] = $this->options[1][0];
Expand Down
18 changes: 0 additions & 18 deletions Tests/TextUI/positional-arguments.phpt

This file was deleted.

0 comments on commit cd92dd4

Please sign in to comment.