15 lines
568 B
PHP
15 lines
568 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace FSVendor;
|
|
|
|
use FSVendor\PhpParser\ParserFactory;
|
|
use FSVendor\Snicco\PhpScoperExcludes\Option;
|
|
return [
|
|
Option::EMULATE_PHP_VERSION => Option::PHP_8_0,
|
|
// use the current working directory
|
|
Option::OUTPUT_DIR => __DIR__ . '/generated',
|
|
// pass files as command arguments
|
|
Option::FILES => [__DIR__ . '/vendor/php-stubs/woocommerce-stubs/woocommerce-packages-stubs.php', __DIR__ . '/vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php'],
|
|
Option::PREFER_PHP_VERSION => ParserFactory::PREFER_PHP7,
|
|
];
|