Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005768 [Quercus] minor always 07-04-14 09:37 07-04-14 09:37
Reporter tobia View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version
  Product Build
Summary 0005768: ReflectionClass->getProperties() with an argument raises a warning
Description This affects the latest 4.0.39, but I couldn't find it in the version popup.

Calling getProperties() with a ReflectionProperty constant raises this warning:

    Warning: function 'getProperties' called with 1 arguments, but only expects 0 arguments

For example:

    ini_set("display_errors", "On");
    class MyClass {}
    new ReflectionClass('MyClass')->getProperties(ReflectionProperty::IS_PUBLIC);

This is triggered for example in Doctrine: http://www.doctrine-project.org/api/common/2.2/source-class-Doctrine.Common.Annotations.DocParser.html#445 [^]
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-04-14 09:37 tobia New Issue


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker