Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95799 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68448 invoked from network); 8 Sep 2016 14:42:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2016 14:42:01 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.41 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.41 mail-wm0-f41.google.com Received: from [74.125.82.41] ([74.125.82.41:35796] helo=mail-wm0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/B0-61313-5B871D75 for ; Thu, 08 Sep 2016 10:41:59 -0400 Received: by mail-wm0-f41.google.com with SMTP id w12so39839403wmf.0 for ; Thu, 08 Sep 2016 07:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=QYZDShMjpLv+4ZQgmLs5aj8xNib3lMCB8FyIVjTRyY4=; b=J8Rz1UPeUAcJh1QP/Ntcq1BFuRFLJU1l/YLWIn0c4NU77JG2R3Ytg8dZeGvsdmibZz RFkv3TrivK5rCiMYzOVNSQw5EqqaDdxXS1kqDgPqOuj86yZBicQhbbE26MCjjY9Q7H4L uW868rjrCNFP2VtkeeYdmWuKhAIUsaHri9j5FUskL8JcN4L58k7BuyyLpT6EfBd30ztO KAQ0qYKpsjVPst1k23W0TayasRS6lPSvliULC7eNc4Pl50sWDQ1m3qutcnhoXU6sFSU2 GcOW/Fkk3F14xkGnM3hNuhUz/MaKyuE5lM3lcbF2F/6QPiWYMh2IgfmglgHtyFKdzxM8 bc3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QYZDShMjpLv+4ZQgmLs5aj8xNib3lMCB8FyIVjTRyY4=; b=gEQaRAJFn9iNsjRtWIvxFXn+E8lv2H0mWM4+XrH9iOH366AKFEUqca4LwHTK8/+lIx KE7TRBQ6UH/VI/1aBPR7SrkZ3h+ugfx/qcgxOdnCzHy69et3akK8zDT/poTR12rXLKhY L+UwB7XKrmVMkgLLrIDOeQILwjzb/4shpPG7y9j93C1gPjK6GPNIlC5+J9XyAIjO9b/y zd4EW2vhiCO2SphCwVPEFj7xX/+zajWMiNDW5nD1X8Jgind1+4Rm1IJeNBjja0FPYwuG 0uggebSI8FGHJ9nFLIOcuJ4tqcImwxuxOccB7LgX4cGqioOhVodPUY9u3r4ZMlw+voXM SFdA== X-Gm-Message-State: AE9vXwP3rt0GfnNaPsm79EoFxnvrNox7S6mrcjcIZgYVYhYaKOFWRymTAWcKtWdZ+aL/dw== X-Received: by 10.28.209.67 with SMTP id i64mr581009wmg.97.1473345715121; Thu, 08 Sep 2016 07:41:55 -0700 (PDT) Received: from [192.168.0.98] ([93.188.182.58]) by smtp.gmail.com with ESMTPSA id k2sm10002454wmg.23.2016.09.08.07.41.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Sep 2016 07:41:54 -0700 (PDT) To: internals@lists.php.net References: <04998da0-6344-0b8b-c69a-411400e340ba@lsces.co.uk> <1473323097.1378681.719308017.2139F909@webmail.messagingengine.com> <8493a9dd-1f0e-f15f-3651-0278cf25234b@lsces.co.uk> Message-ID: <1a4afa22-5ad4-d850-169a-e9f431ffd8cd@gmail.com> Date: Thu, 8 Sep 2016 15:40:01 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace withcomposer/pickle From: rowan.collins@gmail.com (Rowan Collins) On 08/09/2016 15:13, Lester Caine wrote: > bash: ./vendor/bin/phpcs: No such file or directory > Which I presume means I do need to set up some path, but currently I no > idea where 'composer global require "squizlabs/php_codesniffer=*"' has > put it? That's the directory where it goes if you *don't* use "--global": the vendor directory of the current project. The "--global" documentation refers to COMPOSER_HOME as the location it uses, which is documented here: https://getcomposer.org/doc/03-cli.md#composer-home It boils down to (I think) "~/.composer/vendor/bin/phpcs" > Currently having followed the installation guide I have things working > on a home directory. This is probably what people expect today, but I > still expect tools to be available which ever login I use ... testing > different client profiles. You could also just create a composer.json file in /usr/share somewhere and run "composer install" there. You could then make a symlink from /usr/bin/phpcs to wherever the executable is, and it would be in every user's default path as well.