-
Notifications
You must be signed in to change notification settings - Fork 115
Description
| Subject | Details |
|---|---|
| Plugin | Php Inspections (EA Extended) 5.3.0 |
| Language level | PHP 8.2 |
Current behaviour
When using openssl_random_pseudo_bytes(), EA gives me the error The IV generated can be false, please add necessary checks.
Since PHP 7.4.0 the function no longer returns false on failure, but throws an Exception instead.
Expected behaviour
Remove the error message or change it to mention the function can throw an Exception.
Environment details
Details
PhpStorm 2025.2.1 Build #PS-252.25557.128, built on August 27, 2025 Source revision: cc85f31c60fb7 Licensed to Arne Peirs Subscription is active until February 22, 2026. Runtime version: 21.0.8+1-b1038.68 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.windows.WToolkit Windows 11.0 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 4096M Cores: 16 Registry: ide.balloon.shadow.size=0 editor.focus.mode.color.light=777777 editor.focus.mode.color.dark=777777 run.processes.with.pty=TRUE ide.new.editor.tabs.vertical.borders=true ide.animate.toolwindows=true ide.experimental.ui=true ide.editor.tab.selection.animation=true ide.colorful.toolbar.gradient.radius=600 idea.islands.gradient.enabled=false eslint.additional.file.extensions=svelte Non-Bundled Plugins: JavaScriptDebugger (252.25557.178) org.jetbrains.completion.full.line (252.25557.131) org.editorconfig.editorconfigjetbrains (252.25557.131) Batch Scripts Support (1.0.13) com.jetbrains.space (252.25557.23) com.intellij.ideolog (252.25557.135) hunspell (252.25557.131) com.jetbrains.restClient (252.25557.131) Docker (252.25557.130) com.intellij.ml.llm (252.25557.171) com.intellij.react (252.25557.178) dev.blachut.svelte.lang (252.23892.298) org.jetbrains.plugins.vue (252.25557.175) com.jetbrains.php.drupal (252.25557.131) com.kalessil.phpStorm.phpInspectionsEA (5.3.0) com.chrisrm.idea.MaterialThemeUI (10.2.0) com.jetbrains.php.wordPress (252.25557.131) NEON support (0.5.4) de.espend.idea.php.annotation (12.0.0) com.jetbrains.php.blade (252.25557.131) com.pestphp.pest-intellij (252.25557.131) com.mallowigi (102.0.0) mobi.hsz.idea.gitignore (4.5.6) com.intellij.php.psalm (252.25557.131) com.jetbrains.php.phpspec (252.25557.131) com.jetbrains.php.codeception (252.25557.131) com.intellij.php.tools.quality.phpstan (252.25557.131) org.jetbrains.security.package-checker (252.25557.135)