Add a dedicated Exception for SessionOverflow
authorDaimona Eaytoy <daimona.wiki@gmail.com>
Sat, 7 Sep 2019 14:21:09 +0000 (16:21 +0200)
committerDaimona Eaytoy <daimona.wiki@gmail.com>
Tue, 10 Sep 2019 08:27:29 +0000 (08:27 +0000)
commitf3262ed390f15427baad7e1470fc4ea6783ec198
treeffd0b479db3f28e32c8da5d1573a4489a8480f78
parent2831fc72e43be57a8e56175bc597e6f11f8310c3
Add a dedicated Exception for SessionOverflow

Instead of setting a custom property and checking via isset + count.

Change-Id: I087eeb2eee414218bbd6023ad1703fde22292281
includes/Setup.php
includes/session/SessionManager.php
includes/session/SessionOverflowException.php [new file with mode: 0644]
tests/phpunit/includes/session/SessionManagerTest.php