Skip to content
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

Fix php warning for "*" ignore path when open_basedir is set #519

Conversation

mvorisek
Copy link
Contributor

without this PR phpstan produces this output:

Note: Using configuration file C:\debug\vendor\atk4\data\phpstan.neon.dist.
Warning: is_file(): open_basedir restriction in effect. File(*) is not within the allowed path(s): (C:\debug;C:\Program Files\PHP\shared-ro;C:\ProgramData\phpw-temp) in phar://C:\debug/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/IgnoredErrorHelper.php on line 50
 137/137 [============================] 100%

 [OK] No errors

@ondrejmirtes ondrejmirtes merged commit 9b38dff into phpstan:master May 15, 2021
@ondrejmirtes
Copy link
Member

Thank you.

@mvorisek mvorisek deleted the fix_wildcard_path_ignore_with_open_basedir branch May 15, 2021 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants