Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87135 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3204 invoked from network); 13 Jul 2015 10:52:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jul 2015 10:52:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.178 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.212.178 mail-wi0-f178.google.com Received: from [209.85.212.178] ([209.85.212.178:37637] helo=mail-wi0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/14-43998-26893A55 for ; Mon, 13 Jul 2015 06:52:18 -0400 Received: by wicmz13 with SMTP id mz13so58206775wic.0 for ; Mon, 13 Jul 2015 03:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=JV3eqLibBxObD3FQcnNfo/l418EvjEmM3TEhUbOgW7o=; b=lBrKsE325dNUixM9alZAXf5dg8+2FO5TLFyWU0ZpJX4TZxrLK3FNhAGi/8FX5LBngp 2yfEblkSMkrnXNx9xMuMpoG96w0BTt1wa4LklMOkZ04bqLuUCQgKlof0BBQqp1sotwoN 2bK7+MaM1pc0OdC9aXvqvt6qNYzhxmISluiJNO3w3JsNRdB9vHstKNQuXLdfDMwm+88O 23cGR8pE2t0dXXUx9jtoXWzq9rY6LHmCuaOG92mRsCMPsOxsbtozysGTBfZpG9uGqar0 FeCgYJS1kuiMacKHR6nBJgOJlSEaT5NuC85t5UjssKxhaNTeiZl8CbOqM9AZE1gUDZvt 2ITQ== X-Received: by 10.194.104.98 with SMTP id gd2mr61616472wjb.35.1436784734690; Mon, 13 Jul 2015 03:52:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.49.133 with HTTP; Mon, 13 Jul 2015 03:51:55 -0700 (PDT) In-Reply-To: <55A39493.6020909@lsces.co.uk> References: <55A16375.4000707@php.net> <55A220D8.3090004@gmail.com> <55A363A0.5060307@gmail.com> <55A39493.6020909@lsces.co.uk> Date: Mon, 13 Jul 2015 11:51:55 +0100 Message-ID: To: Lester Caine Cc: PHP Internals List Content-Type: multipart/alternative; boundary=089e0102f146bae387051abf83b4 Subject: Re: [PHP-DEV] PHP7 and types - and alternatives to annotation From: ocramius@gmail.com (Marco Pivetta) --089e0102f146bae387051abf83b4 Content-Type: text/plain; charset=UTF-8 Hi Lester, On 13 July 2015 at 11:36, Lester Caine wrote: > On 13/07/15 08:49, Pierre Joye wrote: > >> No, not "just" my IDE can work. IDE is just the side effect. Proper > >> > documentation does much more than that. > > It seems to go off topic. Docblocks are only slightly related to this > > thread. The same could be said about annotation (which are widely used > too). > > Coming from a background of 'traditional' php design, all of my code and > the libraries I use are documented via phpdoc style annotation which the > IDE picks up, and phpdocumentor1 produced a good API description. This > was also a GOOD basis to tidy up the various changes through PHP5.x > > Today much of the infrastructure to make that work is broken and > http://lsces.org.uk/wiki/bitweaver+documentation is a starting point at > getting the material all up to date. The original documentation had a > few errors on the log file, but http://lsces.org.uk/bwdocs2/index.html > is the version I've been working on and is listing 3300 errors in the > documentation! The next step is to work out how to address those errors, > but once again that is unproductive work so perhaps fixing the problems > with the older V1 documenter may be a better use of time? The rules > phpdocumenter2 follow seem far adrift from the original 'standard'. So > it WOULD be nice if there was an approved standard rather than these > seeming to be subject to different interpretation all the time. > > This before addressing the problems of PHP7 migration ... > > Please refer to https://github.com/php-fig/fig-standards/pull/169 Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --089e0102f146bae387051abf83b4--