You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Derick Rethans (JIRA)" <ji...@apache.org> on 2010/12/20 17:44:02 UTC
[jira] Closed: (ZETACOMP-36) parent:: used when there is no parent
class
[ https://issues.apache.org/jira/browse/ZETACOMP-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derick Rethans closed ZETACOMP-36.
----------------------------------
Resolution: Fixed
Fixed in rev. 1051220.
> parent:: used when there is no parent class
> --------------------------------------------
>
> Key: ZETACOMP-36
> URL: https://issues.apache.org/jira/browse/ZETACOMP-36
> Project: Zeta Components
> Issue Type: Bug
> Components: TemplateTranslationTiein
> Reporter: Michael Kliewe
> Assignee: Derick Rethans
> Priority: Minor
>
> I get a failure with PHP_Depend in this method (class ezcTemplateTranslationConfiguration):
> public function __isset( $name )
> {
> switch ( $name )
> {
> case 'locale':
> case 'manager':
> return isset( $this->properties[$name] );
> default:
> return false;
> }
> // if there is no default case before:
> return parent::__isset( $name );
> }
> Following errors occured:
> 2010-12-20 18:36:07,527 [Thread-707339] INFO ScriptRunner - [exec] The parser has reached an invalid state near line "135" in file "/source/library/ezcomponents/TemplateTranslationTiein/src/configuration.php". Please check the following conditions: The keyword "parent" was used but the class "ezcTemplateTranslationConfiguration" does not declare a parent.
> So the last line is the problem, there is no parent class. And this line is unreachable, so can be deleted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.