1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2026-03-26 06:00:07 +01:00

♻️ The app can build again (again)!

This commit is contained in:
2025-10-16 11:48:16 +02:00
parent 0e2678c3b7
commit 79a23a2af2
28 changed files with 157 additions and 123 deletions

View File

@@ -38,7 +38,7 @@ struct HomebrewUpgradableTest {
// This config file assumes our PHP alias (`php`) is v8.2
PhpEnvironments.brewPhpAlias = "8.2"
let env = PhpEnvironments.shared
let env = App.shared.container.phpEnvs
env.cachedPhpInstallations = [
"8.1": PhpInstallation("8.1.16"),
"8.2": PhpInstallation("8.2.3"),

View File

@@ -11,7 +11,7 @@ import XCTest
class PhpVersionDetectionTest: XCTestCase {
func test_can_detect_valid_php_versions() async throws {
let outcome = await PhpEnvironments.shared.extractPhpVersions(
let outcome = await App.shared.container.phpEnvs.extractPhpVersions(
from: [
"", // empty lines should be omitted
"php@8.0",