Exception on new empty file after declaring namespace

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

Exception on new empty file after declaring namespace

Postby urosg » May 23rd, 2017, 10:57 am

I have discovered another annoying error which it doesn't really impact performance but annoys any how.

After I create a new blank .php file in a Yii2 project and enter for example:

Code: Select all
<?php

namespace app\models\user;


after I press the ";" at the end of namespace declaration I get an exception - please see attached ActivityLog.xml for details.
You do not have the required permissions to view the files attached to this post.
urosg
 
Posts: 51
Joined: February 24th, 2016, 2:05 am

Re: Exception on new empty file after declaring namespace

Postby Miloslav Beno » May 29th, 2017, 12:20 pm

Hello!

Thank you very much for letting us know! We will fix this one in the next update.

Best Regards,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 47 guests

cron

User Control Panel

Login

Who is online

In total there are 47 users online :: 0 registered, 0 hidden and 47 guests (based on users active over the past 5 minutes)
Most users ever online was 227 on March 28th, 2024, 9:13 am

Users browsing this forum: No registered users and 47 guests