Skip to content

Commit

Permalink
Enable 'filter' extension by default when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Apr 22, 2024
1 parent 2d5f83d commit 87517f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/Command/CompileCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CompileCommand extends Command
{
// When something **important** related to the compilation changed, increase
// this version to invalide the cache
private const CACHE_VERSION = '1';
private const CACHE_VERSION = '2';

public function __construct(
private readonly HttpClientInterface $httpClient,
Expand All @@ -39,7 +39,7 @@ protected function configure(): void
->addOption('os', null, InputOption::VALUE_REQUIRED, 'Target OS for PHP compilation', 'linux', ['linux', 'macos'])
->addOption('arch', null, InputOption::VALUE_REQUIRED, 'Target architecture for PHP compilation', 'x86_64', ['x86_64', 'aarch64'])
->addOption('php-version', null, InputOption::VALUE_REQUIRED, 'PHP version in major.minor format', '8.3')
->addOption('php-extensions', null, InputOption::VALUE_REQUIRED, 'PHP extensions required, in a comma-separated format. Defaults are the minimum required to run a basic "Hello World" task in Castor.', 'mbstring,phar,posix,tokenizer,curl,openssl')
->addOption('php-extensions', null, InputOption::VALUE_REQUIRED, 'PHP extensions required, in a comma-separated format. Defaults are the minimum required to run a basic "Hello World" task in Castor.', 'mbstring,phar,posix,tokenizer,curl,filter,openssl')
->addOption('php-rebuild', null, InputOption::VALUE_NONE, 'Ignore cache and force PHP build compilation.')
->setHidden(true)
;
Expand Down

0 comments on commit 87517f1

Please sign in to comment.