Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5768 | minor | always | 07-04-14 09:37 | 07-04-14 09:37 | |
|
|||||
Reporter: | tobia | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | |||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |