Kdyby/FakeSession requires PHP 7.1 or newer.
The best way to install Kdyby/FakeSession is using Composer:
$ composer require kdyby/fake-session
Learn more in the documentation.
Homepage http://www.kdyby.org and repository http://github.com/Kdyby/FakeSession.