Alex

Results 49 comments of Alex

I think constructor or method injections lead to code that is easier to test. Having a facade or global helper within the class itself leads to tightly coupled code. Making...

@zlodes > Facades must die. I wouldn't go this harsh. I believe helpers and facades in Laravel were made for RAD and POC code. When you have clear business _and_...

Maybe the issue the documentation then? It says > WeekYear adds .weekYear() API to get locale aware **week** of the year. https://day.js.org/docs/en/plugin/week-year

I was trying to find a solution for this but unfortunately, it was either too complicated or unsupported. As of September 2021, Growl is deprecated. I found an article that...

I guess it is slow in terms of development pace, but I can see that there was a PR merged a couple of months ago.

I think it would help to mention in `README.md` that strict comparison won't work as expected (b/c it is _not_ mentioned that php-enum is not singleton) and that there are...

@defunctl Out of curiosity, why not this? ```php return [ ClassA::class => autowire()->constructor(get(Red::class)), ClassB::class => autowire()->constructor(get(Green::class)), ]; ``` where `Red` and `Green`: ```php class Green implements ColorInterface ``` and consuming...

Looking at `activatePlugin` (and related methods), this looks like a fairly straight forward way to implement it. If @lucatume don't object, I can give it a shot at creating a...

@lucatume Hopefully this week I will have the time to look into this 👨‍💻 Edit: typo

@thecrypticace what I mean is that if you _don't_ pass cli parameter but instead rely purely on webpack config, hot file will have incorrect protocol.