dgoosens,
@dgoosens@phpc.social avatar

hello @phpstan

So I'm bulding my first Custom Extension (excellent documentation by the way https://phpstan.org/developing-extensions/rules)

Wondering if there is a way to use @Xdebug within the rule... Breakpoints appear to be skipped although I know the script executes (and my Xdebug setup works from the CLI) ?

dgoosens,
@dgoosens@phpc.social avatar

@phpstan

it works !!!
#awesome

think we will write Custom Rules to validate as many of the conventions the team decides to adopt

everything that is checked by @phpstan no longer requires checking in code review

I estimate that I would have spent 1/3 of the time on this if I had @Xdebug working...
var_dumping endless arrays is not very efficient

#php

mitelg,
@mitelg@phpc.social avatar

@dgoosens by experience I can tell that @OndrejMirtes is very supportive, if you open a discussion or issue on GitHub. maybe try that 😉

dgoosens,
@dgoosens@phpc.social avatar

@mitelg @OndrejMirtes

will do...

dgoosens,
@dgoosens@phpc.social avatar

@mitelg @OndrejMirtes

done:
https://github.com/phpstan/phpstan/discussions/10139

will also try to dig in deeper myself

dgoosens,
@dgoosens@phpc.social avatar

@mitelg

@OndrejMirtes is a madman
answered in less than 5 minutes

@phpstan running with @Xdebug

Thanks a lot @OndrejMirtes !!

heiglandreas,
@heiglandreas@phpc.social avatar
shochdoerfer,
@shochdoerfer@phpc.social avatar

@dgoosens @mitelg @OndrejMirtes nice! That might help me also to debug a weird issue in my Magento extension for PHPStan...

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