forked from php-annotations/php-annotations
-
Notifications
You must be signed in to change notification settings - Fork 0
industrial-strength annotations for PHP
lencioni/php-annotations
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
php-annotations =============== Source code annotations for PHP. Copyright (C) 2011 Rasmus Schultz <[email protected]> Home page --------- For documentation and updates, please visit the project home page: http://code.google.com/p/php-annotations/ Project Structure ----------------- The files in this project are organized as follows: php-annotations This README and the LGPL license /Annotation Standard library of annotation classes /Cache /Standard /demo /test Unit tests for the core of the library /test.php Browser-based test suite runner /lib Unit test library /runtime Run-time cache folder used for tests /suite The test suite for the unit test framework To run the test suite, run "php-annotations/test/test.php" from a browser - a summary of the test-results will be displayed on the page. Code Style ---------- - Indentation: 2 spaces - No closing PHP tag in code-files - Allman braces [http://en.wikipedia.org/wiki/Indent_style#Allman_style] <?php namespace NameSpace; class FooBar { public $foo; protected $bar; private $_baz; const FOO_BAR = 123; public function isNull($var) { if ($var === null) return true; while (true) { return false; } } } Licensing --------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses>. Additional permission under GNU GPL version 3 section 7 If you modify this Program, or any covered work, by linking or combining it with php-annotations (or a modified version of that library), containing parts covered by the terms of the LGPL, the licensors of this Program grant you additional permission to convey the resulting work.
About
industrial-strength annotations for PHP
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 100.0%