ZF-3027: Add an Coding Standard Testbed

Issue Type: Coding Standards Violation Created: 2008-04-02T16:53:21.000+0000 Last Updated: 2009-01-13T02:40:16.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Thomas Weidner (thomas) Assignee: Thomas Weidner (thomas) Tags: Related issues: - ZF-3065

Attachments: - codingstandard.txt


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).


Posted by Thomas Weidner (thomas) on 2008-04-03T16:54:03.000+0000

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 !!

Posted by Thomas Weidner (thomas) on 2008-04-08T03:47:51.000+0000

Added new coding standard violation file.

A Description of executed tests can be found here:…

Posted by Thomas Weidner (thomas) on 2008-05-04T09:00:32.000+0000

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 file.

Posted by Thomas Weidner (thomas) on 2009-01-13T02:40:13.000+0000

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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.