[TYPO3-50-general] Discussion to CodingStandards

Malte Jansen mail at maltejansen.de
Fri Dec 21 17:52:55 CET 2007


Robert Lemke schrieb:
> Hi Malte,
> Am 21.12.2007 um 12:01 schrieb Malte Jansen:
>> what about
>> Abstract-Classes?
>> I have not found any thing about it. But sometimes there are pretty
>> useful...
>> Should there be some checks?
>> Should "Abstract" be mentioned in the Name?
> yes, the policy is that an abstract class must have a name starting with 
> "Abstract":
>   T3_MyPackage_AbstractFancyStuff
>> So Abstract Classes should not be loaded with the ComponentManager...
> good point. Can you create a new ticket for that?


I will add it to the CGL.

>> What about a Interface in Tests?
>> How should they look like?
>> MyPackage/Tests/T3_MyPackage_MyCheckInterfaceTest.php
>> MyPackage/Tests/T3_MyPackage_MyCheckTestInterface.php
> We never had that situation yet - can you think of any where this would 
> make sense?

I don't if it's realy needed.
Perhaps it's to far away but...

You want to check several Properity like Naming Convitions, 
Documentation and other basics.
If you don't want to forget it for Class, Function, ... you could create 
  an interface to make all Tests are done.

I would prefere



More information about the TYPO3-project-5_0-general mailing list