-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PHP 8.2 support * wip * Apply fixes from StyleCI * wip * wip * wip * Update tests.yml Co-authored-by: StyleCI Bot <[email protected]>
- Loading branch information
1 parent
bc56e30
commit d0d42ac
Showing
5 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ class Brew | |
{ | ||
const SUPPORTED_PHP_VERSIONS = [ | ||
'php', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
'[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,10 @@ public function test_has_installed_php_indicates_if_php_is_installed_via_brew() | |
$brew->shouldReceive('installedPhpFormulae')->andReturn(collect(['[email protected]'])); | ||
$this->assertFalse($brew->hasInstalledPhp()); | ||
|
||
$brew = Mockery::mock(Brew::class.'[installedPhpFormulae]', [new CommandLine, new Filesystem]); | ||
$brew->shouldReceive('installedPhpFormulae')->andReturn(collect(['[email protected]'])); | ||
$this->assertTrue($brew->hasInstalledPhp()); | ||
|
||
$brew = Mockery::mock(Brew::class.'[installedPhpFormulae]', [new CommandLine, new Filesystem]); | ||
$brew->shouldReceive('installedPhpFormulae')->andReturn(collect(['[email protected]'])); | ||
$this->assertTrue($brew->hasInstalledPhp()); | ||
|