Task #678
Apply PHP5 namespaces
Status: | CLOSED | Start date: | 11/23/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Sigma |
Associated revisions
Replaced extended class names with namespaced class names. Refs #678 - Apply PHP5 namespaces
Support for namespaces in class autoloader. Refs #678 - Apply PHP5 namespaces
Added namespace declarations. Refs #678 Apply PHP5 namespaces
Tweaked absolute namespace names. Refs #678 - Apply PHP5 namespaces
Renamed "Abstract" module class name to AbstractModule. Refs #678
"abstract" is a PHP reserved keyword.
Renamed Renderer\Abstract class into Renderer\AbstractRenderer. Refs #678
- Substituted Abstract with Xhtml in typed arguments
Fixed global namespace .. Refs #678.
Fixed some global namespace references. Refs #678..
Fixed ArrayObject User\Plugin loadChildren().. Refs #678
Fixed Nethgui/Widget package . Refs #678
Renamed Widget/Xhtml into Widget/XhtmlWidget to avoid name clashes. Refs #678
Other namespace issues fixed. Refs #678
Help: fixed help file name parsing. Refs #678 - Apply PHP5 namespaces
Removed all @package and @subpackage annotations. Refs #678 - Apply PHP5 namespaces
Added license notice in any namespaced script. Refs #678.
- Added missing User plugin Ssh
Changed API generator to PEAR PHP_UML package. Refs #678
- Support for namespaces
- See http://pear.php.net/manual/en/package.php.php-uml.php
Fixed Test namespaces. Refs #678
All tests green. Refs #678 - Apply PHP5 namespaces
Removed @ignore and @internal annotations. Refs #678
Fixed Exception types and throw statements. Refs #678
All exception $code argument set to Unix timestamp. See http://flow3.typo3.org/documentation/codingguidelines/php.html#throwing-an-exception
Removed `NETHGUI_` constants. Refs #678
View: fixed url generators; all tests green. Refs #678 - Apply PHP5 namespaces
History
#1 Updated by Davide Principi over 9 years ago
- File nsapply.awk added
- File nethgui_ns.sed added
#2 Updated by Davide Principi over 9 years ago
- File license.awk added
- File nsprefix.awk added
- File fixtest.awk added
#3 Updated by Davide Principi over 9 years ago
emacs php-mode
namespace-compatible
#4 Updated by Davide Principi over 9 years ago
- Status changed from ON_DEV to CLOSED