Flávio Veloso Soares
Flávio Veloso Soares
It would be good if unused variables and parameters sniffs supported a whitelist of names, because PHPCS suppression is not granular enough to always flag only the variables that are...
Series length = 17, window = 14: ```python from io import StringIO import pandas as pd from ta.trend import adx DATA = ''' DATE O H L C 2019-12-05 0.60...
Not sure about the expected behaviour of `average_true_range(..., window=N)` when `N > len(series)`, so reporting anyway. How to reproduce: ```python import pandas as pd from ta.volatility import average_true_range df =...
### What steps will reproduce the problem? On the producer: ```php 'queue' => [ 'class' => \yii\queue\db\Queue::class, 'mutex' => \yii\mutex\PgsqlMutex::class, 'strictJobType' => false, 'serializer' => \yii\queue\serializers\JsonSerializer::class, ], ``` On the...
Although PHP expected behaviour is not give any runtime-time errors, it would be good if Psalm could flag those issues because they introduce bugs that are very difficult to find....
It is great to be able to run Psalm inside Emacs with output format "emacs". However, some key information about issues are missing, which forces me to run Psalm outside...
It seems that if an annotation is malformed, then the line immediately above is being ignored. This causes code failures down the road with confusing and sometimes misleading error messages....
I'm getting this from latest ac-php-core 20240305.600 _phpctags_: ``` PHP Fatal error: Uncaught Error: Object of class PhpParser\Node\NullableType could not be converted to string in phar:///home/flaviovs/.emacs.d/elpa/ac-php-core-20240305.600/phpctags/PHPCtags.class.php:459 Stack trace: #0 phar:///home/flaviovs/.emacs.d/elpa/ac-php-core-20240305.600/phpctags/PHPCtags.class.php(288):...
### What steps will reproduce the problem? Install yii2-jui. ### What's expected? A safe version of Jquery UI pulled in as dependency, or the ability to upgrade that package to...
https://psalm.dev/r/4609d92f6f Note: using `empty()` because it's a common pattern in PHP apps to assert nullable arrays. However, removing `empty()` (i.e. doing `if ($this->arr)...`) **still generates warnings**, albeit different ones: ```...