Elektrine lite

← Feed

Sebastian Bergmann :phpunit:

sebastian@phpc.social

<p>Created PHPUnit. Co-Founded thePHPcc. Helps developers build better software.</p>

Posts

  • View post

    The PHP Developer Day in Dresden is starting right now.

  • View post

    RE: https://phpc.social/@sebastian/117330033869348044 The badge on GitHub caught up.

  • View post

    Somehow I completely missed this milestone: PHPUnit has now been installed via Composer more than 1,005,280,071 times. 🤯 One billion installs. Thank you to everyone who writes tests, reports bugs, sends pull requests, and supports the project. ❤️ https://packagist.org/packages/phpunit/phpunit/stats #PHPUnit #Packagist #OpenSource

  • View post

    Using your time and tokens to &quot;rewrite&quot; critical PHP infrastructure in another language, under another license, does not advance the PHP ecosystem.

  • View post

    As of today, PHPUnit 8.5, 9.6, 10.5, 11.5, 12.5, 13.3, and the main branch are also tested with PHP 8.7, which will be released in Q4 2027. Why this matters, and how PHP and its ecosystem test each other: https://phpunit.expert/articles/how-php-and-its-ecosystem-test-each-other.html?ref=mastodon #PHP #PHPUnit

  • View post

    Symfony Language Tools no longer accepts pull requests, and most Laravel packages no longer accept issues. Both decisions rest on the same premise: the diff has become cheap. What remains scarce is an understanding of the problem, and the contribution that carries it best is a failing test: https://phpunit.expert/articles/when-the-diff-is-free.html?ref=mastodon

  • View post

    Hello, #PHP 8.7!

  • View post

    Only one more week until @FrOSCon@bonn.social in Sankt Augustin, the premier German Open Source conference, from the community for the community. 🎉 When I&#39;m not on stage for my presentation &quot;Supply Chain Security in the PHP Ecosystem&quot;, you&#39;ll find me at @thephpf@phpc.social&#39;s booth in the community expo hall. @beberlei@phpc.social and I cannot wait to meet you all and discuss the work of the foundation. Come say hi! https://phpunit.expert/events/froscon-2026.html?ref=m...

  • View post

    A car manufacturer lists an Android botnet in its open source attribution. The entry gives away how the list was made: by scanning instead of by declaring. Why a declared dependency list is worth more than a scanned one, and how the PHPUnit PHAR discloses its own contents: https://phpunit.expert/articles/your-composer-lock-knows-what-a-carmaker-only-guesses.html?ref=mastodon

  • View post

    RE: https://phpc.social/@sebastian/117007183050868222 I have been working on PHPUnit with high intensity recently. I cannot keep this up without more funding. To everyone who already sponsors my Open Source work: thank you. Your support makes a real difference. I know times are tough. They are for me, too. If PHPUnit is part of your workflow, please consider sponsoring its continued development: https://phpunit.de/sponsoring.html #PHPUnit #OpenSource

  • View post

    PHPUnit 13.3 will be released next Friday, August 7. It ships quite a few impactful improvements I have been working on over the past months. The ChangeLog lists what&#39;s new, but my newsletter, sent right after the release, explains these changes and puts them into perspective. Not subscribed yet? It&#39;s free, and you can unsubscribe anytime: https://phpunit.de/newsletter ChangeLog: https://github.com/sebastianbergmann/phpunit/blob/603c565d0bb3f70cd9333cfc6bd13b7dd7b335a4/ChangeLog-13.3...

  • View post

    Answers to questions I am asked again and again about PHPUnit, test automation, code coverage, and testing in PHP: https://phpunit.expert/faq.html?ref=mastodon

  • View post

    A security vulnerability in PHPCSUtils revealed an eval() call in a static analysis tool. Why disable_functions cannot reach eval(), and what a switch in the PHP engine to disable it could look like: https://phpunit.expert/articles/when-static-analysis-runs-your-code.html?ref=mastodon

  • View post

    2025 and 2026 proved to be a stress test for the supply chains of all package ecosystems. A review of Composer and Packagist: what PHP does well, what it can learn, and who owns our infrastructure. https://phpunit.expert/articles/composer-and-packagist-under-supply-chain-stress.html?ref=mastodon

  • View post

    My favourite kind of bug fix only adds a new regression test and leaves every existing test untouched. I checked this claim against PHPUnit&#39;s own history and learned the most from the counterexamples: https://phpunit.expert/articles/untouched-tests-are-half-the-proof.html?ref=mastodon

  • View post

    The book I&#39;m writing stands at roughly 400 pages now. Maybe it&#39;s time to update https://phpunit.expert/book/ with some real information ... soon-ish™.

  • View post

    Looking forward to this one: on August 6, I&#39;ll be at the @engkiosk@podcasts.social Rhine-Ruhr Meetup in Düsseldorf! 🎤 I&#39;ll be talking about &quot;Turbo-Charging Your PHPUnit Suite&quot;, because slow tests destroy flow, and it doesn&#39;t have to be that way. If you&#39;re in the Rhine-Ruhr area, come by and say hi. I always enjoy meeting the community in person. https://phpunit.expert/events/engineering-kiosk-rhine-ruhr-meetup-august-2026.html #PHP #PHPUnit #Meetup

  • View post

    RE: https://phpc.social/@sebastian/116882147948130910 Having just watched &quot;Caramel&quot;, I think it&#39;s high time I added &quot;The Bear&quot; to my list of all-time favourite series. But ... do I need to update my article now?

  • View post

    RE: https://phpc.social/@sebastian/116879224138213525 This toot should have been an article, and now it is. But it will have to wait its turn to be published.

  • View post

    My favourite kind of bug fix: one that only adds a new regression test and does not touch any existing test. The new test proves the bug is fixed. The untouched existing tests prove the fix does not break any behaviour we rely on; at least none that is covered by a test. When a bug fix forces you to change existing tests, that is worth a pause: either the tests were coupled to implementation details, or the &quot;bug&quot; was actually documented behaviour someone depends on.

  • View post

    Selecting exactly the tests you want, finer control over the order they run in, faster and clearer output when they fail, and more expressive test doubles. I walk you through what is new in PHPUnit 13.2: https://phpunit.expert/articles/precision-and-clarity-what-is-new-in-phpunit-132.html?ref=mastodon

  • View post

    Technical debt is not malicious. It is not laziness, incompetence, or carelessness either. It is the result of constraints, trade-offs, and circumstances we did not witness. Written by people who cared about solving real problems, just like we do. Why empathy is a technical skill, not just a soft one: https://phpunit.expert/articles/technical-debt-is-not-malice.html?ref=mastodon

  • View post

    Here is the material I used for my presentation &amp;quot;Past, Present, Future: The PHPUnit Story&amp;quot; at #phpcon_odawara today: https://phpunit.expert/presentations/past-present-future-the-phpunit-story.html?ref=mastodon

  • View post

    Sei live dabei, wenn ich heute um 14:00 Uhr Roland Golla im Livestream erzähle, was sich bei #PHPUnit gerade so alles tut: https://www.youtube.com/watch?v=ClBCr4o8CHg&amp;amp;list=PL-Xl37-rETi4ITtOXFM22pEg9SPb-FiU4

  • View post

    My well-tested CSV parser had 100% line and branch coverage and a 100% mutation score. Surely no bugs left, right? Wrong. Fuzz testing found one almost instantly. In my new article, I explore fuzz testing for PHP using @nikic&amp;#39;s PHP-Fuzzer and also compare fuzzing with property-based testing: https://phpunit.expert/articles/security-through-chaos.html?ref=mastodon

  • View post

    RE: https://phpc.social/@OndrejMirtes/116328401278623215 All that visual debt of type information: gone.

  • View post

    AI agents can now write code, run tests, and open PRs; all on their own. What keeps them in check? The practices we&amp;#39;ve preached for years: TDD, code review, static analysis, documentation. My new article explores why these aren&amp;#39;t just &amp;quot;best practices&amp;quot; anymore and what this means for Open Source and developer skills. Yes, it&amp;#39;s a long read. On April 1st. Consider it counter-programming. 😉 https://phpunit.expert/articles/beyond-best-practices.html?ref=ma...

  • View post

    This responsibility is mine to carry, and I carry it gladly. Those who financially support my Open Source work through sponsorship are not paying for software: they are valuing the responsibility I take on. Thank you to everyone who already supports me!

  • View post

    I just released #PHPUnit 13.1. As always when I publish a new release, I feel the weight of maintainership on my shoulders. Because I know that every new version of PHPUnit gets installed hundreds or thousands of times within minutes, and millions of people rely on it to test their software reliably.

  • View post

    Imagine if the package registries and #OpenSource components that you use were no longer available. Would you still be able to deliver a single line of code? Would your software even start, or would your business come to a standstill within minutes? https://phpunit.expert/articles/open-source-blackout.html?ref=mastodon