Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105162 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79322 invoked from network); 9 Apr 2019 12:43:28 -0000 Received: from unknown (HELO mail-vs1-f53.google.com) (209.85.217.53) by pb1.pair.com with SMTP; 9 Apr 2019 12:43:28 -0000 Received: by mail-vs1-f53.google.com with SMTP id e2so9376385vsc.13 for ; Tue, 09 Apr 2019 02:40:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=wwCWqqBb2xAdogRWfD8JcS/NWkG3MGOcNYKtFn/Y590=; b=DctbYGqNNpvZ+viEFW/fYPpGRWQDi/lmUGlM/qb1+EEp6IhKspE8zv87e/e7Ud8+LB cdz71DQGt0ZvM3PcJWAatjhZXZ2vCYt7XtngOdu1EElvKwtexpx7jhRGmCFHgmbKMRdk ua8aw9yYdRk6yOipBdZkE4q9D2ZvFlQGL416qiqcW7hocHuE0LGKV53vDoXm4fI/cowk aTf9k802QY+UVjGML5Pb+DDINSRpYE7Umi9hHHGeSBsFcBs+sy/119N8l0cJUa7EW9g8 phHo7ex9hSxechZ2kVBF30M35V5oEDSZ5rh46y9fdTtKdwj+MOiYQycdhheiBilc8WsP cMCg== X-Gm-Message-State: APjAAAXVUSAjE9jiCNZPRxZfLjFEZ/6xAFmDyljjEDwydMVdSULX+SA2 39ssqT1pnhq7yZ2825ZMrn815oziJmR+qb1US4Y= X-Google-Smtp-Source: APXvYqyvxYwy2T5nHYnBct05NW0HsRA0u6YGPZSMPTa0whYd9f75oSQlrCC9J3woz/D6qiD8FvbLJvVA4FUDwuJUfrg= X-Received: by 2002:a67:8192:: with SMTP id c140mr19703162vsd.176.1554802819266; Tue, 09 Apr 2019 02:40:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: bishop@php.net Date: Tue, 9 Apr 2019 05:39:54 -0400 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000bcff51058615bdcf" Subject: Re: [PHP-DEV] [RFC] Always generate fatal error for incompatible method signatures From: bishop@php.net (Bishop Bettini) --000000000000bcff51058615bdcf Content-Type: text/plain; charset="UTF-8" On Tue, Apr 9, 2019 at 4:25 AM Nikita Popov wrote: > Hi internals, > > A small cleanup RFC for PHP 8: https://wiki.php.net/rfc/lsp_errors > > This makes all incompatible method signature (LSP) errors fatal, rather > than only warning in some cases. Especially after > https://wiki.php.net/rfc/parameter-no-type-variance I don't think there's > any reason to keep this backdoor in place. > Thank you, Nikita. +1 from me. This inconsistency was a personal WTF moment, 3 years ago: https://stackoverflow.com/q/37889466/2908724 On Tue, Apr 9, 2019 at 4:25 AM Nikita Popov wrote: > Hi internals, > > A small cleanup RFC for PHP 8: https://wiki.php.net/rfc/lsp_errors > > This makes all incompatible method signature (LSP) errors fatal, rather > than only warning in some cases. Especially after > https://wiki.php.net/rfc/parameter-no-type-variance I don't think there's > any reason to keep this backdoor in place. > > Regards, > Nikita > --000000000000bcff51058615bdcf--