Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116553 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 46524 invoked from network); 2 Dec 2021 04:17:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Dec 2021 04:17:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DE5D5180087 for ; Wed, 1 Dec 2021 21:16:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 1 Dec 2021 21:16:50 -0800 (PST) Received: by mail-lf1-f41.google.com with SMTP id c32so68715193lfv.4 for ; Wed, 01 Dec 2021 21:16:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X4qZvIRRz17qGUcisxeOn6x6GeFvQDgucpnZPkM/hHs=; b=STbssU6hsWqjev9PZ6bC9EmIGxAsKZ7r9Sgn/yaBcU9wcgdfeXJ4GDkNPGrIs61X71 50b+I0UhDyVAbtqoryoWPuJhZVHuGZ8+jw1DKkZm4UFangXi8o3nNvMKGDlFBbPJroXW wjANk8QBgoFOxkExzSXnXFhPYp5f71voCeQ0POz+rHnQhGIGK5NkNOAsj5oXL8dyTl6c j3TSjfHHlgapkPv/llHyDtYfyGfZTgrBg9VagdGopPcUp6hD3BNdiVX3BYdl3BWLWi8t ROvegB1E/irnQxUlGirTc6uQn6lxSPI0xAVX5OpggRdkgWAviXC6tHK0dwW+hAPQ74a/ ItmQ== X-Gm-Message-State: AOAM5315ML3V2oXYC+5c9D9/WCHBjoEr/5x99TjohfzuGLFKa73zmSjV MZ8iIuAG6YXBcNCbUS37y6/DtkZ0FFTpTdKo1UaK6A== X-Google-Smtp-Source: ABdhPJyVOyOde49gfva7RJLRqP4cCfiTHZj2Tz7SxI7xsg7b50pyNWKA3e3p4GgZJoRvnCdTGbg5tEc9QxWN4HhyH5k= X-Received: by 2002:a05:6512:30d:: with SMTP id t13mr9919364lfp.305.1638422208897; Wed, 01 Dec 2021 21:16:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 1 Dec 2021 23:16:38 -0600 Message-ID: To: Brady Wetherington Cc: Dan Ackroyd , Kamil Tekiela , PHP internals Content-Type: multipart/alternative; boundary="000000000000c0fbc605d222e57d" Subject: Re: [PHP-DEV] Re: [VOTE] Deprecate dynamic properties From: pollita@php.net (Sara Golemon) --000000000000c0fbc605d222e57d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Nov 30, 2021 at 10:18 PM Brady Wetherington < bwetherington@grokability.com> wrote: > >>> =E2=80=A6It's been merged to master, so you could stand up a build no= w and > point to the many deprecation warnings you're expecting. I'm not saying > send PRs to fix them all, just show real impact rather than theoretical > guessing. =E2=80=A6 > Okay - good news/bad news/good news - > > Bad News: That's because later versions of Laravel dump all > deprecation warnings straight to /dev/null by default. If you > configure a log 'channel' for 'deprecations', *then* you get actual > results. One page load (our dashboard page) generated 267KB of > deprecation warnings. Clicking through most of the main pages of our > app generated around 3.5MB of them. And these aren't full > stack-traces, they're just messages like: > > "[2021-12-01 03:48:23] local.WARNING: Creation of dynamic property > Illuminate\Database\MySqlConnection::$readWriteType is deprecated in > > /Users/uberbrady/Documents/grokability/snipe-it/vendor/laravel/framework/= src/Illuminate/Database/Connection.php > on line 1368" > > Good News: *Many many many* of those deprecation warnings were repeats > of the same deprecated thing from the exact same place. And *very very > few* were from the dynamic properties thing. *None* of the dynamic > properties deprecations were from our code. Everything was from > composer dependencies, and only a small handful - so, probably pretty > easy to remediate when it comes to that. > > Does it look like there's any sensitive information in these log entries? You mentioned they were only in external dependencies so I'm thinking/hoping not. What I'm getting at is: Would you mind sharing those raw logs somewhere. I'm sure someone will find it a fun opportunity to make some pull requests in a variety of projects. -Sara --000000000000c0fbc605d222e57d--