Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Conversation

@DavidGoodwin
Copy link
Contributor

  • Update phpunit to avoid PHP 7.x warnings
  • Update travis to add PHP 7.x
  • Update composer to have PHP >= 5.6

public function testExecutableNotExecutable()
{
$executor = $this->getMock('Nmap\Util\ProcessExecutor');
$executor = $this->createMock('Nmap\Util\ProcessExecutor');

Choose a reason for hiding this comment

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

If upgrading the PHP version to php-5.6+, the class instance string can use the ::class magic method approach.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants