block34 Posted April 21, 2021 Share Posted April 21, 2021 + tree src src └── classes.php + cat src/classes.php <?php class Class1 { /** * @uses Class2::method2() */ function method1(){} } class Class2 { function method2(){} } + phpdoc -d src -t /tmp/docs + grep method1 /tmp/docs/classes/Class2.html || echo 'REFERENCE NOT FOUND' REFERENCE NOT FOUND On the page /tmp/docs/classes/Class2.html, there should be no reference (@usesby) to Class1::method1()? So the document https://cutt.ly/jvDMGhh is not telling the truth? Also, this is what the page /tmp/docs/classes/Class2.html looks like if it is opened in a browser https://i.snipboard.io/cl6gSs.jpg As already mentioned, Class1::method1() is not mentioned anywhere Quote Link to comment https://forums.phpfreaks.com/topic/312531-phpdoc-does-not-create-usesby-tag/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.