Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129020 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 7D7581A00BC for ; Fri, 31 Oct 2025 09:43:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1761903791; bh=k6T3njadz8MWrGgOyL8AmdjdTUwRuFPzISelkRwVdUA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=j8CrsdBHCVJRe9B7JI25ikZsghY8JjtdHRQd256s0OUlXN0daET4hVTC7XGRSGrvc iVWHzF0gXnGR/UMdU++UeZi+E1GQSzKkAQ6wxtLtd/VWhuj1YF7HbqHxNjDvDljTE7 X9DF1Ejj40WMF/LuB+8f7kTF7pY6qfu3vhdwXugYv0gi13nbJ2POXXuqKhQ4JdJBGA VV+2WQWtnYSiW2oc87h5fQzg7ao/QGXhzlLPQjGcDHfvqML9Sg5LU6xcsQwyc1YCCf Fuy8+9glFEvLaEojR1Z/oDOQ+CZ8N8oUhUJlYhOma/cKnuybotPVvmQlBidR32FDfg qz94ixFz9ogYg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0D6A7180050 for ; Fri, 31 Oct 2025 09:43:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 31 Oct 2025 09:43:06 +0000 (UTC) Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-3d70c5bb455so778681fac.1 for ; Fri, 31 Oct 2025 02:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761903780; x=1762508580; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=k6T3njadz8MWrGgOyL8AmdjdTUwRuFPzISelkRwVdUA=; b=Hs0WJuEcQqY8WfBwT7XgMnGTrTESJr5LUT9dHITAAtnop2Tg35SVl7cbLf6CyGp+ND aUgfUNdSu8lFhyUVkxmcb97mrk6hywCaSICqFSAV+qPT0+dhSlgTBinynGM3tA3xoqTb Dudcv+usAwke9qL+wYtabsctdhHD8WuNpVFec7TGo+g76MZipZs9QSxB1NMnzIbFTZM3 fgHLfSp1/6fmnjPAy2IS3ljtcuwExj+41m6ULyjbS8aAE3WqjpeiOBhcoXjOppTRh3we hKkd1ZXifFcYz8zTunMwIE4XtuGaCerqFmIhFN/zcRqzp0yvPR8YT6udGAgAYk1tizUu TGZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761903780; x=1762508580; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k6T3njadz8MWrGgOyL8AmdjdTUwRuFPzISelkRwVdUA=; b=OpskzvcaNoqThLx6Uc5S+72XFYuYctjWv5VKnpv0+YfTTemA6SxYz/ycRfNf5Yganp k3QDwYXQU025ae6z88cs0LGRE0jwC7MT+xuhle1Rxbee/SupCVbYK2uTU9dowbOR0ycv 6ozeCEPkwc+ziTwnMBpuRNKn4wz28RB1H4QpqtMj1wngxkzV1IpqZ+yCbIsUjc4GoC17 wxrbwpOMaBra4QvxUEw4pjgL3nqPPAakI197M+qGdhuxMohuf+cTTonRbQDtAUQLWeIB R0jtcEz5/HNJwH3HFOVx8CXevYId3aWAMq5d08DWkuhI3J5oXFTTEKhtKPrl/AFMIAyq 1Mgg== X-Gm-Message-State: AOJu0YynXfKSYsTKwZRc36o/j52DHg7VVqVvqkadl1F4eQFRQ6eZRZFs KZ7lDoQEmFYonlo6Rss873MUE4WTswdaHjLUXYcPKA79uPa8SvuUCI+fk8Yz8C9r+iUXVeygJnk 2jwOhLPW2HzVbMD9qHOKp4vWDR04COZAKgA== X-Gm-Gg: ASbGncvTahcyT4KnWPjZGcfjXtRjMsqHAMGpPwSsFUQRZ3d8BhqaRdjxbUsrSbjyzWB pe7smt4vKE1AQI0EXxWW9n3vDP++wiEoAikAjqZzrJsAThqk0quYTPDmx2ysiMsgHtA3PfFDRId FWeeGpdRxXo9gGgACwoivqY/XXfm/iCEhE4W8NJL+nSutSQeu0PFXQ5zbtcmZq4ut9tzxc7fdVy fxKpwoag7TRRg3/97c8paONJqdZ+9v8XxtPfoG8HvK6Meyx2SKXFwCKfNc= X-Google-Smtp-Source: AGHT+IExwmv8UYcK5+wn+EN2VGrwR4/nNIP+jQFMIkLBMimBD2ahx8z01buBw1aSdAyasK2maTUvELuzEQwxR73ZPlk= X-Received: by 2002:a05:6870:8e07:b0:337:74c4:8f18 with SMTP id 586e51a60fabf-3dacc5d1f80mr1150437fac.6.1761903780365; Fri, 31 Oct 2025 02:43:00 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <6301b5d6e65d39f53e95ee4f9ade7632@bastelstu.be> In-Reply-To: <6301b5d6e65d39f53e95ee4f9ade7632@bastelstu.be> Date: Fri, 31 Oct 2025 09:42:48 +0000 X-Gm-Features: AWmQ_bniSxUFj-jS6182x5EJrIk1ZgASypNI0W4marwU60j1L4c-fC-JVsgfSZE Message-ID: Subject: Re: [PHP-DEV] [RFC][Discussion] Using TidyException new type for tidy extension To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000f5089e064271308c" From: devnexen@gmail.com (David CARLIER) --000000000000f5089e064271308c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Tim, On Wed, 29 Oct 2025 at 13:06, Tim D=C3=BCsterhus wrote: > Hi > > Am 2025-10-26 18:09, schrieb David CARLIER: > > https://wiki.php.net/rfc/tidyexception-for-tidy > > Thank you for the RFC. I believe moving to Exceptions for error handling > is the right thing, so I support the RFC in principle. > > However the proposal is *very* bare-bones. It would be useful to > describe which errors can currently be emitted from ext/tidy, so that we > can discuss a proper Exception hierarchy. In the PR I'm seeing just 3 > locations - are those all of them? > Yes. > > Naming-wise I wonder if we should go all the way to > `\Tidy\TidyException` (i.e. with a namespace) right away. > I would not mind going as far as to introduce a whole namespace if needs be. RFC updated. > > Best regards > Tim D=C3=BCsterhus > --000000000000f5089e064271308c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Tim,



Best regards
Tim D=C3=BCsterhus
--000000000000f5089e064271308c--