Jano Paetzold

Results 31 issues of Jano Paetzold

Imagine the following example: https://psalm.dev/r/a95dce64af It contains a library, that has a not so Psalm-friendly implementation: Nobody knows whether the properties will be initialised. But this should be solvable by...

bug

Since #94, this extension supports the scenario of checking a Collections's emptiness and then using `first()` and `last()` on that collection without worrying about the return type being `false`. This...

enhancement

When setting an IconBundle as a window's icon, on my High DPI system (using the Gtk backend), the smallest icon will be chosen, and it will be displayed way too...

### Description The `has` CSS selecter selects the parent of an element that complies to a certain CSS selector. This would be incredibly useful for tests. https://developer.mozilla.org/en-US/docs/Web/CSS/:has ### Example ```php...

Feature
CssSelector

If you have a bidirectional OneToMany/ManyToOne assoziation between two entities, you need to make sure it gets updated on both sides. Your code might look like this: ```php

enhancement

#### Briefly describe how the feature should work Instead of grouping windows by application in the tiling popup, I propose showing all windows ungrouped (along with a window preview) as...

enhancement

This example: https://psalm.dev/r/7dfa86955f triggers https://github.com/vimeo/psalm/issues/7847 (which is about falsely raising a MethodSignatureMismatch). But I can't suppress the wrong error. No matter where I put the `@psalm-suppress` annotation, Psalm keeps complaining.

Consider the following code: https://psalm.dev/r/c676544a45 It works as expected: The parent class `get` method returns `static` – therefore, when called on the child, we can be sure that the `self`...

Given we have an array `$array` with keys of type `T`, and `isset($array[$var])` is true – then we can be sure that `$var` is of type `T`. Therefore, `isset($array[$var])` is...

Currently, the docs propose to name the manifest file `{appliction-id}.yaml` or `{appliction-id}.json`. This makes sense when a repository (or directory) contains multiple manifests for different applications. However, the docs also...