You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Henri, you probably are using php 5.4, I think also need to support version of 5.3. Using $this in anonymous functions added in 5.4, if I am not mistaken.
I did small fix in the test (commit: 5080aeb).
Now everything is in OK!
Thanks!
$ phpunit - c app/phpunit.xml vendor/suncat/mobile-detect-bundle/SunCat/Mobile
DetectBundle/Tests/
PHPUnit 3.6.11 by Sebastian Bergmann.
Configuration read from /bla/bla/bla/app/phpunit.xml
.............
Time: 1 second, Memory: 7.75Mb
OK (13 tests, 70 assertions)
Activity
suncat2000 commentedon Nov 26, 2012
Henri, you probably are using php 5.4, I think also need to support version of 5.3. Using
$thisin anonymous functions added in 5.4, if I am not mistaken.I did small fix in the test (commit: 5080aeb).
Now everything is in OK!
Thanks!
$ phpunit - c app/phpunit.xml vendor/suncat/mobile-detect-bundle/SunCat/Mobile DetectBundle/Tests/ PHPUnit 3.6.11 by Sebastian Bergmann. Configuration read from /bla/bla/bla/app/phpunit.xml ............. Time: 1 second, Memory: 7.75Mb OK (13 tests, 70 assertions)HenriVesala commentedon Nov 27, 2012
Sorry my bad. Im indeed using 5.4 and forgot to take that to account.
Symfony 4.2 and 5.0 support