diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-04-28 11:02:51 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-04-28 17:38:19 +0900 |
| commit | 88a77bc5846541e5d6009bc103da378650a649f3 (patch) | |
| tree | ef4d3a57cc16bf230c3ac25068001f747e45b35e /ecs.php | |
| parent | c809cd661bba388d531f24c2ac578fbe6594f45c (diff) | |
| download | php-waddiwasi-88a77bc5846541e5d6009bc103da378650a649f3.tar.gz php-waddiwasi-88a77bc5846541e5d6009bc103da378650a649f3.tar.zst php-waddiwasi-88a77bc5846541e5d6009bc103da378650a649f3.zip | |
test: generate PHPUnit classes from WAST files
Diffstat (limited to 'ecs.php')
| -rw-r--r-- | ecs.php | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -2,16 +2,17 @@ declare(strict_types=1); +use PhpCsFixer\Fixer\FunctionNotation\NativeFunctionInvocationFixer; +use PhpCsFixer\Fixer\Import\GlobalNamespaceImportFixer; use Symplify\EasyCodingStandard\Config\ECSConfig; use Symplify\EasyCodingStandard\ValueObject\Set\SetList; -use PhpCsFixer\Fixer\Import\GlobalNamespaceImportFixer; -use PhpCsFixer\Fixer\FunctionNotation\NativeFunctionInvocationFixer; return function (ECSConfig $ecsConfig): void { $ecsConfig->paths([ __DIR__ . '/src', __DIR__ . '/tests', __DIR__ . '/examples', + __DIR__ . '/tools', ]); $ecsConfig->sets([ SetList::CLEAN_CODE, @@ -23,4 +24,8 @@ return function (ECSConfig $ecsConfig): void { 'import_constants' => true, 'import_functions' => true, ]); + $ecsConfig->skip([ + // Skip checking auto-generated files. + __DIR__ . '/tests/src/SpecTestsuites/Core', + ]); }; |
