You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Psalm 4.4.0 gives these errors when running, 4.3.2 and 4.3.1 did not give these errors:
PHP Notice: Undefined variable: result in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 25
Notice: Undefined variable: result in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 25
PHP Notice: Undefined variable: returnValue in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 25
Notice: Undefined variable: returnValue in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 25
PHP Warning: exec() has been disabled for security reasons in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 25
Warning: exec() has been disabled for security reasons in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 25
PHP Notice: Undefined variable: returnValue in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 26
Notice: Undefined variable: returnValue in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 26
PHP Notice: Undefined variable: returnValue in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 30
Notice: Undefined variable: returnValue in phar:///usr/local/sbin/psalm_4400.phar/src/Psalm/Internal/ExecutionEnvironment/SystemCommandExecutor.php on line 30
I'm using PHP 7.4.13 with disable_functions = "shell_exec,proc_open,passthru,highlight_file,system,popen,exec" in php.ini.
The text was updated successfully, but these errors were encountered:
thbley
changed the title
psalm 4.4.0 gives
psalm 4.4.0 gives undefined variable errors inside psalm code
Jan 14, 2021
* fixvimeo#5010 function exec() is disabled
* Improve error message
Co-authored-by: Thomas Bley <thomas.bley@bringmeister.de>
Co-authored-by: Matthew Brown <github@muglug.com>
Psalm 4.4.0 gives these errors when running, 4.3.2 and 4.3.1 did not give these errors:
I'm using PHP 7.4.13 with disable_functions = "shell_exec,proc_open,passthru,highlight_file,system,popen,exec" in php.ini.
The text was updated successfully, but these errors were encountered: