Skip to content

interface function cannot contain body error is not shown in brackets linting #720

Open
@Nainabhandari8

Description

@Nainabhandari8

NOTE:
-Download brackets from brackets.io page.
-Install PHP7 as LSP features like diagnostic problem, find references, find symbols, jump to definition, code hints, parameter hints are only supported in PHP7.

Problem:

interface function cannot contain body error is not shown in brackets linting

  1. Create a new php file and copy below code and save the file.
<?php

interface A{
function a(){}
}
?>

Result:

File compiled successfully without any error

Expected:

interface function cannot A::a() cannot contain body error must be shown.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions