PHP Problems reports unreachable code but then when you open the file the PHP problem disappears. Why is there a difference from the background PHP Problem process and when the file is open?
Hi Ray,
Could you please provide us with this Db.php file? I will try to setup a test case for this, or is it happening on other files as well?
Db.php
Thank you
This is only happening for this one file and the transaction() function. It has something to do with throwing the exception at the bottom. If I remove it then the problem never appears.
The Db.php has many use statements and will not work for you without the entire library
I just need the file for the code analysis engine, so I can try to create a test case. I don't really need the rest of the library for this one.
If I rewrite the function (it always helps to send a text as well :-) ) I'm not able to replicate it.
When trying to upload the file I get the following error: Uploading files of this type is not allowed.
Do you have an email I can send it to?
Probably some security thing, I will check that.
Sure, miloslav at devsense.com
Thank you!
Thank you for the file! Quick question, what OS do you have?
MiloslavBeno
Windows 11 Pro
For reference: https://github.com/DEVSENSE/phptools-docs/issues/202
Thanks. So do I, so that will not be a factor it appears.
It looks like it's not an issue in the particular file, but in some bigger projects in general.
So far, we haven't been able to reproduce
@Ray I thing this one was fixed together with https://github.com/DEVSENSE/phptools-docs/issues/202
I'll close the issue here, and please let us know if it happens again.