1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2026-04-06 11:00:08 +02:00

👌 Cleanup UI code

This commit is contained in:
2023-11-29 18:42:14 +01:00
parent 13447ba533
commit ba04c94c05
3 changed files with 43 additions and 34 deletions

View File

@@ -29,10 +29,11 @@ class BrewTapFormulae {
let versionRange = Range(match.range(at: 2), in: file) {
// Determine what the extension's name is
let phpExtensionName = String(file[phpExtensionRange])
// Determine what PHP version this is for
let phpVersion = String(file[versionRange])
// Create a new BrewPhpExtension object, which will determine whether this extension is installed or not
// Create a new BrewPhpExtension object (determines if installed)
let phpExtension = BrewPhpExtension(
path: "\(Paths.tapPath)/\(tap)/Formula/\(file)",
name: phpExtensionName,