markusstaab, to random German
@markusstaab@phpc.social avatar

Todays #phpstan release contains numerous fixes and improvements.

Please consider supporting my open source work:
https://github.com/sponsors/staabm

phpugmrn, to random German
@phpugmrn@phpc.social avatar
markusstaab, to random German
@markusstaab@phpc.social avatar

Todays #phpstan #todoby release adds support for full github urls as a out-of-the box format.

In contrast to previously supported issue trackers, it works without additional configuration right after extension was installed.

Additionally we now support XXX and FIXME comments.

see https://github.com/staabm/phpstan-todo-by/releases/tag/0.1.26

markusstaab, (edited ) to random German
@markusstaab@phpc.social avatar

My #phpstan extension #todoby recently crossed 150 stars.

it allows you to put expiration on your code comments.
a comment can expire by e.g. a github, jira or youtrack issue-url. expiration dates and composer version constraints also work.

give it a shot :)

https://github.com/staabm/phpstan-todo-by

ramsey,
@ramsey@phpc.social avatar

@shochdoerfer @markusstaab I am curious, though, why it’s a #PHPStan extension and not a #phpcs sniff (or something of the code style sort).

markusstaab, (edited ) to random German
@markusstaab@phpc.social avatar

I am working on some really cool type improvements for preg_match() in #phpstan for a few days.

Fingers crossed the changes are acceptable 😅

OndrejMirtes, to random
@OndrejMirtes@phpc.social avatar

When I find an easy fix for a bug I thought was unfixable for 3 years… #phpstan

Vibing White Cat GIF

markusstaab, (edited ) to random German
@markusstaab@phpc.social avatar

Todays #phpstan 1.11.0 release alone contains 11 contributions of mine:

  • some new side-effect rules
  • type narrowing improvements
  • signature improvements
  • internal cleanups

If this tool is vital for your daily job, please sponsor my freetime work or spread the word (tell your boss).

markusstaab, (edited ) to Laravel German
@markusstaab@phpc.social avatar

Today I collaborated with ondrey on a fix for #phpstan which improves a previous performance fix, which caused perf regressions in a #laravel edge-case.

The new fix allows a 2-3 seconds instead of 2-3 minutes analysis in all mentioned cases.

Reported issue was https://github.com/phpstan/phpstan/issues/10979

markusstaab, to random German
@markusstaab@phpc.social avatar

its profilling time again. try to squeeze out more in edge-case.

most annoying part is that running in this cases means you need to wait 10-15 minutes until the recording is done.

Already found a way to make it 37% faster: https://github.com/phpstan/phpstan-src/pull/3059

still investigating

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • ethstaker
  • InstantRegret
  • tacticalgear
  • rosin
  • love
  • Youngstown
  • slotface
  • ngwrru68w68
  • kavyap
  • cubers
  • DreamBathrooms
  • megavids
  • mdbf
  • modclub
  • GTA5RPClips
  • normalnudes
  • khanakhh
  • everett
  • cisconetworking
  • osvaldo12
  • anitta
  • Leos
  • Durango
  • tester
  • JUstTest
  • All magazines