diff --git a/lib/config/presets/internal/packages.ts b/lib/config/presets/internal/packages.ts
index ed745b148ccce1b8e0181f02b9fc57b77d47d5c5..6b621683fc99aab5e23a8a342350cdf61d7a217a 100644
--- a/lib/config/presets/internal/packages.ts
+++ b/lib/config/presets/internal/packages.ts
@@ -115,7 +115,7 @@ export const presets: Record<string, Preset> = {
       'phpspec/phpspec',
       'phpunit/phpunit',
     ],
-    matchPackagePrefixes: ['pestphp/'],
+    matchPackagePrefixes: ['pestphp/', 'php-mock/'],
   },
   postcss: {
     description: 'All PostCSS packages.',