一段时间以来,PHPStorm 6表现得很奇怪:即使修复了语法错误,也会显示语法错误.
清除它们的唯一方法是剪切和粘贴.
在C/P之前:

C/P之后:

我该如何解决这个问题?
我在尝试composer install我的依赖项时出错。相同的错误composer update。
它说 symfony/web-server-bundle 4.3.3 和 symfony 3.4 之间存在冲突,但这些包应该是兼容的:
这是我的控制台输出:
$ composer install --ignore-platform-reqs
Deprecation warning: Your package name theredled/. is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
Deprecation warning: require.beberlei/DoctrineExtensions is invalid, it should not …Run Code Online (Sandbox Code Playgroud)