@@ -11,7 +11,7 @@ Languages: English, French, Russian, German and Spanish.
1111
1212## Requirements
1313
14- * PHP >= 5.5
14+ * PHP >= 5.6
1515* Symfony ~ 2.8|~ 3.0
1616* FOSUserBundle
1717* Knp Paginator
@@ -22,7 +22,7 @@ Languages: English, French, Russian, German and Spanish.
2222
2323| Ticket Bundle | Symfony | PHP |
2424| ---------------------------------------------------------------------- | ---------- | ----- |
25- | [ 3.x] ( https://github.com/hackzilla/TicketBundle/tree/master ) (master) | ^2.8\| ^3.0 | >=5.5 |
25+ | [ 3.x] ( https://github.com/hackzilla/TicketBundle/tree/master ) (master) | ^2.8\| ^3.0 | >=5.6 |
2626| [ 2.x] ( https://github.com/hackzilla/TicketBundle/tree/2.x ) | ^2.7\| ^3.0 | >=5.3 |
2727| [ 1.x] ( https://github.com/hackzilla/TicketBundle/tree/1.x ) | ^2.3 | >=5.3 |
2828| [ 0.x] ( https://github.com/hackzilla/TicketBundle/tree/0.9.x ) | ^2.3 | >=5.3 |
@@ -50,15 +50,13 @@ TicketBundle show fires events for creating, updating, and deleting of tickets.
5050See for example of how to create listener: http://symfony.com/doc/current/cookbook/service_container/event_listener.html
5151
5252
53- ## Migration from v2 to v3
54-
5553Add your user, ticket and ticket message entities into your config.
5654
5755``` yaml
5856hackzilla_ticket :
5957 user_class : AppBundle\Entity\User
60- ticket_class : AppBundle\Entity\Ticket
61- message_class : AppBundle\Entity\Message
58+ ticket_class : AppBundle\Entity\Ticket
59+ message_class : AppBundle\Entity\Message
6260` ` `
6361
6462Your entities needs to implement:
@@ -69,8 +67,18 @@ Your entities needs to implement:
6967| Ticket | ```Hackzilla\Bundle\TicketBundle\Model\MessageInterface``` |
7068| Message | ```Hackzilla\Bundle\TicketBundle\Model\TicketMessageInterface``` |
7169
72- Any reference to TicketMessage constants will need to use TicketMessageInterface.
70+ # # Migration from v2 to v3
71+
72+ Ticket and TicketMessage entities still exist and the config will default to them if not overridden.
7373
74+ ` ` ` yaml
75+ hackzilla_ticket:
76+ user_class: AppBundle\E ntity\U ser
77+ ticket_class: Hackzilla\B undle\T icketBundle\E ntity\T icket
78+ message_class: Hackzilla\B undle\T icketBundle\E ntity\T icketMessage
79+ ` ` `
80+
81+ Any reference to TicketMessage constants will need to use TicketMessageInterface.
7482
7583# # Migrating from v1 to v2
7684
0 commit comments