yohang / Finite

A Simple PHP Finite State Machine
http://yohan.giarel.li/Finite
MIT License
1.31k stars 188 forks source link

Warning and unexpected behaviour after rejecting a transaction #77

Closed titomiguelcosta closed 8 years ago

titomiguelcosta commented 9 years ago

Only today I came across this library, after a few hours of study and running a few examples, I came across the following:

HectorOrdonez commented 9 years ago

The guard was optional till this PR: https://github.com/yohang/Finite/pull/73

I am currently researching about this because I was implementing this state machine without guards and now it seems like it must be included.

matteosister commented 9 years ago

this problem is solved on master...is related to the OptionResolver component version 2.6

Wesseldr commented 9 years ago

Can someone please give a hint to me? I'm hitting this error as well but I can't figure out what this "guard" thing is that blows up. Do I just need to use the current master or is the release 1.0.3 also a fixed release? I'm using symfony2.6.*

Wesseldr commented 9 years ago

Got a step forward using this:

"yohang/finite": "dev-master",
"alom/graphviz": "~1.0.1",
"kphoen/doctrine-state-machine-bundle": "dev-master",

Now the guard is silent :-)

yohang commented 8 years ago

1.0 won't use Symfony 2.6, but I'll release 1.1.0 this week. Can you confirm that the problem is gone with the current master (1.1) ?

yohang commented 8 years ago

Fixed in #76