- 
                Notifications
    
You must be signed in to change notification settings  - Fork 10
 
Single class diagram #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 6 commits
9cc668a
              9bfdadf
              ce64f74
              47b2368
              3981207
              c84be99
              20f0a5d
              35fce94
              bc53408
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 
                       There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Including a single file in the processing for  This is a more ad-hoc solution, but how about the following change in  if (is_file($directory)) {
    $options['include'] = basename($directory);
    $directory = dirname($directory);
}There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My actual goal is to have a file and draw all existing dependencies of the specified file disregarding the directory. I wanted to do this step by step so I don't tear the project apart. I can mark this MR as a draft and just work on this further. Thanks very much for your input! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @pmaasz There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I had a look at the suggested repo and tried it out but the drawn graph is sadly also missing the information I want.  | 
            
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error message displayed when you think you have specified a directory but the path is wrong is `ERROR: specified file dose not exist.
Since it is the basic policy that the default argument is a directory, [ERROR: specified directory dose not exist.] should be displayed.
It is better to use
file_existsto check for the existence of a file or directory, and the error message if it does not exist should always be [ERROR: specified directory dose not exist.].