16 lines
604 B
PHP
16 lines
604 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace ActivePaymentsVendor;
|
|
|
|
use ActivePaymentsVendor\PhpParser\ParserFactory;
|
|
use ActivePaymentsVendor\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,
|
|
];
|