Switch static-php-cli to support PHP 8.3 and 8.4 only (#615)

* Update spc self to PHP 8.4 only

* Update workflows

* Fix test-extensions, adjust docs order

* Fix cs-fix and phpunit

* Add PHP_CS_FIXER_IGNORE_ENV

* Add compatibility for PHP 8.3

* Change version description in README, adjust composer.json PHP version limit

* Switch PHP to 8.4 in spc-alpine-docker

* Add deprecation notice
This commit is contained in:
Jerry Ma
2025-03-07 18:06:32 +08:00
committed by GitHub
parent 8a17e2384e
commit 29ea46bd17
22 changed files with 1773 additions and 1179 deletions

View File

@@ -32,7 +32,7 @@ use Symfony\Component\Console\Application;
*/
final class ConsoleApplication extends Application
{
public const VERSION = '2.4.5';
public const VERSION = '2.5.0';
public function __construct()
{

View File

@@ -163,6 +163,8 @@ if ($argv[1] === 'download_cmd') {
} else {
passthru('./bin/spc ' . $build_cmd . ' --build-embed', $retcode);
}
} else {
$retcode = 0;
}
exit($retcode);