diff --git a/build/target-repository/composer.json b/build/target-repository/composer.json index ee615ac1..47d4369a 100644 --- a/build/target-repository/composer.json +++ b/build/target-repository/composer.json @@ -7,5 +7,10 @@ }, "bin": [ "bin/rule-doc-generator" - ] + ], + "autoload": { + "classmap": [ + "stubs" + ] + } } diff --git a/scoper.php b/scoper.php index 536c0ae4..841e45f0 100644 --- a/scoper.php +++ b/scoper.php @@ -22,5 +22,5 @@ 'stubs/Rector/Core/Contract/Rector/RectorInterface.php', ], - // @todo unprefix class names? + ]; diff --git a/stubs/PHPStan/Rules/Rule.php b/stubs/PHPStan/Rules/Rule.php new file mode 100644 index 00000000..b63ce1f8 --- /dev/null +++ b/stubs/PHPStan/Rules/Rule.php @@ -0,0 +1,12 @@ +