Zeljko Mitic

Results 17 issues of Zeljko Mitic

In PHPStorm, when you have code like ``$enum->equals()`` you don't have autocomplete of possible options. That _should_ be achievable with meta file: https://blog.jetbrains.com/phpstorm/2019/02/new-phpstorm-meta-php-features/ Now... I am not going to lie,...

https://psalm.dev/r/c061438453 The ``echo 'break'`` is here only for psalm to correctly trace ``$input``, cannot remember the rule for that, sorry.

enhancement

When dealing with collections, using ``write_property_path`` can be problematic when dealing with non-direct relations. Simple example; please note I am using new arrow function for readibility, recent github changes for...

feature

When form types are created from controller like this: ```php public function __invoke() { $form = $this->createForm(SearchType::class); $form->handleRequest($request); if ($form->isSubmitted() && $form->isValid()) { $code = $form->getData(); //

With service locator anti-pattern being deprecated long ago, we can now use ``ServiceLocator`` class for tagged services. If you check compiler passes, it is only used for that anyway. Use...

Check screenshot, there is no CSS loaded: ![image](https://user-images.githubusercontent.com/1964158/53017488-59322f80-3450-11e9-9fbb-d692cf1a3c50.png)

This issue is a feature request of rewriting my existing solution into symfony/ux. It is about removing the need for any JS for dynamic fields, but it does require one...

I am super-excited for Stimulus+Turbo and already using both but being JS noob, it is very hard to figure how to configure integration with Symfony. Example: this is how my...

When I create invoice in browser, my item with code 1006 and GST tax of 10% is correctly created: ![image](https://user-images.githubusercontent.com/1964158/53838330-12d2e980-3f95-11e9-87ed-e46f93596385.png) I.e. I pick 1006 and browser puts the tax. All...

Latest 8.3 supports arbitrary[ static variable initializers](https://wiki.php.net/rfc/arbitrary_static_variable_initializers) but psalm doesn't detect the type. Like in [this example](https://psalm.dev/r/ada95c35e3), even thought it is [valid](https://3v4l.org/eQAQL#v8.3.3) code. Isolating value calculation in another method didn't...

enhancement