'\self' is an invalid class name

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

'\self' is an invalid class name

Postby the_nutria » October 9th, 2014, 4:34 pm

Each time I write self::, the autocompleter renames it to \self::, which is not valid and the PHP gives a fatal error at runtime. Please consider fixing this bug.

Thank you
the_nutria
 
Posts: 2
Joined: October 9th, 2014, 4:30 pm

Re: '\self' is an invalid class name

Postby Jakub Misek » October 10th, 2014, 12:37 pm

Hi,

Thank you for reporting the issue. This will be fixed in upcoming update.

Best,
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: '\self' is an invalid class name

Postby Jakub Misek » October 14th, 2014, 3:43 pm

Hi,

There is preview update available at http://www.devsense.com/products/php-tools/download fixing the issue.

Please give us know how it works for you.

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: '\self' is an invalid class name

Postby the_nutria » October 18th, 2014, 11:12 am

Perfect! Thank you!
the_nutria
 
Posts: 2
Joined: October 9th, 2014, 4:30 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 19 guests

cron

User Control Panel

Login

Who is online

In total there are 19 users online :: 0 registered, 0 hidden and 19 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 19 guests