PHPSessionHandler: Suppress warnings in initialize()
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 13 Jun 2018 13:51:57 +0000 (09:51 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 13 Jun 2018 13:54:31 +0000 (09:54 -0400)
commit701854b3ebc3c2b06067823395a7d95e8984cfda
tree5d3aebb312fad11cff0d9fc95c7f63a43b75bb22
parentad71ef972015810ff069424a672ce38f49e0c045
PHPSessionHandler: Suppress warnings in initialize()

PHP 7.2 has gotten strict about calling various session-related methods
after headers were sent. Even in CLI mode where there are no headers to
send in the first place. Silence these warnings.

Bug: T197030
Change-Id: Idaabf1320c56e0d6c26387f03af05f32e1496a1c
includes/session/PHPSessionHandler.php