[TYPO3-50-general] Discussion to CodingStandards

Robert Lemke robert at typo3.org
Fri Dec 21 13:36:41 CET 2007


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?

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

Cheers,
robert


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