PHP version used for unit tests
5 posts
• Page 1 of 1
PHP version used for unit tests
I have two PHP version registered - 5.6 and 7.1. In Options, the 'Interpreter' tab under PHP Tools shows the 7.1 version selected, and set for debugging. Everything works fine for normal code, however unit test are run using the 5.6.25 PHP version.
I'm probably missing something obvious but I can't seem to get unit test run under the correct PHP version.
I'm probably missing something obvious but I can't seem to get unit test run under the correct PHP version.
- nigeln42
- Posts: 9
- Joined: April 13th, 2015, 3:43 pm
Re: PHP version used for unit tests
Hello,
Thanks for the feedback. Please take a look into the project properties if there is 7.1 setup for the project.
Thanks for the feedback. Please take a look into the project properties if there is 7.1 setup for the project.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: PHP version used for unit tests
Sorry for the delay in replying - been working on other things.
Not quite sure what I'm looking for. In VS project properties the only PHP reference under 'Runtime:' says PHP (unknown)(user installation).
Not quite sure what I'm looking for. In VS project properties the only PHP reference under 'Runtime:' says PHP (unknown)(user installation).
- nigeln42
- Posts: 9
- Joined: April 13th, 2015, 3:43 pm
Re: PHP version used for unit tests
Hi,
Please take a look at Application tab in project properties and try to set your prefered PHP version there. When custom is used, PHP Tools cannot be always sure what framework is used on the custom server so it find some framework according to the language setting in the project properties.
Please let me know if that helped.
Thanks,
Please take a look at Application tab in project properties and try to set your prefered PHP version there. When custom is used, PHP Tools cannot be always sure what framework is used on the custom server so it find some framework according to the language setting in the project properties.
Please let me know if that helped.
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: PHP version used for unit tests
Miloslav,
Thank you so much - as I suspected it was a dumb user error. Somehow I didn't see that tab. Now fixed having selected the correct PHP version..
Thanks
Thank you so much - as I suspected it was a dumb user error. Somehow I didn't see that tab. Now fixed having selected the correct PHP version..
Thanks
- nigeln42
- Posts: 9
- Joined: April 13th, 2015, 3:43 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 77 guests