Browse Source

Update target PHP version to 8

master
Adam Pippin 3 years ago
parent
commit
5d0464463a
  1. 4
      .phan/config.php

4
.phan/config.php

@ -3,7 +3,7 @@
declare(strict_types=1); declare(strict_types=1);
return [ return [
'target_php_version' => '7.2', 'target_php_version' => '8.0',
'directory_list' => [ 'directory_list' => [
'.phan/stubs/', '.phan/stubs/',
@ -40,7 +40,7 @@ return [
// Infer values from phpunit tests // Infer values from phpunit tests
//'PHPUnitAssertionPlugin' //'PHPUnitAssertionPlugin'
// Warn if structures are missing phpdoc plugins // Warn if structures are missing phpdoc plugins
//'HasPHPDocPlugin' 'HasPHPDocPlugin',
// warn on isset(func()['index']) and isset($array[$key]) where $array is not set // warn on isset(func()['index']) and isset($array[$key]) where $array is not set
//'InvalidVariableIssetPlugin' //'InvalidVariableIssetPlugin'
// warn about returning non-array values from __sleep // warn about returning non-array values from __sleep

Loading…
Cancel
Save