home.social

#phpspec — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #phpspec, aggregated by home.social.

fetched live
  1. I've just recently found out that #PHPSpec does *not* have an 8.4 compatible release yet.

    Guess I'll be rewriting my test suite in #PHPUnit then.

    #PHP #PHP84

  2. Result: Highly complicated diff of two arrays of the same size of a failed #phpspec test.

    Reality: Just one value in that array is wrong.

    😞

  3. I rarely have to test an iterator in #PHPSpec and I always have to look it up:

    $this->shouldIterateAs($iterable);