From 5d0464463aab550adbf30cfec3204d209bc811e6 Mon Sep 17 00:00:00 2001 From: Adam Pippin Date: Fri, 12 Feb 2021 23:11:36 -0800 Subject: [PATCH] Update target PHP version to 8 --- .phan/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.phan/config.php b/.phan/config.php index 116f1b1..5b02e77 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -3,7 +3,7 @@ declare(strict_types=1); return [ - 'target_php_version' => '7.2', + 'target_php_version' => '8.0', 'directory_list' => [ '.phan/stubs/', @@ -40,7 +40,7 @@ return [ // Infer values from phpunit tests //'PHPUnitAssertionPlugin' // Warn if structures are missing phpdoc plugins - //'HasPHPDocPlugin' + 'HasPHPDocPlugin', // warn on isset(func()['index']) and isset($array[$key]) where $array is not set //'InvalidVariableIssetPlugin' // warn about returning non-array values from __sleep