Skip to content

Suppress is_file warnings from entry file#1466

Merged
ondrejmirtes merged 1 commit intophpstan:1.7.xfrom
mvorisek:no_open_basedir_warnings
Jun 23, 2022
Merged

Suppress is_file warnings from entry file#1466
ondrejmirtes merged 1 commit intophpstan:1.7.xfrom
mvorisek:no_open_basedir_warnings

Conversation

@mvorisek
Copy link
Contributor

Upper than project directory might be inaccessible.

see https://github.com/phpstan/phpstan/runs/7020331951?check_suite_focus=true#step:6:394

@ondrejmirtes
Copy link
Member

Can you make the test to crash the PHP process (return non-zero) in case of these warnings?

@mvorisek
Copy link
Contributor Author

Good point, I can use some grep magic in phpstan/phpstan#7518

@staabm
Copy link
Contributor

staabm commented Jun 23, 2022

I guess you would just need a exception handler which throws a exception on php warnings..?

@ondrejmirtes
Copy link
Member

Thank you.

@mvorisek mvorisek deleted the no_open_basedir_warnings branch June 23, 2022 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants