Doc #80060 [NEW]: Use PSR coding guidelines in PHP.net docs (instead of PEAR-CS)

From: Date: Fri, 04 Sep 2020 12:25:45 +0000
Subject: Doc #80060 [NEW]: Use PSR coding guidelines in PHP.net docs (instead of PEAR-CS)
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17863@lists.php.net to get a copy of this message
From:             t dot motylewski at gmail dot com
Operating system: 
PHP version:      Irrelevant
Package:          Documentation problem
Bug Type:         Documentation Problem
Bug description:Use PSR coding guidelines in PHP.net docs (instead of PEAR-CS)

Description:
------------
Right now (as stated here: http://doc.php.net/tutorial/style.php) the
code style used in PHP documentation is PEAR-CS
https://pear.php.net/manual/en/coding-standards.php

PEAR-CS covers much less of the PHP language capabilities than
PSR-1,2,12, it has much smaller adoption and PEAR in general looks
unmaintained.

I suggest that the new coding standard for PHP docs should be PSR.





-- 
Edit bug report at https://bugs.php.net/bug.php?id=80060&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80060&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80060&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80060&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80060&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80060&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80060&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80060&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80060&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80060&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80060&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80060&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80060&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80060&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80060&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80060&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80060&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80060&r=mysqlcfg


Thread (4 messages)

« previous php.doc.bugs (#17863) next »