• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

php type hinting creates invalid error in Dreaweaver CC 2020

New Here ,
Apr 08, 2020 Apr 08, 2020

Copy link to clipboard

Copied

public function addToValidators(array $data) : void;

^this is valid php, but creates a syntax error in Dreamweaver CC 2020. I am fully updated as of this posting. Using php 7.3 and Dreamweaver is set to 7.1. This is valid php per php 7.1. How do I fix this error? I do not want it showing up. I cannot find it in your source code.

Views

155

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 08, 2020 Apr 08, 2020

Copy link to clipboard

Copied

You can do what I do, ignore it. Or disable Linting in your Preferences.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 11, 2020 Apr 11, 2020

Copy link to clipboard

Copied

Thank you for your reply. I do not want to ignore it. This is a paid service. What does linting have to do with PHP? When I toggle that setting it is only css/html.  Do you know the location of the php errors in the DW CC source code? That would be a solution. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2020 Apr 11, 2020

Copy link to clipboard

Copied

LATEST

Feel free to submit a Bug/Feature request from your DW Help menu. 

 

I see one was already logged a while back about something similar.

https://dreamweaver.uservoice.com/forums/382851-adobe-dreamweaver-bugs/suggestions/34490197-php-synt...

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines