stub2ref do not generate <ns>.md
authorMichael Wallner <mike@php.net>
Tue, 25 Jan 2022 08:32:06 +0000 (09:32 +0100)
committerMichael Wallner <mike@php.net>
Tue, 25 Jan 2022 08:32:06 +0000 (09:32 +0100)
bin/stub2ref

index 37e55f23b241cb17b8086c1d42511ed4d010c5c2..78c7d1799b64b714399f7df48b2fefc84a9ac8ec 100755 (executable)
@@ -22,10 +22,6 @@ if (!file_exists("$destination/$namespace.mdref")) {
        fprintf(STDERR, "Missing $destination/$namespace.mdref; generated default.\n");
        file_put_contents("$destination/$namespace.mdref", "./%s") || exit -2;
 }
-if (!file_exists("$destination/$namespace.md")) {
-       fprintf(STDERR, "Missing $destination/$namespace.md; hard linking README.md\n");
-       link(dirname($argv[2]) . "/README.md", "$destination/$namespace.md") || exit -3;
-}
 
 $inspector = new Inspector;
 $inspector->inspectNamespace($namespace);