Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95789 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25553 invoked from network); 8 Sep 2016 11:44:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2016 11:44:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=daniel@honestempire.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=daniel@honestempire.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain honestempire.com designates 66.111.4.28 as permitted sender) X-PHP-List-Original-Sender: daniel@honestempire.com X-Host-Fingerprint: 66.111.4.28 out4-smtp.messagingengine.com Received: from [66.111.4.28] ([66.111.4.28:59043] helo=out4-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/38-36123-D0F41D75 for ; Thu, 08 Sep 2016 07:44:14 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AAE442060B for ; Thu, 8 Sep 2016 07:44:10 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute4.internal (MEProxy); Thu, 08 Sep 2016 07:44:10 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=honestempire.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=46Jak0IMhx9Sbu3psqit0gJ4IfY=; b=VJHOuK BAP8fnl3RIEmN+ZgRM0eL0C3uK9cTHdhVcfto7IUhyBzCHupepX67fA3zhbmTSal ATs9cNakpv8yttnlOQdFFkyTfh0CB/Cpcz3ma9IfPlisgyNrwC+TI/RqEwYg7jk/ IE+EGGK8A9fWi59clEKL6zlO3AwM2+m71C1FU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=46Jak0IMhx9Sbu3 psqit0gJ4IfY=; b=CMJ1ysw8M3Jj+CQab8nvX7Xc9GZAuQH5sOK4o8PwaIu8/Hs IJBstA1lVHx7x6Bo7fVgTvLfP3/3/CgkGdCaoOn9qNVwaa7KhfNn0BOYdG7q9MG0 cgxC/EXi/SWdGHDvorN4oiTwzRQT5C/14MmaWmY1wrpcrJITKaqGvYJ7ZLoo= Received: by mailuser.nyi.internal (Postfix, from userid 99) id 812B8CC80A; Thu, 8 Sep 2016 07:44:10 -0400 (EDT) Message-ID: <1473335050.1418268.719460889.354DDF33@webmail.messagingengine.com> X-Sasl-Enc: ZvR8fCO4JSceyhU92g+5CjsQEz9MTTy0vps4kNMetOJl 1473335050 To: internals@lists.php.net MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-fa733828 Date: Thu, 08 Sep 2016 12:44:10 +0100 In-Reply-To: <8493a9dd-1f0e-f15f-3651-0278cf25234b@lsces.co.uk> References: <04998da0-6344-0b8b-c69a-411400e340ba@lsces.co.uk> <1473323097.1378681.719308017.2139F909@webmail.messagingengine.com> <8493a9dd-1f0e-f15f-3651-0278cf25234b@lsces.co.uk> Subject: Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle From: daniel@honestempire.com (Daniel Morris) On Thu, 8 Sep 2016, at 11:35 AM, Lester Caine wrote: > I know this is a problem for PHP_CodeSniffer to rework it's > documentation, but it is a chicken and egg. PEAR provides a framework to > store things like PHP_CodeSniffer in the common area away from our web > folders. A similar set of guidelines to install via composer are needed > as an alternative and those are not currently in place? The point I > think here is that removing the built in installer for one off users is > what is being discussed and that should only happen if there is an > alternative. While composer can be used as an alternative, is it really > the best alternative for a simple built in loader? Most people develop and host in different environments, when installing a package via composer for development purposes, you simply add it to the require-dev section of composer.json and run: "composer install", when it's time to deploy to the production environment, do "composer install --no-dev" and it will not install development dependencies, so PHP_CodeSniffer will not exist in any of your web folders. It wouldn't even matter for most if they didn't skip the development dependencies in production, since the vendor directory should live outside of the web root. Most packages that are actively maintained would have moved to Composer/Packagist by now, those that are still requiring installation via PEAR are probably not updated as frequently, and likely are still using styles and patterns from the PHP 4 era. -- Daniel Morris daniel@honestempire.com