You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I would test 0.3.0 on doctrine, and was greeted with this crash.
$ vendor/bin/guides -vvv --no-progress docs/enPHP Fatal error: Uncaught TypeError: is_file(): Argument #1 ($filename) must be of type string, bool given in /home/greg/dev/doctrine-orm/minor/vendor/phpdocumentor/guides-cli/bin/guides:44Stack trace:#0 /home/greg/dev/doctrine-orm/minor/vendor/phpdocumentor/guides-cli/bin/guides(44): is_file()#1 /home/greg/dev/doctrine-orm/minor/vendor/bin/guides(119): include('...')#2 {main} thrown in /home/greg/dev/doctrine-orm/minor/vendor/phpdocumentor/guides-cli/bin/guides on line 44
I believe it's caused by #768 (realpath returns false, and then false is passed to is_dir)
The text was updated successfully, but these errors were encountered:
Running the tool without creating a guides.xml is a valid scenario, and
should be supported. This means realpath() may return false, which is not
a valid input for is_file().
FixesphpDocumentor#824
greg0ire
added a commit
to greg0ire/guides
that referenced
this issue
Jan 21, 2024
Running the tool without creating a guides.xml is a valid scenario, and
should be supported. This means realpath() may return false, which is not
a valid input for is_file().
FixesphpDocumentor#824
I thought I would test 0.3.0 on doctrine, and was greeted with this crash.
I believe it's caused by #768 (
realpath
returnsfalse
, and thenfalse
is passed tois_dir
)The text was updated successfully, but these errors were encountered: