[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 305777] New: PHP: Method/function casing ignored and reverts to lower-case
From: Andrew Udvare <audvare () gmail ! com>
Date: 2012-08-25 19:56:28
Message-ID: bug-305777-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=305777
Bug ID: 305777
Severity: normal
Version: 4.3.1
Priority: NOR
Assignee: kdevelop-bugs@kdevelop.org
Summary: PHP: Method/function casing ignored and reverts to
lower-case
Classification: Unclassified
OS: Linux
Reporter: audvare@gmail.com
Hardware: Gentoo Packages
Status: UNCONFIRMED
Component: Language Support: PHP
Product: kdevelop
Nearly all metadata grabbed by the parser is converted to lowercase. This does
not happen for C++, so why should it happen with PHP? Just because PHP does not
actually care about casing does not mean we do not use it or allow random
casing in projects. Especially with many projects switching to PSR-0 which
requires that methods, variable names be camelCase.
Reproducible: Always
Steps to Reproduce:
1. Write code like the following in a PHP project:
class A {
public function A() {
}
}
function B() {}
2. See the Classes toolview
Actual Results:
All metadata is converted to lowercase:
a
a::a
b
Expected Results:
The casing should be respected.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic