Skip to content

Commit

Permalink
feat(presets): Add PHP test packages to default unitTest group (#25073)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Oct 10, 2023
1 parent 95076df commit f31c088
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion lib/config/presets/internal/packages.ts
Expand Up @@ -103,6 +103,20 @@ export const presets: Record<string, Preset> = {
'symplify/easy-coding-standard',
],
},
phpUnitTest: {
description: 'Unit test packages for PHP.',
matchPackageNames: [
'behat/behat',
'brianium/paratest',
'facile-it/paraunit',
'mockery/mockery',
'phpspec/prophecy',
'phpspec/prophecy-phpunit',
'phpspec/phpspec',
'phpunit/phpunit',
],
matchPackagePrefixes: ['pestphp/'],
},
postcss: {
description: 'All PostCSS packages.',
matchPackageNames: ['postcss'],
Expand All @@ -128,6 +142,6 @@ export const presets: Record<string, Preset> = {
},
unitTest: {
description: 'All unit test packages.',
extends: ['packages:jsUnitTest'],
extends: ['packages:jsUnitTest', 'packages:phpUnitTest'],
},
};

0 comments on commit f31c088

Please sign in to comment.