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

swap mkdir and is_dir in check to prevent php errors #1853

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rmpel
Copy link

@rmpel rmpel commented Oct 19, 2022

possible solution for #1847

I THINK this should do it, but, I have no idea how to compile the plugin and use it in phpStorm.

maybe there needs to be some work done around line 120, as that's where another check is for the presence of is_dir is, however; does it check for the position (before or after mkdir) as well???

Copy link

@luukvhoudt luukvhoudt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you forgot to move this = %s thing 😅

@rmpel
Copy link
Author

rmpel commented Oct 19, 2022

hehe, don't know ;) as said, I have no way to test it. I'll commit your suggestions, but it is up to the maintainer to test/debug, or someone help me set-up a working compile + test in phpStorm, then I can debug it myself (I hope)

Co-authored-by: Luuk van Houdt <71889608+luukvhoudt@users.noreply.github.com>
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.

None yet

2 participants