diff --git a/README.md b/README.md
index 1f018d9..556a641 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
* Contributors: stklcode
* Requires at least: 5.1
* Tested up to: 6.9
-* Requires PHP: 7.2
+* Requires PHP: 7.4
* Stable tag: 1.7.2
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -55,7 +55,7 @@ The plugin is capable of handling multisite installations.
* Goto _Settings_ -> _Statify Filter_ to configure the plugin
### Requirements ###
-* PHP 7.2 or above
+* PHP 7.4 or above
* WordPress 5.1 or above
* _Statify_ plugin installed and activated (1.5 or above)
diff --git a/composer.json b/composer.json
index a7f02aa..200e280 100644
--- a/composer.json
+++ b/composer.json
@@ -18,7 +18,7 @@
],
"type": "wordpress-plugin",
"require": {
- "php": ">=7.2",
+ "php": ">=7.4",
"composer/installers": "~v2.3"
},
"require-dev": {
diff --git a/inc/class-statifyblacklist.php b/inc/class-statifyblacklist.php
index 9b13d5d..3e07ea3 100644
--- a/inc/class-statifyblacklist.php
+++ b/inc/class-statifyblacklist.php
@@ -326,7 +326,7 @@ private static function get_referer(): string {
private static function get_referer_domain(): string {
$referer = wp_parse_url( self::get_referer() );
- return strtolower( ( isset( $referer['host'] ) ? $referer['host'] : '' ) );
+ return strtolower( $referer['host'] ?? '' );
}
/**
diff --git a/phpcs.xml b/phpcs.xml
index 22dbc28..a146c36 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -26,6 +26,6 @@
-
+
diff --git a/statify-blacklist.php b/statify-blacklist.php
index 5d7505b..98bdc2d 100644
--- a/statify-blacklist.php
+++ b/statify-blacklist.php
@@ -12,7 +12,7 @@
* Description: Extension for the Statify plugin to add customizable filters. (formerly "Statify Blacklist")
* Version: 1.7.2
* Requires at least: 5.1
- * Requires PHP: 7.2
+ * Requires PHP: 7.4
* Requires Plugins: statify
* Author: Stefan Kalscheuer (@stklcode)
* Author URI: https://www.stklcode.de