Jiří Pudil

2K posts

Jiří Pudil banner
Jiří Pudil

Jiří Pudil

@jiripudil

👨‍💻 Software engineer (PHP, TypeScript, React, Kotlin). 📖 Open sourcerer. ☕ Coffee consumer. 🎸 Guitar noisemaker.

Brno, CZ 🇨🇿 Katılım Mart 2009
242 Takip Edilen369 Takipçiler
Jiří Pudil retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
Syntax for default @​template types just dropped in PHPStan 1.12.x thanks to @jiripudil! 🎉 This is now valid code:
Ondřej Mirtes tweet media
English
7
15
67
7.8K
Jiří Pudil retweetledi
#posobota
#posobota@posobota·
Jirka Pudil @jiripudil nám poví, co nového v Naja.js 3. Možná bude i dortík 🎂 #najajs #nettefw
Čeština
0
1
1
323
Jiří Pudil
Jiří Pudil@jiripudil·
@alex_s_ @OndrejMirtes What happens is that in contravariant positions, a covariant projection resolves to the template type's lower bound, which is now always implicitly `never` (PHP's bottom type).
English
0
0
2
28
Alexander Schranz
Alexander Schranz@alex_s_·
@OndrejMirtes Looks interesting, but I'm the only one confused by not really understanding `... expects never, Dog given.` ?
English
2
0
0
222
Jiří Pudil retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
It's so annoying that we can't pass Collection<Dog> into Collection<Animal>, unless @​template is covariant. But with @​template-covariant T, we can't use T in a @​param. @jiripudil is on the verge of solving this with so-called type projections aka call-site variance. #phpstan
Ondřej Mirtes tweet media
English
1
17
49
5.5K
Jiří Pudil
Jiří Pudil@jiripudil·
I understand it, but I'm so saddened by this. Honestly, Xcode is an infant when compared to mature JetBrains IDEs – it's cute but useless, really, and screams and shits itself all the time. So long AppCode and thanks for all the fish, you will be missed 👋
JetBrains AppCode@appcode

With the release of v2022.3, we are sunsetting the AppCode product. We’ll no longer sell new subscriptions or renew existing ones. All active subscriptions will get a fallback to v2022.3. Thank you for being with us! More information: jb.gg/sunset-appcode

English
0
0
2
359
Jiří Pudil
Jiří Pudil@jiripudil·
The latest patch of @phpstan added support for contravariant template types. I'd like to put a spotlight on them because while they're not as common as covariant templates, they have their use cases too: jiripudil.cz/blog/contravar…
English
0
8
18
0
Jiří Pudil retweetledi
php.net
php.net@official_php·
🎉 PHP 8.2.0 has been released! 🐘 Find out all about it @ php.net/releases/8.2/ 📇 The full ChangeLog is at #8.2.0" target="_blank" rel="nofollow noopener">php.net/ChangeLog-8.ph… 💙 Thanks to everyone involved in this release.
English
37
805
2.1K
0
Jiří Pudil
Jiří Pudil@jiripudil·
@xf3l1x I'm afraid not. It's an inline preview, and it appears to be available for plain text, images, etc., but not for HTML.
Jiří Pudil tweet media
English
1
0
0
0
Jiří Pudil
Jiří Pudil@jiripudil·
The fruits of yesterday's awesome #posobota: turns out you actually can attach files to @getsentry events, it's just not exposed in the PHP SDK. Yet. I'll send a PR as soon as I polish the code and add tests. Thanks for the impulse @xf3l1x 👀
Jiří Pudil tweet media
English
1
0
9
0
Ⓙakub Ⓑouček
Ⓙakub Ⓑouček@JakubBoucek·
@jiripudil Na FB se jede podivná kampaň s tvým jménem. Není jasné, v jakém městě, za jakou cenu, odkaz vede na GForm, kde není o eventu žádné info, jen jakési rádoby právnické (ale právně nesmyslné) plky. Koukni na to prosím, než tou kampaní proletí zbytečně moc peněz.
Ⓙakub Ⓑouček tweet mediaⒿakub Ⓑouček tweet media
Čeština
1
0
0
0
Jiří Pudil
Jiří Pudil@jiripudil·
Two weeks ago, I've introduced a @phpstan extension bringing support for sealed classes to PHP. Looking back, I feel I haven't stressed the main benefit enough, so here I am doing it justice: jiripudil.cz/blog/true-powe…
English
1
6
16
0
Jiří Pudil
Jiří Pudil@jiripudil·
@localheinz @phpstan It is. In most of my use cases, sealed interfaces are more than sufficient. But then again, why not support sealed classes too? Somebody might find them useful 🤷‍♂️
English
0
0
0
0