Jano Paetzold

Results 48 comments of Jano Paetzold

@nikophil Thanks for the solution/workaround! Yes, that works – by wrapping it in a callback, I can successfully keep the instance from being automatically created before `afterInstantiate`. I generalised it...

> I think you're right. However, I think it will be fixed in foundry 2.0 Because I'm curious: How will this use case be addressed in foundry 2.0?

Okay, I'll set out to do this, but having the option makes the implementation even more complicated, so I can't say when. Would you be fine with binding the option...

Thanks, @weirdan! I didn't think of a solution like this, because in my case, the parent class lives in a library. Do you think Psalm should change its behaviour in...

> findUnusedVariablesAndParams In which way would that improve safety? > ensureArrayIntOffsetsExist (false to true) > ensureArrayStringOffsetsExist (false to true) I always assumed that this behaviour was default, normal type checking...

I think this is a great effort that would handle the edge cases presented in #9838, along with generally proviting greater accuracy when dealing with values inside containers. I think...

> Why it should be limited to the new expression? [Typescript allows this](https://www.typescriptlang.org/play?#code/FAYw9gdgzgLgBANwIxwLxwOYFMYGUwC2OAFgJYQYAUAlHFAIYylQBmpWUcASluAE4ATADyw+5DABo6MMRTgAfOBACuBAEZY+APgDcoSLEQAmNJhz4iMMhRp1GzNh268wgkTPFTR4hUtUa+XzUwMAAbLHoIXWBgFmUIECZIMzxCEnFbAG9gOFy+HGU+CDhs3LK4FlgALjgkCRzyuggBGoAiAGIABk6WFm7W+sa4Kz4amWUsQdyAXzLgaeAgA) As I wrote in my comment, I don't think it should be limited to the `new` expression,...

Is what this adapter does even related to Chrome? As far as I understand, it only takes care of not shipping any server side logic (like adapter-static), not overwriting the...

> So this bug exists in 5.4? Because 3.4 and 4.4 are not maintained anymore, if yes please update the description. Thanks Yes, unused parameters still throw exceptions in 5.4:...

I could think of the following ways to solve this: ### Interactive selection PHPStorm provides an interactive selection when moving a class to a namespace and the path is ambigious....