@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.

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