brie, to music Slovak
pieceofthepie, to php
@pieceofthepie@n8e.dev avatar

Oh this is fun. I can't upgrade to #PHPUnit 11 as it needs PHP-Parser 5+.

Which I can't use as #Psalm needs 4+.

Not to mention this project itself needs PHP-Parser so that upgrade in of itself means work on my part.

Is this where I start using a PHAR?

#PHP #DependencyHell #SoftwareDeveloper

Passamezzo, to Marriage
@Passamezzo@mastodon.social avatar

A English setting of 127, described as being suitable for or a .
From La Scala Santa Hugh Hare, Baron Coleraine, 1670.
https://www.youtube.com/watch?v=6OJ3oi43J_Q&ab_channel=Passamezzo
@earlymodern @earlymusic @histodons @histodon

thgs, (edited ) to php
@thgs@phpc.social avatar

What error level are you running psalm ?

rubenrubiob, to php
@rubenrubiob@phpc.social avatar

When using static analysers in PHP, a generic service as a Query Bus is usually a point of pain. In this post, we will see how to type-hint a Query Bus correctly.

https://dev.to/rubenrubiob/type-hint-a-query-bus-in-php-3aik

#php #staticanalysis #phpstan #psalm #consultant #freelance

mythologyandhistory, to latin
@mythologyandhistory@mas.to avatar

Did you know that reading was once your get-out-of-jail-free card?

During the reign of Henry II., became exempt from secular .

To prove clergyhood, one had to read from the .

The required was 51:3 = "Miserere mei, Deus, secundum misericordiam tuam".

An illiterate person could simply memorise the psalm & avoid hanging, as ecclesiastical was far more lenient than secular law.

This led to 51:3 becoming known as the "neck verse".

ramsey, to php
@ramsey@phpc.social avatar

was all, like, “I found some MissingParamType issues. I’ll be happy to fix the types for you.” So, I ran it with --alter, and it proceeded to change mixed parameter types (that conform to an interface) to stringd.

That’s not my typo; there is a “d” on that end of that type name.

I have no idea what Psalm thinks it’s doing.

ramsey, to random
@ramsey@phpc.social avatar

Before I open an issue with over this, I’ll ask here because maybe I’m missing something simple.

I have a class that extends another class and overrides a method on the parent. That method is type-hinted as returning static, and this appears to confuse Psalm when implemented in the child.

See my example here: https://psalm.dev/r/e6c108358e

Am I missing something? Is there an annotation I can add to help Psalm?

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