Skip to content

Commit 491524c

Browse files
committed
Update composeer.json to require only php 8.1
1 parent 29bd7e9 commit 491524c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

+1-1
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

+3-3
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)