friendship ended with social-app. php is my new best friend
1<?php
2
3namespace React\Http;
4
5// Deprecated `Server` is an alias for new `HttpServer` to ensure existing code continues to work as-is.
6\class_alias(__NAMESPACE__ . '\\HttpServer', __NAMESPACE__ . '\\Server', true);
7
8// Aid static analysis and IDE autocompletion about this deprecation,
9// but don't actually execute during runtime because `HttpServer` is final.
10if (!\class_exists(__NAMESPACE__ . '\\Server', false)) {
11 /**
12 * @deprecated 1.5.0 See HttpServer instead
13 * @see HttpServer
14 */
15 final class Server extends HttpServer
16 {
17 }
18}