[ticket/13643] Change the priority of kernel_terminate_subscriber to PHP_INT_MIN

PHP_INT_MIN isn't a defined constant but it can be calculed by
~PHP_INT_MAX (two's complement of PHP_INT_MAX)

PHPBB3-13643
This commit is contained in:
Nicofuma 2015-02-22 16:36:18 +01:00
parent 379eae1a92
commit ffc5a73a0c

View file

@ -35,7 +35,7 @@ class kernel_terminate_subscriber implements EventSubscriberInterface
public static function getSubscribedEvents() public static function getSubscribedEvents()
{ {
return array( return array(
KernelEvents::TERMINATE => 'on_kernel_terminate', KernelEvents::TERMINATE => array('on_kernel_terminate', ~PHP_INT_MAX),
); );
} }
} }