@ -291,7 +291,7 @@ class CheckSetupController extends Controller {
}
// Check if at least OpenSSL after 1.01d or 1.0.2b
if (strpos($versionString, 'OpenSSL/') === 0 ) {
if (str_starts_with($versionString, 'OpenSSL/') ) {
$majorVersion = substr($versionString, 8, 5);
$patchRelease = substr($versionString, 13, 6);
@ -302,7 +302,7 @@ class CheckSetupController extends Controller {
}
// Check if NSS and perform heuristic check
if (strpos($versionString, 'NSS/') === 0 ) {
if (str_starts_with($versionString, 'NSS/') ) {
try {
$firstClient = $this->clientService->newClient();
$firstClient->get('https://nextcloud.com/');
@ -393,7 +393,7 @@ class CheckSetupController extends Controller {
*/
private function isSettimelimitAvailable() {
if (function_exists('set_time_limit')
& & strpo s(ini_get('disable_functions'), 'set_time_limit') === false ) {
& & !str_contain s(ini_get('disable_functions'), 'set_time_limit')) {
return true;
}
@ -577,7 +577,7 @@ Raw output
}
protected function isSqliteUsed() {
return strpo s($this->config->getSystemValue('dbtype'), 'sqlite') !== false ;
return str_contain s($this->config->getSystemValue('dbtype'), 'sqlite');
}
protected function isReadOnlyConfig(): bool {