Merge "phan: Add internal stubs for imagick, pcntl, redis & sockets"