-
Hello!
When I check my string if it contains a dot "." or not, then I get a strange RedundantConditionGivenDocblockType error, which is unreasonable considering I am not checking if the string is e…
ghost updated
11 months ago
-
You can't explore the API via Wiki or docblocks now.
Example wiki doesn't describe other way to iterate over stream than:
```
$iterator = $es->forwardStreamFeedIterator('StreamName');
```
What a…
-
~~Possibly related to #7639.~~ It also prevents the trace from working for some reason.
https://psalm.dev/r/8ae9a9b505
It's also strange that suppressing `MismatchingDocblockReturnType` suppress…
-
I'm talking about:
> QueryBuilderSetParameter - src/Repository/... - To improve performance set explicit type for objects
$queryBuilder->andWhere('a.user = :user')->setParameter('user', …
-
https://github.com/funeralzone/valueobjects/blob/master/src/Enums/EnumTrait.php#L53 should be string
Why not put the typehint on the signature?
-
https://psalm.dev/r/35f6353141
"non-empty-" infers the additional information that at least 1 of the optional types exist.
Looks like this syntax is not supported yet though.
-
- [x] Is this related to quality assurance?
When running static analysis against a simple userland controller like:
```php
class MyController extends AbstractActionController
{
public funct…
-
Example: https://psalm.dev/r/a2b077f2e5
Comment of @weirdan: https://github.com/vimeo/psalm/issues/2571#issuecomment-572011683
-
Now, it allows to generate right return type only for 'long' doc blocks, like this:
```php
/**
* Some variable
*
* @var string
*/
private $var;
```
And it generates getter and setter …
-
From a stab at making existing plugin adhere to new WordPress-Docs ruleset, the sniff enforcing short descriptions in doc blocks is overly broad.
That would make sense to me if limited to function/pr…
Rarst updated
4 years ago