flexible-shipping
/
vendor_prefixed
/
wpdesk
/
php-scoper-woocommerce-excludes
/
generate-excludes.inc.php
generate-excludes.inc.php
16 lines
| 1 | <?php |
| 2 | |
| 3 | declare (strict_types=1); |
| 4 | namespace FSVendor; |
| 5 | |
| 6 | use FSVendor\PhpParser\ParserFactory; |
| 7 | use FSVendor\Snicco\PhpScoperExcludes\Option; |
| 8 | return [ |
| 9 | Option::EMULATE_PHP_VERSION => Option::PHP_8_0, |
| 10 | // use the current working directory |
| 11 | Option::OUTPUT_DIR => __DIR__ . '/generated', |
| 12 | // pass files as command arguments |
| 13 | Option::FILES => [__DIR__ . '/vendor/php-stubs/woocommerce-stubs/woocommerce-packages-stubs.php', __DIR__ . '/vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php'], |
| 14 | Option::PREFER_PHP_VERSION => ParserFactory::PREFER_PHP7, |
| 15 | ]; |
| 16 |