History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ZF-3027
Type: Coding Standards Violation Coding Standards Violation
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Thomas Weidner
Reporter: Thomas Weidner
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Add an Coding Standard Testbed

Created: 02/Apr/08 04:53 PM   Updated: 13/Jan/09 02:40 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8.0

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0 minutes
Time Spent - 2 weeks
Time Spent: 2 weeks
Time Spent - 2 weeks

File Attachments: 1. Text File codingstandard.txt (4.32 Mb)
2. Text File codingstandard.txt (706 kb)
3. Zip Archive codingstandard.zip (1.04 Mb)

Issue Links:
Duplicate
 
Related
 

Tags:
Participants: Thomas Weidner


 Description  « Hide
We/I are actually adding a testbed which is testing the coding standard with PHP_CodeSniffer.
The reports can be used to fix problems on the coding standard.

Tests can be added for all possible purposes like File Endings, Namings, API Docs, Clauses and much much more.

Details can be found in the wiki within the Zend Coding Standard (RC).



 All   Comments   Work Log   Change History   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Thomas Weidner - 03/Apr/08 04:54 PM
I attached the actual result of codig standard errors in core and incubator.

Actually only 4 tests have been integrated:

  • No Windows Lineending
  • No closing Tag
  • expected linelength 100 chars, maximum linelength 120 chars
  • No Tabs

I will add other tests related to ZF Coding Standard and present the actual results for the core within here.
Please keep in mind that any change made in core has to be merged into branch !!


Thomas Weidner - 08/Apr/08 03:47 AM
Added new coding standard violation file.

A Description of executed tests can be found here:
http://framework.zend.com/wiki/display/ZFDEV/ZF+Coding+Standards+%28RC%29


Thomas Weidner - 04/May/08 09:00 AM
The actual testbed contains more than 80 different tests related to the new coding standard.

It is based in PHP_CodeSniffer 1.1.0.a but not errorfree for now. The actual results can be found in the attached codingstadard.zip file.


Thomas Weidner - 13/Jan/09 02:40 AM
We are not allowed to add a coding standard testbed without writing a proposal even if I was said in past that I don't need it.

I had to delete my existing work from incubator as wished by the Zend Dev-Team.

Feel free to download the non-finished version from my blog in a few days.