intelephense Questions

3

Solved

I have a problem with PHP intelephense, the method createToken is undefined. i don't know how to fix it. but when I run it in postman it works. i don't know why vscode doesnt recognize it. i also a...
Thompson asked 5/10, 2021 at 2:57

2

It bothers me because with the most recent update to PHP Intelephense that I received today, the intelephense keeps displaying an error for an unknown property, functions. Intelephense (1014) and t...
Bide asked 5/1, 2023 at 15:32

8

Solved

I am using PHP Intelephense(version 1.3.7) which is the latest version and my VS Code is up to date There was no problem before but a few days ago, it keeps on highlighted all my wordpress function...
Nea asked 24/1, 2020 at 5:33

2

I am using PHPCS and PHPCBF for WordPress development in VS Code.( as per instructions mentioned in https://github.com/tommcfarlin/phpcs-wpcs-vscode ) While PHPCBF is formatting the codes as per WP...
Berezniki asked 9/10, 2020 at 17:55

4

Solved

I'm using iis and vscode to do php work. I recently updated iis from php7.3 to php7.4. My problem is that vscode is still using php7.3. I googled how to change the version in vscode and almost all ...
Farthest asked 3/8, 2021 at 16:19

1

My system is centos 7.6,intelephense1.3.11,vs code 1.44.1 $options = array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, PDO::ATTR_EMULA...
Orthostichy asked 18/4, 2020 at 14:15

2

I'm new to visual studio code and intelephense. I'm working with WordPress and using a class called WP_CLI which's a system installed. So, if I'm not wrong, class WP_CLI is not in my path so I get ...
Glinys asked 17/3, 2021 at 8:51

3

Solved

I use the latest Version of Visual Studio Code (1.52.1) with PHP Intelephense 1.5.4 on Ubuntu. Despite it is the latest Version it seems not to know the new PHP 8 Syntax. For example it shows an er...
Lacerta asked 17/12, 2020 at 17:8

2

Solved

Suppose the following piece of code: <?php declare (strict_types = 1); define('SOURCE_PATH', 'C:\xampp\htdocs\atlantis\ProductImages\\'); $dest = explode('\\', SOURCE_PATH); $dest[count($dest)...
Caretaker asked 17/10, 2021 at 23:47

1

Solved

In config/app.php 'aliases' => [ 'Route' => Illuminate\Support\Facades\Route::class, ], when I am using Route in routes/web.php like Route::get('/', 'UserController@home'); I installed php...
Entoderm asked 26/2, 2021 at 4:55

0

I would like to set my bought Visual Studio Code extension to use PHP 8 version for it's "intelisense" functionality. Checking defaultSettings.json for 'intelephense' search query gives l...
Asperges asked 28/12, 2020 at 9:37

1

Solved

I use Visual Studio Code with Intelephense, and this works wonders on all of my projects except for one, where every class is shown as undefined until I open the file that contains the class. There...
Fichte asked 26/6, 2020 at 11:56

1

Solved

I use Visual Studio Code as my editor and Intelephense as my PHP formatter. It works well for the most part, but Intelephense changes my format in several ways that makes it harder for me to read. ...
Matronize asked 20/7, 2020 at 16:42

1

Solved

I had an issue where I installed Imagick via Pecl and Intelephense didn't know what to do with that extension and failed to show any code completion even though the extension was properly installed...
Gopak asked 8/6, 2020 at 9:6
1

© 2022 - 2024 — McMap. All rights reserved.