Files
2026-04-28 15:13:50 +02:00

16 lines
580 B
PHP

<?php
declare (strict_types=1);
namespace VendorInPost;
use VendorInPost\PhpParser\ParserFactory;
use VendorInPost\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,
];