Christophe Coevoet

5.9K posts

Christophe Coevoet

Christophe Coevoet

@Stof70

#Symfony core developer , CTO @Incenteev @[email protected]

Katılım Mart 2011
166 Takip Edilen6.4K Takipçiler
Christophe Coevoet retweetledi
@beberlei@phpc.social Benjamin Eberlei
We are looking for your feedback on whats blocking you to upgrade from Doctrine ORM 2 to 3 or if you upgraded already, what was complicated? Let us know on this GitHub discussion so that we can improve the path to ORM 3 github.com/doctrine/orm/d…
English
0
4
5
1.1K
Alexander Schranz
Alexander Schranz@alex_s_·
The changes of @stof70 inside prophecy the last years and @OndrejMirtes changes in phpstan also means that prophecy is also better understand by phpstan without the extension. Maybe in some time we can make the whole extension not longer required.
English
1
1
0
152
Christophe Coevoet
Christophe Coevoet@Stof70·
@saleksir @pronskiy @ThePHPF <script> is not part of Javascript. It is part of HTML. So this is not a relevant comparison here regarding the cost of BC breaks. JS files have never contained such tag (even for frontend JS files).
English
0
0
0
16
lost+found
lost+found@saleksir·
@pronskiy @ThePHPF Maybe it would be optional, as it works with strict_types=1, or make some changes to php.ini to switch the interpreter behavior. Javascript doesn't need "<script>" on a backend side as well, and I think PHP can do the same with "<?php>". Just a thought starter.
English
1
0
0
36
Roman Pronskiy
Roman Pronskiy@pronskiy·
Hey folks, as we’re planning @ThePHPF's 2025 strategy, I’d love to hear from you. What’s been frustrating you about PHP or ecosystem lately? Any tools, workflows, or ideas you think could make things better?
English
67
26
98
20.3K
Christophe Coevoet
Christophe Coevoet@Stof70·
@jwage is this actually waiting on anything ? Adding an event listener does not return a promise waiting for the event to be dispatched.
English
1
0
0
168
Jonathan H. Wage
Jonathan H. Wage@jwage·
Well, this works...I think. But wouldn't it suffer from race conditions? If the click to Strategies and turbo:render happens really fast, the browser could dispatch the event before we are able to register the event listener.
Jonathan H. Wage tweet mediaJonathan H. Wage tweet media
English
1
0
6
564
Christophe Coevoet
Christophe Coevoet@Stof70·
@PierreJoye are you using a serializer service configured by FrameworkBundle or by you ? If you configure it, do you register the BackedEnumNormalizer which adds support for backed enums ?
English
1
0
0
141
PierreJoye
PierreJoye@PierreJoye·
Symfony is really awesome, like, really. Then I use Enum, and serializer, and cry again lol "Failed to denormalize attribute "role" value for class "App\Entity\User": Expected argument of type "App\Enum\UserRole", "string" given at property path "role"." like, BackedEnum?
English
1
0
1
289
PierreJoye
PierreJoye@PierreJoye·
for some reasons, it seems symfony's controller serializer does not support well UUID yet. It is supposed to be supported by default, but passing a UUID result returns [] in json. UidNormalizer in services failed, it can't find it on serialize. Calling it manually works but meh.
English
1
0
0
231
Christophe Coevoet retweetledi
Ruud Kamphuis
Ruud Kamphuis@Ruud_·
@Stof70 @jwage By the way, I'm actually looking for sponsors to help accelerate TwigStan's development. If you're interested, your support would mean a lot! 😊
English
1
2
2
573
Jonathan H. Wage
Jonathan H. Wage@jwage·
I wish we had static analysis on Twig templates. I’d sponsor that project in a heartbeat!
English
3
0
14
1.3K
Christophe Coevoet retweetledi
Hugo "Kocal" Alliaume 🍉
Hugo "Kocal" Alliaume 🍉@HugoAlliaume·
I'm happy to announce the new major version of #Symfony Webpack Encore: 5.0.0 ✨ It contains a lot of breaking changes, dependencies upgrade, deprecated features removal, and making the webpack-dev-server optional! Read more at github.com/symfony/webpac… :)
English
1
9
33
2.9K
Gildas Quéméner - @GildasQ@fosstodon.org
@_md @PhpSpec Noted. I've also been unable to use an environment variable to set the api key. Quick debugging shows that the openai_api_key value is not evaluated. I can open a GH issue if you prefer. I'm not sure if this is a phpspec or ext issue. Thanks for the good work!
Gildas Quéméner - @GildasQ@fosstodon.org tweet media
English
4
0
1
55
Владимир Шамшеев ❤️🇺🇦
@WebReflection Does it trigger change/input events on all inputs? Interesting because of React controlled/uncontrolled inputs philosophy where some integration with JS state is necessary. Or maybe some kind of “reset” event will be helpful
English
1
0
0
170
Christophe Coevoet
Christophe Coevoet@Stof70·
@PierreJoye I would actually go for coercive mode by default (strict mode only applies partially so it still include coercive rules elsewhere) as it is more type safe than explicit casts. We only need the last few weird coercion rules to be gone (see the prerequisites in my link)
English
1
0
1
45
PierreJoye
PierreJoye@PierreJoye·
@Stof70 I think the working may be confusing. The large majority of them use it internally by default, use types for their interfaces, etc. and the very reason types should be unified (I would go for strict and get rid of the confusion once and for all) is the 2nd part of your reply.
English
2
0
0
84
PierreJoye
PierreJoye@PierreJoye·
php9 should pave the way to next gen php. make strict type default, every lib out there with more than 2 users use it anyway. Add actual core new types, actual sets/collections, start with scalar ([]int f.e.) generics, something like Dart or go would be great type alias 1/2
English
6
0
9
843
Christophe Coevoet
Christophe Coevoet@Stof70·
@mozhacks will the repository also ship Thunderbird in the future or is the ppa still the recommended option ?
English
0
0
0
113
Christophe Coevoet
Christophe Coevoet@Stof70·
@lyrixx dirname does not access the filesystem though. It is purely a string manipulation function.
English
0
0
1
117
Gregoire Pineau
Gregoire Pineau@lyrixx·
I would love a @phpstan rule to detect path to file without an anchor
Gregoire Pineau tweet media
English
3
0
14
1.1K
JoliCode
JoliCode@JoliCode·
Les propriétés logiques permettent d'ajuster la mise en page d'un site en fonction de la langue de l'utilisateur 🔤 Sur le blog aujourd'hui, découvrons ces propriétés CSS encore peu connues ! #CSSjolicode.com/blog/adaptez-v… Par @kaymorey 🖊️
Français
1
4
18
1.5K
Christophe Coevoet retweetledi
Ryan Weaver
Ryan Weaver@weaverryan·
So.... I have incurable brain cancer and I'm asking for your love & support 💖
English
252
818
2.1K
547.4K
Christophe Coevoet
Christophe Coevoet@Stof70·
@hhamon @jwage those were from the game on the SymfonyCasts booth during SymfonyCon. and now, I know why the tower was incomplete when packing back the game with Ryan at the end of the conference... 😆
English
2
0
4
275
Hugo
Hugo@hhamon·
@jwage Where did you get these bricks?
English
1
0
1
293