-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Describe the bug
No error when placing a properties inside interface
To Reproduce
<?php
declare(strict_types=1);
namespace Test;
interface UsersInterface
{
public array $users = [];
}
class Users implements UsersInterface
{
}
new Users;
Screenshot:
Environment for tests:
- VsCode Version: 1.72.2
- PHP Tools v1.18.10878 Pre-Release
- OS Name: Microsoft Windows 11 Pro
- OS Version: 10.0.22621 N/A Build 22621
VSCode settings:
{
"workbench.colorTheme": "Darcula",
"php.suggest.basic": false,
"php.validate.enable": false,
"emmet.excludeLanguages": [
"markdown",
"php"
],
"php.problems.exclude": {
"wp-admin/": true,
"wp-includes/": true,
"wp-content/plugins/": true,
"vendor/": true,
},
"php.codeLens.enabled": false
}
jakubmisek
Metadata
Metadata
Assignees
Labels
No labels
