bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.59k stars 93 forks source link

Requires optional argument #2531

Open mlazdans opened 1 year ago

mlazdans commented 1 year ago

Describe the bug Intelephense requires an optional argument.

To Reproduce

<?php

ibase_query("SELECT * FROM TABLE");

Expected behavior Should not require optional db link argument

Screenshots image

Platform and version Windows 10 x64 Intelephense version 1.9.5 Intelephense › Environment: PHP Version: 7.4.16

juner commented 1 month ago

me too!

<?php
// ...
$time = FrozenTime::now();

image

image

image

https://github.com/cakephp/chronos/blob/2.4.4/src/Traits/FactoryTrait.php#L75-L78

https://github.com/cakephp/cakephp/blob/3.10.5/src/I18n/FrozenTime.php#L29

Platfrom and version Windows 11 x64 vscode dev container v0.369.0 dev container os centos7 php version PHP 7.4.33 Intelephense version v1.10.4