Skip to content

Commit

Permalink
Bump target PHP version to 8.3
Browse files Browse the repository at this point in the history
This makes phan complain when someone uses functionality that is not
compatible with PHP 8.3 (mostly deprecated functionality), where an
alternative exists in the minimum supported PHP version (7.4).

Change-Id: I01b2049beb0d6a9212861bd971888c49d0367015
  • Loading branch information
Daimona committed Nov 21, 2024
1 parent 1beb4dd commit 7645edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base-config-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function setBaseOptions( string $curDir, ConfigBuilder $configBuilder ): void {
->readClassAliases( true )
->enableRedundantConditionDetection( true )
->setMinimumPHPVersion( '7.4' )
->setTargetPHPVersion( '8.1' )
->setTargetPHPVersion( '8.3' )
->addPlugins( [
'PregRegexCheckerPlugin',
'UnusedSuppressionPlugin',
Expand Down

0 comments on commit 7645edf

Please sign in to comment.