1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/16748] Enable code sniffing for static placement and adjust code

PHPBB3-16748
This commit is contained in:
Marc Alexander
2021-04-03 23:12:04 +02:00
parent 8518393c46
commit ce08da5165
387 changed files with 459 additions and 459 deletions

View File

@@ -101,7 +101,7 @@ class jabber
/**
* Able to use the SSL functionality?
*/
static public function can_use_ssl()
public static function can_use_ssl()
{
return @extension_loaded('openssl');
}
@@ -109,7 +109,7 @@ class jabber
/**
* Able to use TLS?
*/
static public function can_use_tls()
public static function can_use_tls()
{
if (!@extension_loaded('openssl') || !function_exists('stream_socket_enable_crypto') || !function_exists('stream_get_meta_data') || !function_exists('stream_set_blocking') || !function_exists('stream_get_wrappers'))
{