Skip to content

Commit

Permalink
Merge branch 'master' into 2.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jun 28, 2024
2 parents 5e0836d + c464a42 commit 786d81e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/framework/src/Console/Commands/DebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public function handle(): int
$this->info('HydePHP Debug Screen');
$this->newLine();

$this->comment('Git Version: '.(string) app('git.version'));
$this->comment('Hyde Version: '.((InstalledVersions::isInstalled('hyde/hyde') ? InstalledVersions::getPrettyVersion('hyde/hyde') : null) ?: 'unreleased'));
$this->comment('Framework Version: '.(InstalledVersions::getPrettyVersion('hyde/framework') ?: 'unreleased'));
$this->newLine();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@
*/
class DebugCommandTest extends TestCase
{
protected function setUp(): void
{
parent::setUp();

$this->app->bind('git.version', fn () => 'foo');
}

public function testDebugCommandCanRun()
{
$this->artisan('debug')->assertExitCode(0);
Expand All @@ -31,7 +24,6 @@ public function testItPrintsDebugInformation()
{
$this->artisan('debug')
->expectsOutput('HydePHP Debug Screen')
->expectsOutputToContain('Git Version:')
->expectsOutputToContain('Hyde Version:')
->expectsOutputToContain('Framework Version:')
->expectsOutputToContain('App Env:')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ public function getVersion(): string
public function getProjectInformation(): array
{
return [
'Git Version' => app('git.version'),
'Hyde Version' => self::getPackageVersion('hyde/hyde'),
'Framework Version' => self::getPackageVersion('hyde/framework'),
'Project Path' => Hyde::path(),
Expand Down

0 comments on commit 786d81e

Please sign in to comment.