Skip to content

Commit c3c3cc1

Browse files
authored
Merge pull request #10 from joanhey/php8.1
Update composer.json to require only php 8.1
2 parents 29bd7e9 + 491524c commit c3c3cc1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": ">=8.2",
17+
"php": ">=8.1",
1818
"ext-ffi": "*"
1919
}
2020
}

src/WebView.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ private function getDefaultLibraryFile(): string
189189
}
190190

191191
$this->libraryFile = match (PHP_OS_FAMILY) {
192-
'Linux' => $this->baseDir . '/build/linux/webview_php_ffi.so',
193-
'Darwin' => $this->baseDir . '/build/macos/webview_php_ffi.dylib',
192+
'Linux' => $this->baseDir . '/build/linux/webview_php_ffi.so',
193+
'Darwin' => $this->baseDir . '/build/macos/webview_php_ffi.dylib',
194194
'Windows' => $this->baseDir . '\build\windows\webview_php_ffi.dll',
195-
default => throw OsException::OsNotSupported(),
195+
default => throw OsException::OsNotSupported(),
196196
};
197197

198198

0 commit comments

Comments
 (0)