From 88a77bc5846541e5d6009bc103da378650a649f3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 28 Apr 2024 11:02:51 +0900 Subject: test: generate PHPUnit classes from WAST files --- ecs.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ecs.php') diff --git a/ecs.php b/ecs.php index af807fe..8e3bcbe 100644 --- a/ecs.php +++ b/ecs.php @@ -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', + ]); }; -- cgit v1.2.3-70-g09d2