Req->Bug #63911 [Opn->Ver]: Ignore conflicting trait methods originationg from identical sub traits

2013-09-19 Thread gron
Edit report at https://bugs.php.net/bug.php?id=63911&edit=1 ID: 63911 Updated by: g...@php.net Reported by:bitluni at bitluni dot net Summary:Ignore conflicting trait methods originationg from identical sub traits -Status:

Bug #62537 [Opn->Ver]: Composed class has fatal error with duplicate, equal array properties

2013-09-19 Thread gron
Edit report at https://bugs.php.net/bug.php?id=62537&edit=1 ID: 62537 Updated by: g...@php.net Reported by:jeremeamia at gmail dot com Summary:Composed class has fatal error with duplicate, equal array properties -Status:

Bug #65576 [Asn]: Constructor from trait conflicts with inherited constructor

2013-08-30 Thread gron
atus: Assigned Type: Bug Package:Class/Object related Operating System: * PHP Version:5.4.19 -Assigned To:gron +Assigned To: Block user comment: N Private report: N New Comment: Without having looked into the implementation or the tests,

Bug #65419 [Opn->Ver]: Inside trait, self::class != __CLASS__

2013-08-09 Thread gron
Edit report at https://bugs.php.net/bug.php?id=65419&edit=1 ID: 65419 Updated by: g...@php.net Reported by:nicolas dot grekas+php at gmail dot com Summary:Inside trait, self::class != __CLASS__ -Status: Open +Status: Verified

Req #65303 [Opn->Nab]: Make traits more flexibile

2013-07-22 Thread gron
Edit report at https://bugs.php.net/bug.php?id=65303&edit=1 ID: 65303 Updated by: g...@php.net Reported by:thomas dot ene at gmail dot com Summary:Make traits more flexibile -Status: Open +Status: Not a bug Type:

Bug #65111 [Asn]: Calling traits directly with static properties/methods

2013-06-25 Thread gron
atus: Assigned Type: Bug Package:Class/Object related Operating System: Linux PHP Version:5.5.0 Assigned To:gron Block user comment: N Private report: N New Comment: Yes, traits are not supposed to be instantiated. However, this behavior is

Bug #62069 [Asn]: binding wrong traits if they have same name methods

2012-05-22 Thread gron
1(); $x->f2(); $x->func(); Expected result: >From T1 >From T2 >From T1 It's passed fine, however the whole traits concept is messed and not intuitive. [2012-05-20 08:41:16] larue...@php.ne

Bug #62069 [Fbk]: binding wrong traits if they have same name methods

2012-05-21 Thread gron
-- [2012-05-20 08:41:16] larue...@php.net @gron, oh, I see, thanks. [2012-05-20 07:19:52] g...@php.net @laruence it is intended behavior to have no fatal error in this case. The method of the class has preced

Bug #62069 [Asn]: binding wrong traits if they have same name methods

2012-05-20 Thread gron
itly. If the class does not define a method with that name, the conflict remains unsolved, and you will get an error. Previous Comments: [2012-05-20 04:53:35] larue...@php.net @gron, the second example is try to descrip

Req #61943 [Asn]: Trait same property conflict in class extending

2012-05-05 Thread gron
Type: Feature/Change Request Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.2 Assigned To:gron Block user comment: N Private report: N New Comment: No, I disagree with your premise. They are two different properties. Look at

Req #61943 [Opn]: Trait same property conflict in class extending

2012-05-04 Thread gron
Type: Feature/Change Request Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.2 -Assigned To: +Assigned To:gron Block user comment: N Private report: N New Comment: Hi: >From my point of view, it is not the same prope

Bug #61506 [Asn]: insteadof cause memory leak if class is not binded

2012-04-21 Thread gron
Bug Package:Scripting Engine problem Operating System: linux PHP Version:5.4.0 Assigned To:gron Block user comment: N Private report: N New Comment: Hi, thanks for identifying the problem! Another of those PHP corner cases I did not handle properly. The pro

Bug #61052 [Asn->Csd]: missing error check in trait 'insteadof' clause

2012-03-04 Thread gron
Closed Type: Bug Package:*Compile Issues Operating System: Linux PHP Version:5.4.0RC7 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every thr

Req #60911 [Asn->Csd]: Confusing error message when extending traits

2012-03-04 Thread gron
Type: Feature/Change Request Package:*General Issues Operating System: OSX 10.7.2 PHP Version:5.4.0RC6 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every t

Bug #60717 [Asn->Csd]: Order of traits in use statement can cause a fatal error

2012-03-04 Thread gron
atus: Assigned +Status: Closed Type: Bug Package:Class/Object related Operating System: Ubuntu 11.10 PHP Version:5.4.0RC5 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in

Req #61147 [Sus]: No conflict resolution for properties in traits

2012-02-26 Thread gron
Edit report at https://bugs.php.net/bug.php?id=61147&edit=1 ID: 61147 Updated by: g...@php.net Reported by:greywire at gmail dot com Summary:No conflict resolution for properties in traits Status: Suspended Type: Feature/C

Req #61147 [Opn->Sus]: No conflict resolution for properties in traits

2012-02-21 Thread gron
Edit report at https://bugs.php.net/bug.php?id=61147&edit=1 ID: 61147 Updated by: g...@php.net Reported by:greywire at gmail dot com Summary:No conflict resolution for properties in traits -Status: Open +Status: Suspended Typ

Bug #61052 [Opn]: missing error check in trait 'insteadof' clause

2012-02-12 Thread gron
Bug Package:*Compile Issues Operating System: Linux PHP Version:5.4.0RC7 -Assigned To: +Assigned To:gron Block user comment: N Private report: N New Comment: Thanks for the report!. Would classify this issue as non-critical. So, I will look into it onc

Bug #61033 [Opn->Nab]: __FUNCTION__ doesn't report correctly in alias trait methods

2012-02-09 Thread gron
Edit report at https://bugs.php.net/bug.php?id=61033&edit=1 ID: 61033 Updated by: g...@php.net Reported by:marc at easen dot co dot uk Summary:__FUNCTION__ doesn't report correctly in alias trait methods -Status: Open

Bug #61033 [Opn]: __FUNCTION__ doesn't report correctly in alias trait methods

2012-02-09 Thread gron
Edit report at https://bugs.php.net/bug.php?id=61033&edit=1 ID: 61033 Updated by: g...@php.net Reported by:marc at easen dot co dot uk Summary:__FUNCTION__ doesn't report correctly in alias trait methods Status: Open

Req #60911 [Wfx->Asn]: Confusing error message when extending traits

2012-01-31 Thread gron
Type: Feature/Change Request Package:*General Issues Operating System: OSX 10.7.2 PHP Version:5.4.0RC6 -Assigned To: +Assigned To:gron Block user comment: N Private report: N New Comment: I would still change the error message to include the hin

Bug #60837 [Ctl]: Segmentation fail, if use trait

2012-01-23 Thread gron
Edit report at https://bugs.php.net/bug.php?id=60837&edit=1 ID: 60837 Updated by: g...@php.net Reported by:piphon at gmail dot com Summary:Segmentation fail, if use trait Status: Critical Type: Bug Package:Rep

Bug #60837 [Ctl]: Segmentation fail, if use trait

2012-01-22 Thread gron
Edit report at https://bugs.php.net/bug.php?id=60837&edit=1 ID: 60837 Updated by: g...@php.net Reported by:piphon at gmail dot com Summary:Segmentation fail, if use trait Status: Critical Type: Bug Package:Rep

Bug #60837 [Fbk]: Segmentation fail, if use trait

2012-01-22 Thread gron
Edit report at https://bugs.php.net/bug.php?id=60837&edit=1 ID: 60837 Updated by: g...@php.net Reported by:piphon at gmail dot com Summary:Segmentation fail, if use trait Status: Feedback Type: Bug Package:Rep

Bug #60809 [Ctl]: TRAITS - PHPDoc Comment Style Bug

2012-01-19 Thread gron
Edit report at https://bugs.php.net/bug.php?id=60809&edit=1 ID: 60809 Updated by: g...@php.net Reported by:micronix at gmx dot net Summary:TRAITS - PHPDoc Comment Style Bug Status: Critical Type: Bug Package:*

Bug #60809 [Opn->Ctl]: TRAITS - PHPDoc Comment Style Bug

2012-01-19 Thread gron
Edit report at https://bugs.php.net/bug.php?id=60809&edit=1 ID: 60809 Updated by: g...@php.net Reported by:micronix at gmx dot net Summary:TRAITS - PHPDoc Comment Style Bug -Status: Open +Status: Critical Type:

Bug #60604 [Opn->Bgs]: ReflectionMethod::setAccessible doesn't work with methods from traits

2011-12-24 Thread gron
Edit report at https://bugs.php.net/bug.php?id=60604&edit=1 ID: 60604 Updated by: g...@php.net Reported by:php at mohiva dot com Summary:ReflectionMethod::setAccessible doesn't work with methods from traits -Status: O

Bug #60558 [ReO]: Invalid read and writes

2011-12-19 Thread gron
6:04] larue...@php.net There must be something difference between traits and class while doing inheritance, but I can't figure out, gron, plz look at this... my previous attempt failed. [2011-12-19 12:00:25] larue..

Bug #60369 [Ver->Csd]: Crash with static property in trait

2011-11-23 Thread gron
Bug Package:Class/Object related Operating System: Windows 7 PHP Version:5.4.0RC1 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change wil

Bug #60369 [Opn->Ver]: Crash with static property in trait

2011-11-23 Thread gron
Bug Package:Class/Object related Operating System: Windows 7 PHP Version:5.4.0RC1 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comments: [2011-1

Req #55613 [Opn->Sus]: Feature: Trait checks type of consuming class

2011-11-18 Thread gron
Edit report at https://bugs.php.net/bug.php?id=55613&edit=1 ID: 55613 Updated by: g...@php.net Reported by:wil dot moore at wimoore dot com Summary:Feature: Trait checks type of consuming class -Status: Open +Status: Suspended

Bug #54441 [Asn->Csd]: Traits - Visibility on alias names

2011-11-18 Thread gron
Type: Bug Package:Scripting Engine problem Operating System: Linux PHP Version:trunk-SVN-2011-04-01 (snap) Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are pack

Bug #60165 [Asn->Csd]: Overriding unexisting trait should throw/trigger the exception/error

2011-11-17 Thread gron
atus: Assigned +Status: Closed Type: Bug Package:Scripting Engine problem Operating System: Fedora 14 PHP Version:5.4.0beta2 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in

Bug #60217 [Asn->Csd]: imposing requirements in traits

2011-11-04 Thread gron
osed Type: Bug Package:Class/Object related Operating System: Ubuntu Linux 11.10 PHP Version:5.4.0beta2 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged e

Bug #60217 [Opn->Asn]: imposing requirements in traits

2011-11-04 Thread gron
Type: Bug Package:Class/Object related Operating System: Ubuntu Linux 11.10 PHP Version:5.4.0beta2 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comm

Bug #60153 [Opn->Csd]: Interface method prototypes not enforced when implementd via traits.

2011-11-01 Thread gron
atus: Open +Status: Closed Type: Bug Package:Class/Object related PHP Version:5.4.0beta2 -Assigned To: +Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of

Bug #60145 [Asn->Csd]: interface + use trait yields error for the abstract class?

2011-10-31 Thread gron
gned +Status: Closed Type: Bug Package:Scripting Engine problem Operating System: Any PHP Version:5.4.0beta2 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sou

Bug #60145 [Opn->Asn]: interface + use trait yields error for the abstract class?

2011-10-31 Thread gron
Open +Status: Assigned Type: Bug Package:Scripting Engine problem Operating System: Any PHP Version:5.4.0beta2 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comm

Bug #60173 [Asn->Csd]: Wrong message on trait instantiation

2011-10-31 Thread gron
Type: Bug Package:Scripting Engine problem PHP Version:5.4SVN-2011-10-29 (snap) Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change

Bug #60173 [Opn->Asn]: Wrong message on trait instantiation

2011-10-31 Thread gron
Type: Bug Package:Scripting Engine problem PHP Version:5.4SVN-2011-10-29 (snap) -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comments: [

Bug #55214 [->Csd]: use of __CLASS__ within trait returns trait name not class name

2011-10-17 Thread gron
atus: To be documented +Status: Closed Type: Bug Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha1 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comm

Bug #55266 [->Csd]: Traits vs Type hints

2011-10-17 Thread gron
Type: Bug Package:Class/Object related PHP Version:5.4.0alpha2 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comments: [2011-10-16 18:46:46] g...@php

Bug #55266 [Opn->]: Traits vs Type hints

2011-10-16 Thread gron
http://svn.php.net/viewvc?view=revision&revision=313640 [2011-07-23 19:08:36] g...@php.net Automatic comment from SVN on behalf of gron Revision: http://svn.php.net/viewvc/?view=revision&revision=313640 Log: Added missin

Bug #55214 [Opn->]: use of __CLASS__ within trait returns trait name not class name

2011-10-16 Thread gron
8-15 08:29:43] g...@php.net Automatic comment from SVN on behalf of gron Revision: http://svn.php.net/viewvc/?view=revision&revision=314921 Log: Addendum for patch to bug #55214: Class name was freed before method literal referring to it. # Thanks to Felipe for catching this. # The fix duplic

Bug #55554 [Opn->]: Trait methods overriding legacy constructors

2011-10-16 Thread gron
grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. [2011-10-09 11:13:03] g...@php.net Automatic comment from SVN on behalf of gron Revision: http://svn.php.net/viewvc/?

Bug #55554 [Opn->]: Trait methods overriding legacy constructors

2011-10-09 Thread gron
the report, and for helping us make PHP better. [2011-10-09 11:13:03] g...@php.net Automatic comment from SVN on behalf of gron Revision: http://svn.php.net/viewvc/?view=revision&revision=317935 Log: Fixed Bug #4

Bug #55554 [Asn->Opn]: Trait methods overriding legacy constructors

2011-10-09 Thread gron
Type: Bug Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha3 -Assigned To:gron +Assigned To: Block user comment: N Private report: N Previous Comm

Bug #55554 [->Asn]: Trait methods overriding legacy constructors

2011-10-09 Thread gron
atus: Assigned Type: Bug Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha3 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged e

Bug #55554 [Asn->]: Trait methods overriding legacy constructors

2011-10-09 Thread gron
o be documented Type: Bug Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha3 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged e

Bug #55554 [Asn->Opn]: Trait methods overriding legacy constructors

2011-10-09 Thread gron
Type: Bug Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha3 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three h

Bug #55554 [Asn]: Trait methods overriding legacy constructors

2011-09-12 Thread gron
kage:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha3 Assigned To:gron Block user comment: N Private report: N New Comment: Hi Ryan: (I wonder whether I could answer directly to those emails sent be the tracker, this here manuall

Bug #55554 [Opn->Asn]: Trait methods overriding legacy constructors

2011-09-12 Thread gron
Type: Bug -Package:*Programming Data Structures +Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha3 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comm

Bug #55524 [Asn->Csd]: Traits should not be able to extend a class

2011-08-29 Thread gron
Type: Bug Package:Scripting Engine problem PHP Version:5.4.0alpha3 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the

Bug #55524 [Asn]: Traits should not be able to extend a class

2011-08-28 Thread gron
kage:Scripting Engine problem PHP Version:5.4.0alpha3 Assigned To:gron Block user comment: N Private report: N New Comment: Checking for interface is already done. As well as checking that classes do not extend traits. I only missed checking that traits do not extend cla

Bug #55524 [Opn->Asn]: Traits should not be able to extend a class

2011-08-28 Thread gron
Type: Bug Package:Scripting Engine problem PHP Version:5.4.0alpha3 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comments: [2011-08-28 08:05:0

Bug #55424 [Opn->Csd]: Fatal error when calling a method from a trait that is defined in parent class

2011-08-15 Thread gron
rent class -Status: Open +Status: Closed Type: Bug Package:Scripting Engine problem Operating System: Ubuntu x64 11.04 PHP Version:5.4SVN-2011-08-15 (SVN) -Assigned To: +Assigned To:gron Block user comment: N Private re

Bug #55355 [Opn->Csd]: Unexpected fatal error when using abstract functions with traits

2011-08-15 Thread gron
atus: Open +Status: Closed Type: Bug Package:Class/Object related Operating System: Ubuntu 11.04 PHP Version:5.4SVN-2011-08-03 (SVN) -Assigned To: +Assigned To:gron Block user comment: N Private report: N New Com

Bug #55410 [Asn]: Apache's crash with trait in a separate file

2011-08-15 Thread gron
Bug Package:Scripting Engine problem Operating System: * PHP Version:5.4.0alpha3 -Assigned To:dmitry +Assigned To: gron Block user comment: N Private report: N New Comment: I think it was a problem with handling literals. Which would make it a dup

Bug #55382 [Asn]: Crash on GLOBALS inside traits

2011-08-15 Thread gron
kage:Unknown/Other Function Operating System: Gentoo PHP Version:5.4SVN-2011-08-08 (SVN) Assigned To:gron Block user comment: N Private report: N New Comment: I think it was a problem with handling literals. Which would make it a duplicate of https://bugs.php.net/bug.ph

Bug #55372 [Ver->Csd]: Trait fails when method parameter has a default

2011-08-15 Thread gron
atus: Closed Type: Bug Package:Class/Object related Operating System: Windows 7 PHP Version:5.4.0alpha3 Assigned To:gron Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged e

Bug #55372 [Fbk->Ver]: Trait fails when method parameter has a default

2011-08-15 Thread gron
atus: Verified Type: Bug Package:Class/Object related Operating System: Windows 7 PHP Version:5.4.0alpha3 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comm

Bug #55214 [Asn->Tbd]: use of __CLASS__ within trait returns trait name not class name

2011-07-31 Thread gron
atus: Assigned +Status: To be documented Type: Bug Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha1 -Assigned To:gron +Assigned To: Block user comment: N Private report: N New Com

Req #55266 [Asn->Tbd]: Traits vs Type hints

2011-07-23 Thread gron
Type: Feature/Change Request Package:Class/Object related PHP Version:5.4.0alpha2 -Assigned To:gron +Assigned To: Block user comment: N Private report: N New Comment: Added class_uses(..) in SPL to mirror existing class_implements(..) per http://svn.php

Bug #55214 [Opn->Asn]: use of __CLASS__ within trait returns trait name not class name

2011-07-23 Thread gron
atus: Open +Status: Assigned Type: Bug -Package:Documentation problem +Package:Scripting Engine problem Operating System: Ubuntu PHP Version:5.4.0alpha1 -Assigned To: +Assigned To:gron Block user comment: N Pri

Req #55266 [Opn->Asn]: Traits vs Type hints

2011-07-23 Thread gron
ture/Change Request Package:Class/Object related PHP Version:5.4.0alpha2 -Assigned To: +Assigned To:gron Block user comment: N Private report: N Previous Comments: [2011-07-23 07:47:4

Bug->Req #55183 [Asn->Csd]: Aliasing traits

2011-07-11 Thread gron
Type: Feature/Change Request Package:Class/Object related Operating System: Windows XP PHP Version:5.4.0alpha1 Assigned To:gron Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a