@sebastian@phpc.social
@sebastian@phpc.social avatar

sebastian

@sebastian@phpc.social

Created PHPUnit. Co-Founded thePHPcc. Helps developers build better software.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sebastian, to random
@sebastian@phpc.social avatar

I will be at next week to speak about 's test double functionality:

https://www.neoscon.io/talks/testing-with-doubles-why-when-and-how.html

heiglandreas, to random
@heiglandreas@phpc.social avatar

Great! Something changed in symfony/phpunit-bridge between 6.4.7 and 6.4.x-dev 15607a3 that now results in

Error in bootstrap script: PHPUnit\Event\Code\NoTestCaseObjectOnCallStackException:
Cannot find TestCase object on call stack

...

Not how I thought my day would start... 😕

sebastian,
@sebastian@phpc.social avatar

@herndlm @heiglandreas There's at least three of us ;)

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

sebastian,
@sebastian@phpc.social avatar

@markusstaab Very interesting, thank you for sharing.

pierstoval, to random French
@pierstoval@mastodon.social avatar

Laravel folks will literally keep reinventing the wheel and adding glitter on it instead of going to therapy

sebastian,
@sebastian@phpc.social avatar

@pierstoval As somebody who has done his fair share of Amiga era ASCII/ANSI art, I have to say: I am not impressed with the art here. ;)

sebastian, to Symfony
@sebastian@phpc.social avatar

Here is the material that I used for my "PHPUnit for Shopware Developers" presentation at @ShopwareDevs #SCD24 #Shopware Community Day:

https://thephp.cc/presentations/phpunit-for-shopware-developers?ref=mastodon

codito, to random Polish
@codito@mas.to avatar

After months of development and many review iterations, it's now merged and released 🥳!

@PHPCSFixer v3.57 provides the ability to run analysis with multiple CPUs, which drastically boosts the performance 😍! Let me know how much it speed up your CI 😎.

https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/tag/v3.57.0

sebastian,
@sebastian@phpc.social avatar

@codito @PHPCSFixer Thank you!

grusp, to php Italian
@grusp@phpc.social avatar

📣 Less than 24 hours to the 21st edition of @phpday ! It is the oldest php conference in Europe!

:elephpant: Last chance to get your ticket, online or in-presence!

➡️ https://2024.phpday.it/tickets/

🇮🇹 See you tomorrow in Verona, Italy and online!

sebastian,
@sebastian@phpc.social avatar

@grusp @phpday Have fun!

OndrejMirtes, to random
@OndrejMirtes@phpc.social avatar

PHPStan 1.11 With Error Identifiers, PHPStan Pro Reboot and Much More https://phpstan.org/blog/phpstan-1-11-errors-identifiers-phpstan-pro-reboot

sebastian,
@sebastian@phpc.social avatar

@OndrejMirtes Thank you!

scottkeckwarren, to random
@scottkeckwarren@phpc.social avatar

#phpc developers, sometimes when I run #phpunit I receive 100s of errors (in my integration tests) that might only originate from 2 lines. Is there a way to consolidate these based on stack trace?

sebastian,
@sebastian@phpc.social avatar

@mitelg @scottkeckwarren Should be possible with a custom result printer based on PHPUnit's event system.

PHPCSFixer, to random
@PHPCSFixer@phpc.social avatar

📢 NEW RELEASE!

Fixer v3.55 brings brand new ordered_attributes rule that extends our support for #PHP8 😁. There are also multiple internal improvements, as we bumped #PHPStan level to 7 and fixed several reported issues.

https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/tag/v3.55.0

sebastian,
@sebastian@phpc.social avatar

@PHPCSFixer Yay! for ordered attributes.

sebastian, to random
@sebastian@phpc.social avatar
greew, to random Danish
@greew@expressional.social avatar

@sebastian A while back you wrote (I'm almost sure it was you, but admittedly - not 100%) about why we ought to use a .phar instead of composer to install phpunit to avoid making version constaints and such...

I can't seem to find that document anywhere - can you point me in the right direction?

sebastian,
@sebastian@phpc.social avatar
OndrejMirtes, to random
@OndrejMirtes@phpc.social avatar

Footer on PHPStan's website just gained a fourth icon 👀

Yes, PHPStan now has a YouTube channel. Not much is on it right now, just a few of my talk recordings linked from other places, but I have plans and I plan to see them through.

Here's the link: https://youtube.com/@phpstan

Like, subscribe and hit the bell button, or whatever the kids say these days.

sebastian,
@sebastian@phpc.social avatar

@OndrejMirtes I did not know that a channel can link videos from other channels. Thanks for sharing, this is worth exploring.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

Lesson for potential and current speakers — my talk today didn’t go over as well as I wanted. The audience had different expectations and feedback was helpful. This happens to every speaker at one time or another.

sebastian,
@sebastian@phpc.social avatar

@grmpyprogrammer What does "taking the L" mean?

saki, to random
@saki@phpc.social avatar

I am now the release manager (rookie) for php8.4. 8.4 is going to be the version I'm most attached to. 🎉

sebastian,
@sebastian@phpc.social avatar

@saki Congratulations!

saramg, to random
@saramg@fosstodon.org avatar

Unboxing my latest silly indulgence.

"The Legacy of Picard":

  • TNG Complete Series
  • Picard Complete Series
  • All four TNG movies
  • "The Wisdom of Picard" (200pg book of quotes from the shows/movies)
  • 4x Château Picard Coasters
  • 5x Badge magnets
  • 1 Deck of Federation Poker Cards

Number 7084/11750

Would upload images, but fosstodon is 503ing at me.

sebastian,
@sebastian@phpc.social avatar

@saramg "Experience: that most brutal of teachers. But you learn, my God do you learn." C.S. Lewis

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

I am working on improving typing in nikic/PHP-Parser so static analysis tooling can assist you better when working directly with the AST.

Also fixing CI while at it.

I started this because we ran into a edge-case fatal error in #PHPStan.

https://github.com/nikic/PHP-Parser/pull/993

sebastian,
@sebastian@phpc.social avatar

@markusstaab Thank you!

sebastian, to random
@sebastian@phpc.social avatar
holger, to random German
@holger@hellinger.wtf avatar

Steig gerade wie immer mit Maske in den Zug.

Frau Mitte 50 setzt sich neben mich: "Sind sie erkältet?"

Ich: "Nein ich schütze mich vor ihnen."

Sie, steht auf und geht. 🤡

sebastian,
@sebastian@phpc.social avatar

@holger Das hatte ich neulich etwas anders:

Sitze im ICE mit Maske, Laptop aufgeklappt, arbeite.

Ein Mann setzt sich mir gegenüber, schaut sich intensiv die Sticker auf meinem Laptop an. Steht auf und geht.

😃

sebastian, to random
@sebastian@phpc.social avatar

I worked so much on 11.2 the last week or so that I almost forgot that PHPUnit 11.1 will be released tomorrow:

https://github.com/sebastianbergmann/phpunit/blob/cd49a71c9a0a2f3c3ee48f097c4d4130eb0c301a/ChangeLog-11.1.md#1110---2024-04-05

Some nice new features will land in the hands of users soon.

sebastian, to random
@sebastian@phpc.social avatar

Last month, Tidelift sent me an email:

"[...] the reality is that we haven’t had as much traction with enterprise app developers using PHP as we have with other ecosystems [...] we will be reducing the income for PHP packages to a base level of $25/mo per package"

As a result, the monthly amount I receive through Tidelift was reduced from 975 USD / month to 500 USD / month.

sebastian,
@sebastian@phpc.social avatar

I am privileged in that this does not mean that I cannot put food on the table or lose the roof over my head.

I hope that this change in how Tidelift pays for the maintenance of projects does not have any serious financial consequences for anybody.

sebastian,
@sebastian@phpc.social avatar

And here is the obligatory and friendly reminder that there are various ways for you to financially support my work on maintaining projects such as :

https://phpunit.de/sponsors.html

sebastian,
@sebastian@phpc.social avatar

You cannot buy , but you can pay for .

The best way to do so benefits you, your team, and me: let me help you through consulting, coaching, and training:

https://thephp.cc/welcome?ref=mastodon

sebastian, to random
@sebastian@phpc.social avatar
sebastian,
@sebastian@phpc.social avatar

@sebastienmonterisi Not today, but in the past. When I activated it today, I had 100% MSI from the start.

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