Commit Graph

11 Commits

Author SHA1 Message Date
Sam Burns
f826225132 To begin taking advantage of new domain, use wrt Sulfuras 2024-01-24 16:31:52 +00:00
Sam Burns
c1b9f465d3 To allow new domain to replace god object antipattern, make business logic work in gilded rose item classes 2024-01-24 16:31:52 +00:00
Sam Burns
9fdc9ab29f To prepare to move business logic out of god object antipattern, provide domain objects and factory pattern 2024-01-24 16:31:47 +00:00
Sam Burns
b6518c84c8 To restore coding standards of project, run ecs 2024-01-24 12:34:54 +00:00
Alain Schlesser
c64b2faf74
Remove final keyword from Item class 2023-11-14 09:14:39 +00:00
Pen-y-Fan
081c69b864 Bump to PHP 8.0+
PHP 7.4 was end of life November 2022, it's time to bump to PHP 8 standard 🎉

- updated starting code to PHP 8 standard
- upgraded tooling (code quality, static analysis) to the latest versions
- tested with PHP 8.0, 8.1 and 8.2
   - the fixture is working
   - the example test is failing, as expected
   - code quality is as expected
   - static analysis is ok
2023-01-07 17:19:35 +00:00
Pen-y-Fan
b4a02d3f5e Updated PHP version for PHP7.2+
Removed PHP5 (no longer supported)
Renamed PHP7 to PHP - consistent with other kata
Added the same helpers as other PHP Kata
Updated the code to PHP7.2+ standard
Didn't change GildedRose updateQuality method
Updated GildedRoseTest (still failing)
Added ApprovalTest (passing)
- same text file as texttests / ThirtyDays / stdout.gr (only renamed).
2020-07-23 22:49:59 +01:00
Pen-y-Fan
ed7a787e4f Updated PHP version for PHP7.2+
Removed PHP5 (no longer supported)
Renamed PHP7 to PHP - consistent with other kata
Added the same helpers as other PHP Kata
Updated the code to PHP7.2+ standard
Didn't change GildedRose updateQuality method
Updated GildedRoseTest (still failing)
Added ApprovalTest (passing)
- same text file as texttests / ThirtyDays / stdout.gr (only renamed).
2020-07-23 22:47:36 +01:00
Kevin Boyd
d1b6306324 Move php to php5 and add a php7 example that uses composer 2019-04-23 14:56:30 -07:00
Peter Kofler
a5a06c7979 add missing texttest fixture for PHP code 2014-04-13 15:57:10 +02:00
Peter Kofler
09355abb56 port GildedRose Java version to PHP with PHPUnit test 2014-04-01 20:06:25 +02:00