Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Commands/Env/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class ListCommand extends TerminusCommand implements SiteAwareInterface
* connection_mode: Connection Mode
* locked: Locked
* initialized: Initialized
* php_runtime_generation: PHP Runtime Generation
* @return RowsOfFields
*
* @param string $site_id Site name
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ public function getPHPVersion()
*/
public function getPHPRuntimeGeneration()
{
return $this->settings('appserver_runtime')->php_runtime_generation;
return $this->settings('appserver_runtime')->php_runtime_generation;
}

/**
Expand Down
5 changes: 5 additions & 0 deletions tests/Functional/EnvCommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,11 @@ public function testListCommand()
$env,
'An environment should have "initialized" field.'
);
$this->assertArrayHasKey(
'php_runtime_generation',
$env,
'An environment should have "php_runtime_generation" field.'
);
}

/**
Expand Down
Loading