markus staab | @[email protected]

10.2K posts

markus staab | @markusstaab@phpc.social banner
markus staab | @markusstaab@phpc.social

markus staab | @[email protected]

@markusstaab

open-source lover, creator of staabm/phpstan-dba, extensive freetime @phpstan, @rectorphp and #phpunit contributor #sabredav, #amphp, #redaxo

germany Katılım Aralık 2011
139 Takip Edilen871 Takipçiler
markus staab | @[email protected] retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
I had a bad hair day at PHP UK but I think this talk recording is still worth your time.
Ondřej Mirtes tweet media
English
1
5
15
622
markus staab | @markusstaab@phpc.social
Recently I learned that the order in which you pass options to a CLI command can have a huge perf impact on the runtime (even if it leads the same result)
markus staab | @markusstaab@phpc.social tweet media
English
0
0
6
275
markus staab | @markusstaab@phpc.social
It was a pleasure to work with @MisterDeviling thru a lot of old #PHPStan bugs. Yesterdays release contains a massive package of fixes. while we concentrated on the maintenance parts, ondrej could concentrate his efforts on improving DX with better docs and other nice additions.
markus staab | @markusstaab@phpc.social tweet media
English
0
3
16
869
markus staab | @[email protected] retweetledi
Roman Pronskiy
Roman Pronskiy@pronskiy·
Lightweight fork of Xdebug 🧪 You can keep it always enabled as it has only ~5% overhead compared to ~300% in Xdebug
Roman Pronskiy tweet media
English
8
28
267
33.8K
markus staab | @[email protected] retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
Error identifiers documentation is finally useful! Take a while and browse everything PHPStan can report:
English
1
5
28
1.2K
markus staab | @[email protected] retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
For the longest time I was bothered that “Documentation” link on phpstan.org led directly to “Getting Started” page, and that some really useful docs pages weren’t discoverable at all. Starting today, it’s boxes describing what use-case/problem the page solves.
Ondřej Mirtes tweet media
English
3
4
11
2.6K
markus staab | @[email protected] retweetledi
Ondřej Mirtes
Ondřej Mirtes@OndrejMirtes·
Several times a week I tell people their problem can be solved by adding @​phpstan-impure above their non-void function (or by setting rememberPossiblyImpureFunctionValues: false). Finally, PHPStan will tell them by itself:
Ondřej Mirtes tweet media
English
0
3
21
1.6K
markus staab | @[email protected] retweetledi
Jan Nedbal
Jan Nedbal@janedbal·
💥Big release of Dead Code Detector via @phpstan: 🏷️Dead properties: Both never-written & never-read detected! Property hooks part of transitivity chain! ☘️Twig support! Parameters passed to templates are used! github.com/shipmonk-rnd/d…
Jan Nedbal tweet mediaJan Nedbal tweet media
English
1
8
47
2.2K
markus staab | @markusstaab@phpc.social
@alexdaubois Main problem is performance for me. I have a dedicated CLI command to enable/disable loading of the xdebug extension to work arround it - and I need it tens of times daily
English
1
0
2
82
markus staab | @[email protected] retweetledi
Alexandre Daubois
Alexandre Daubois@alexdaubois·
How can we improve the debugger situation in #PHP? Compared to other languages, the majority of people use dd() and dump() (myself included!). How could we change that? What the biggest friction point?
English
32
4
31
6K
Freek Van der Herten
Freek Van der Herten@freekmurze·
🚀 We just released spatie/php-attribute-reader, a package that gives you a clean API for reading PHP attributes. PHPs reflection API for attributes is surprisingly verbose. Our package fixes that. 👍 #php
Freek Van der Herten tweet media
English
5
7
132
7.6K
markus staab | @markusstaab@phpc.social
TIL: your github action might fail because of a overlong command line, which gets cut without further notice. Not sure its a #php or #windows or #githubactions effect. 1:1 the same command works on a ubuntu based github action without error
English
2
0
1
276