AndrolGenhald

Results 45 issues of AndrolGenhald

I want to be able to take a `BackedEnum $enum` so that `$enum->value` is definitely a `string`. Currently I have false positives because `BackedEnum::$value` is `int|string`. - Add template to...

enhancement
enum

Implement lifecycle events similar to doctrine-orm: http://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/events.html Since much of the implementation resides in doctrine/common, I'm hoping I'll be able to get at least some of the events implemented this...

Say I have an entity `Foo` with a relationship `bar`: ``` namespace App\Entity; /** * @OGM\Node(label="Foo") */ class Foo { /** * @OGM\Relationship(type="RELATED_TO", direction="OUTGOING", targetEntity="Bar", collection=false) * @var Bar */...

bug

I've wanted to have `ObjectRepository::findBy` type check the criteria for a while now, and I finally got around to working out a prototype. There are still several major problems: 1....

### Symfony version(s) affected 5.4 ### Description When a user is not logged in I want to respond with a 401 response rather than redirecting to the login page for...

Bug
Status: Needs Review

I'm trying to simulate the atmega328p with ihex firmware and eeprom using `simavr -m atmega328p -f 16000000L -ff firmware.hex -ee eeprom.hex -v -v -v`, but it's loading the eeprom as...

### Discussed in https://github.com/vimeo/psalm/discussions/7901 Originally posted by **Baptouuuu** April 26, 2022 Is there a way to use a template to specify a key of an array like so : https://psalm.dev/r/7469115e9c...

enhancement
templates

Hmmm, this doesn't seem quite right to me. I know we're looking at `int`s now, but to give a `string` example, wouldn't this cause [this](https://psalm.dev/r/a780b3729f) to be a false positive,...

bug
intersections

@Ocramius The `->sub()` issue is separate from this, this issue is only for `->modify()`, but I do believe `->sub()` was incorrect in your PR, here's an example for that special...

bug
easy problems
internal stubs/callmap

https://psalm.dev/r/3f50a48d4c Adding a docblock fixes it, even if the docblock doesn't specify the template: https://psalm.dev/r/31efc1de51

bug
templates
causes crash