I keep getting this error while using a surround snippet

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Re: I keep getting this error while using a surround snippet

Postby BladeMF » September 20th, 2016, 12:42 pm

Jakub Misek wrote:
BladeMF wrote:This version seems to have an issue with /** @var */ hints - they are not working, saw two just now. Its a syfony project.

Thanks for feedback, we did make the parser fully compatible with PHP7 which does not support such a feature. We're making improvements so the feature will be back in next update.

Thanks!
Jakub


Please keep me posted. This is crucial! :)
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: I keep getting this error while using a surround snippet

Postby BladeMF » September 20th, 2016, 12:53 pm

Jakub Misek wrote:
BladeMF wrote:This version seems to have an issue with /** @var */ hints - they are not working, saw two just now. Its a syfony project.

Thanks for feedback, we did make the parser fully compatible with PHP7 which does not support such a feature. We're making improvements so the feature will be back in next update.

Thanks!
Jakub


Colorisation of types is also broken:

Code: Select all
private function RegisterPurchaseInternal(PurchaseData $Data)


PurchaseData is not colorized in above example.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: I keep getting this error while using a surround snippet

Postby BladeMF » September 20th, 2016, 12:55 pm

Jakub Misek wrote:
BladeMF wrote:This version seems to have an issue with /** @var */ hints - they are not working, saw two just now. Its a syfony project.

Thanks for feedback, we did make the parser fully compatible with PHP7 which does not support such a feature. We're making improvements so the feature will be back in next update.

Thanks!
Jakub


Also, I have messages like "function is_numeric is not defined in PHP 0.0"
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: I keep getting this error while using a surround snippet

Postby Jakub Misek » September 30th, 2016, 12:31 pm

Hi Blade,

All the issues you had were fixed, please feel free to try on https://www.devsense.com/download

Thanks,
Jakub
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: I keep getting this error while using a surround snippet

Postby BladeMF » September 30th, 2016, 1:55 pm

Jakub Misek wrote:Hi Blade,

All the issues you had were fixed, please feel free to try on https://www.devsense.com/download

Thanks,
Jakub

Don't mind if I do :)
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: I keep getting this error while using a surround snippet

Postby BladeMF » October 1st, 2016, 8:28 am

I still have problems with Error class.

See attached screenshot.

P.S. I have this class defined in my project.
You do not have the required permissions to view the files attached to this post.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Re: I keep getting this error while using a surround snippet

Postby Jakub Misek » October 2nd, 2016, 1:53 pm

BladeMF wrote:I still have problems with Error class.

See attached screenshot.

P.S. I have this class defined in my project.


I see! We have to find out how to handle this case.

Anyway this will be fixed in some future release. Also it is a warning for you that migrating to PHP7 requires you to change your code :)
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: I keep getting this error while using a surround snippet

Postby BladeMF » October 3rd, 2016, 5:47 am

Jakub Misek wrote:
BladeMF wrote:I still have problems with Error class.

See attached screenshot.

P.S. I have this class defined in my project.


I see! We have to find out how to handle this case.

Anyway this will be fixed in some future release. Also it is a warning for you that migrating to PHP7 requires you to change your code :)


Yea, that sucks.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 346
Joined: October 10th, 2012, 7:14 am

Previous

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 43 guests

cron

User Control Panel

Login

Who is online

In total there are 43 users online :: 0 registered, 0 hidden and 43 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 43 guests