Timeline for Should a trait refer to parent methods?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 27, 2019 at 16:54 | comment | added | zquintana | This is true, but my point here is that with an IDE or while running unit tests this bug would not immediately become apparent because it would look like the code is valid from the interpreter. However calling the method could lead to an error. The only way to catch it in that case would be to add a unit test that tests the same method on every implementing class. I would say that's pretty bad design because of that. | |
| Nov 26, 2019 at 23:34 | comment | added | Yevgeniy Afanasyev | Every bug is a "runtime bug" in PHP :( | |
| May 17, 2018 at 16:00 | review | First posts | |||
| May 18, 2018 at 15:49 | |||||
| May 17, 2018 at 15:59 | history | answered | zquintana | CC BY-SA 4.0 |