shawnhooper,
@shawnhooper@fosstodon.org avatar

Do you use Carbon for your Date calculations? The diffIn* methods have changed in V3.

This is documented, but still caught me by surprise when testing updating to 11.

https://shawnhooper.ca/2024/04/11/breaking-change-diffin-carbon/

killianblais,
@killianblais@piaille.fr avatar

@shawnhooper yeah, we discovered that by chance when, without changing the tests, our test suite failed after upgrading... It seems to me that it should be covered by Laravel upgrade guide

shawnhooper,
@shawnhooper@fosstodon.org avatar

@killianblais great example of tests being useful!

I know Jason at Laravel Shift plans to (or maybe has already) automate this in the upgrade shift.

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