phpinspectionsea icon indicating copy to clipboard operation
phpinspectionsea copied to clipboard

FP: [EA] Amount of expected parameters is 1.

Open voku opened this issue 3 years ago • 0 comments

Subject Details
Plugin Php Inspections (EA Extended), 4.0.7.1
Language level PHP 7.4

Current behaviour

$this->src_dir = sprintf($this->src_dir, $element_id);

⇉ [EA] Amount of expected parameters is 1.

Expected behaviour

No error because we can't know how many parameters are needed here.

Environment details

PhpStorm 2022.1 EAP Build #PS-221.3427.92, built on January 27, 2022 PhpStorm EAP User Expiration date: February 26, 2022 Runtime version: 11.0.13+8-b1890.4 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 4.15.0-167-generic GC: G1 Young Generation, G1 Old Generation Memory: 5120M Cores: 4 Registry: run.processes.with.pty=TRUE ide.tooltip.initialDelay=885 ide.balloon.shadow.size=0

Non-Bundled Plugins: pronskiy.elephpant (0.1.1) net.seesharpsoft.intellij.plugins.csv (2.18.2) com.intellij.ideolog (203.0.27.0) com.github.copilot (1.1.8.444-nightly) awesome.console (0.1337.11) com.kalessil.phpStorm.phpInspectionsEA (4.0.7.1) NEON support (0.5.1) lv.midiana.misc.phpstorm-plugins.deep-keys (2021.07.18.002) ru.adelf.idea.dotenv (2022.1)

Current Desktop: ubuntu:GNOME

voku avatar Feb 08 '22 13:02 voku