From 0c9e2d1d1f7684adac8234fa565713942d081147 Mon Sep 17 00:00:00 2001 From: Gustavo Bordoni Date: Thu, 14 Dec 2023 00:18:50 -0500 Subject: [PATCH] Ensure PHP 7.2 not 7.4 compatibility --- inc/class-phpcs-runner.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/class-phpcs-runner.php b/inc/class-phpcs-runner.php index 01475b8ed..75b528a06 100644 --- a/inc/class-phpcs-runner.php +++ b/inc/class-phpcs-runner.php @@ -19,7 +19,7 @@ class PHPCS_Runner { * * @var array */ - protected array $allowed_args = [ + protected $allowed_args = [ 'standard' => true, 'extensions' => true, 'sniffs' => true, @@ -33,7 +33,7 @@ class PHPCS_Runner { * * @var string */ - protected string $path; + protected $path; /** * Which standard file we will use. @@ -42,7 +42,7 @@ class PHPCS_Runner { * * @var string */ - protected string $standard; + protected $standard; /** * Sets the plugin path which will be used for the runner.