Bug 381650 - Add PSR-12 validation
Summary: Add PSR-12 validation
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 320130
Blocks:
  Show dependency tree
 
Reported: 2012-06-05 02:18 EDT by Jacek Pospychala CLA
Modified: 2020-05-14 10:17 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Pospychala CLA 2012-06-05 02:18:26 EDT
PHP Framework Interoperability group is a group of developers representing different PHP frameworks and applications, such as Zend Framework, Symfony, Drupal, Joomla and more. 

They proposed coding standard to unify how source code looks like in their frameworks. 

We could provide validation mechanisms for those coding standards, to help promote clean coding standards.

There are following specs so far:
PSR-0, 
PSR-1, “Basic Coding Standard”
PSR-2, “Coding Style Guide"

They're documented at:
https://github.com/php-fig/fig-standards/tree/master/accepted
Comment 1 Jacek Pospychala CLA 2012-06-05 02:22:35 EDT
As far as I know, PDT team is currently totally out of resources to touch this. I'd love to hack something to get the job started, but if there's anybody in the community interested, then please don't stop yourself :-)
Comment 2 Martin Eisengardt CLA 2012-07-16 05:24:36 EDT
Added backlink in pdt-extensions planning wiki and posted backlink in php-fig group. However we should first choose which codebase for formatter/refactoring to be added in pdt.
Comment 3 Nobody - feel free to take it CLA 2020-01-21 18:13:15 EST
PSR-2 was deprecated by PSR-12. Support for the latter was requested in ticket #559386.
Comment 4 Dawid Pakula CLA 2020-01-27 07:09:09 EST
I updated title. In general this task should be spliced into smaller portions.