Use DateTimeImmutable
We should use DateTimeImmutable
instead of DateTime
.
This blog post summarize exactly what I think: https://www.nikolaposa.in.rs/blog/2019/07/01/stop-using-datetime/
Consider this issue as a nice to have.
We should use DateTimeImmutable
instead of DateTime
.
This blog post summarize exactly what I think: https://www.nikolaposa.in.rs/blog/2019/07/01/stop-using-datetime/
Consider this issue as a nice to have.