Commit Graph

14 Commits

Author SHA1 Message Date
Sam Burns
b2bac6c2a9 To make the application work with Conjured items, add new feature 2024-01-24 16:31:53 +00:00
Sam Burns
c07ed14265 To prepare for new feature, gather requirements for conjured items 2024-01-24 16:31:53 +00:00
Sam Burns
d7bb4c9f94 To begin taking advantage of new domain, use wrt default items, and fix business logic 2024-01-24 16:31:53 +00:00
Sam Burns
df68a125cb To begin taking advantage of new domain, use wrt brie, and fix business logics 2024-01-24 16:31:53 +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
46f45e2661 To provide a place for unit tests, move approval tests and change config 2024-01-24 14:44:10 +00:00
Sam Burns
bad5ca93fd To provide a better behavioural test harness, add Behat tests for all features 2024-01-24 14:35:56 +00:00
Sam Burns
1a572c1eb7 To provide behavioural test infrastructure, add install Behat and add first test 2024-01-24 13:01:43 +00:00
Sam Burns
fb7d21042e To provide a basic test harness using existing infrastructure, add approval test expectations 2024-01-24 13:00:14 +00:00
Sam Burns
b6518c84c8 To restore coding standards of project, run ecs 2024-01-24 12:34:54 +00:00
Peter Kofler
4d5ca7b311 PHP: Add an Approval base test similar to Java-Approvals and CS-xunit-verify. 2023-11-29 12:13:35 +01:00
Pen-y-Fan
10d3cf7f5a Add PHP8
- update README.md with latest PHP information
- update composer.json to support PHP 7.3 to PHP8
  - active support for PHP 7.2 ended 6 Dec 2020
  - PHP8 was released 26-Nov-2020
  - update the dependencies
- PHPUnit now version 9.5 and config file updated
- ECS now version 9.3 and config file changed from `ecs.yaml` to `ecs.php`

ApprovalTest removed, in line with latest readme, all set for refactoring :)

Tested with PHP 7.3, 7.4 and 8.0 one failing "fixme" != "foo" test!
2021-05-03 16:02:47 +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