Generate API documentation alpha

Cloud based service which generates API documentation for your GitHub based project using the great documentation generator ApiGen.

Status of WooCommerce (woothemes/woocommerce)

Command: php -dmemory_limit=1024M /var/www/projects/apigen/apigen/apigen.php -s '/var/www/projects/apigen/repos/woothemes/woocommerce/' -d '/var/www/projects/apigen/doc-progress/woothemes/woocommerce' --charset=auto --download --debug --colors=no --progressbar=yes
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/newrelic.so' - /usr/lib/php5/20131226/newrelic.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/newrelic.so' - /usr/lib/php5/20131226/newrelic.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Deprecated:  iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in .../apigen/vendor/Nette/Nette/loader.php on line 30
ApiGen 3.0dev
-------------
Scanning .../repos/woothemes/woocommerce
[===============================================================>] 100.00% 170MB
Found 24 errors

1. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-authentication.php.

There were following reasons for this exception:
Class WC_API_Authentication was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-authentication.php).

2. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-customers.php.

There were following reasons for this exception:
Class WC_API_Customers was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-customers.php).

3. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-coupons.php.

There were following reasons for this exception:
Class WC_API_Coupons was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-coupons.php).

4. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-json-handler.php.

There were following reasons for this exception:
Class WC_API_JSON_Handler was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-json-handler.php).

5. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-products.php.

There were following reasons for this exception:
Class WC_API_Products was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-products.php).

6. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-server.php.

There were following reasons for this exception:
Class WC_API_Server was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-server.php).

7. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-resource.php.

There were following reasons for this exception:
Class WC_API_Resource was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-resource.php).

8. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/interface-wc-api-handler.php.

There were following reasons for this exception:
Class WC_API_Handler was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/interface-wc-api-handler.php).

9. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-orders.php.

There were following reasons for this exception:
Class WC_API_Orders was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-orders.php).

10. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v1/class-wc-api-reports.php.

There were following reasons for this exception:
Class WC_API_Reports was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-reports.php).

11. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-products.php.

There were following reasons for this exception:
Class WC_API_Products was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-products.php).

12. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-customers.php.

There were following reasons for this exception:
Class WC_API_Customers was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-customers.php).

13. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-exception.php.

There were following reasons for this exception:
Class WC_API_Exception was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-exception.php).

14. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-coupons.php.

There were following reasons for this exception:
Class WC_API_Coupons was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-coupons.php).

15. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-resource.php.

There were following reasons for this exception:
Class WC_API_Resource was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-resource.php).

16. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-server.php.

There were following reasons for this exception:
Class WC_API_Server was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-server.php).

17. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-authentication.php.

There were following reasons for this exception:
Class WC_API_Authentication was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-authentication.php).

18. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-json-handler.php.

There were following reasons for this exception:
Class WC_API_JSON_Handler was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-json-handler.php).

19. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/interface-wc-api-handler.php.

There were following reasons for this exception:
Class WC_API_Handler was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/interface-wc-api-handler.php).

20. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-reports.php.

There were following reasons for this exception:
Class WC_API_Reports was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-reports.php).

21. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-webhooks.php.

There were following reasons for this exception:
Class WC_API_Webhooks was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-webhooks.php).

22. There was an error processing the file .../repos/woothemes/woocommerce/includes/api/legacy/v3/class-wc-api-orders.php.

There were following reasons for this exception:
Class WC_API_Orders was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/api/legacy/v2/class-wc-api-orders.php).

23. There was an error processing the file .../repos/woothemes/woocommerce/includes/libraries/action-scheduler/tests/phpunit/deprecated/ActionScheduler_UnitTestCase.php.

There were following reasons for this exception:
Class ActionScheduler_UnitTestCase was redeclared (previously declared in file .../repos/woothemes/woocommerce/includes/libraries/action-scheduler/tests/ActionScheduler_UnitTestCase.php).

24. The TokenReflection library threw an exception while parsing the file .../repos/woothemes/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wcSystemStatus.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Unexpected token found." was the T_PRINT token (line 24) in the following part of the source code:

 12:
 13: 	protected $store;
 14:
 15: 	function __construct( $store ) {
 16: 		$this->store = $store;
 17: 	}
 18:
 19: 	/**
 20: 	 * Display action data, including number of actions grouped by status and the oldest & newest action in each status.
 21: 	 *
 22: 	 * Helpful to identify issues, like a clogged queue.
 23: 	 */
*24: 	public function print() {
 25: 		$action_counts     = $this->store->action_counts();
 26: 		$status_labels     = $this->store->get_status_labels();
 27: 		$oldest_and_newest = $this->get_oldest_and_newest( array_keys( $status_labels ) );
 28:
 29: 		$this->get_template( $status_labels, $action_counts, $oldest_and_newest );
 30: 	}

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionMethod.php(695): TokenReflection\ReflectionFunctionBase->parseReturnsReference(Object(TokenReflection\Stream\StringStream))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(121): TokenReflection\ReflectionMethod->parse(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionClass))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionClass))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionClass))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionClass.php(1839): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionClass))
#5 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionClass->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFileNamespace))
#6 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFileNamespace))
#7 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFileNamespace))
#8 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFileNamespace.php(299): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFileNamespace))
#9 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#10 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#11 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#12 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(121): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#13 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#14 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#15 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n\n/**\n * C...', '/var/www/projec...')
#16 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#17 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#18 .../apigen/apigen.php(50): ApiGen\Application->run()
#19 {main}

Found 670 classes, 0 constants, 847 functions and other 14 used PHP internal classes
Documentation for 661 classes, 0 constants, 736 functions and other 14 used PHP internal classes will be generated
Generating to directory .../doc-progress/woothemes/woocommerce
[===============================================================>] 100.00% 297MB
Done. Total time: 7 min 44 sec, used: 321 MB RAM