Skip to content

Instantly share code, notes, and snippets.

@mtdowling
Created August 23, 2014 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtdowling/9b613158fe894e35715b to your computer and use it in GitHub Desktop.
Save mtdowling/9b613158fe894e35715b to your computer and use it in GitHub Desktop.
PHPDoc phar failure
$ wget https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.7.0/phpDocumentor.phar
--2014-08-22 17:23:24-- https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.7.0/phpDocumentor.phar
Resolving github.com... 192.30.252.131
Connecting to github.com|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://s3.amazonaws.com/github-cloud/releases/761653/f8ace192-291d-11e4-93cc-3a8d946f2e49.phar?response-content-disposition=attachment%3B%20filename%3DphpDocumentor.phar&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1408753470&Signature=heQkektTHiYFmz9AVb8Z2%2FmytQA%3D [following]
--2014-08-22 17:23:30-- https://s3.amazonaws.com/github-cloud/releases/761653/f8ace192-291d-11e4-93cc-3a8d946f2e49.phar?response-content-disposition=attachment%3B%20filename%3DphpDocumentor.phar&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1408753470&Signature=heQkektTHiYFmz9AVb8Z2%2FmytQA%3D
Resolving s3.amazonaws.com... 10.186.10.1
Connecting to s3.amazonaws.com|10.186.10.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27730242 (26M) [application/octet-stream]
Saving to: `phpDocumentor.phar'
100%[====================================================================================================================================================================>] 27,730,242 3.19M/s in 9.0s
2014-08-22 17:23:41 (2.94 MB/s) - `phpDocumentor.phar' saved [27730242/27730242]
$ php phpDocumentor.phar --help
PHP Fatal error: Uncaught exception 'JMS\Serializer\Exception\RuntimeException' with message 'You must define a type for phpDocumentor\Configuration::$title.' in phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/XmlDeserializationVisitor.php:213
Stack trace:
#0 phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/GraphNavigator.php(227): JMS\Serializer\XmlDeserializationVisitor->visitProperty(Object(JMS\Serializer\Metadata\PropertyMetadata), Object(SimpleXMLElement), Object(JMS\Serializer\DeserializationContext))
#1 phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/Serializer.php(114): JMS\Serializer\GraphNavigator->accept(Object(SimpleXMLElement), Array, Object(JMS\Serializer\DeserializationContext))
#2 phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/src/phpDocumentor/Configuration/Loader.php(11 in phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/XmlDeserializationVisitor.php on line 213
Fatal error: Uncaught exception 'JMS\Serializer\Exception\RuntimeException' with message 'You must define a type for phpDocumentor\Configuration::$title.' in phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/XmlDeserializationVisitor.php on line 213
JMS\Serializer\Exception\RuntimeException: You must define a type for phpDocumentor\Configuration::$title. in phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/XmlDeserializationVisitor.php on line 213
Call Stack:
0.1142 1920624 1. {main}() /Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar:0
0.1148 1917792 2. require('phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/bin/phpdoc') /Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar:10
0.1155 1945472 3. phpDocumentor\Bootstrap->initialize() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/bin/phpdoc:22
0.1280 3082008 4. phpDocumentor\Application->__construct() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/src/phpDocumentor/Bootstrap.php:62
0.1289 3145256 5. phpDocumentor\Application->addLogging() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/src/phpDocumentor/Application.php:68
0.1296 3265288 6. Pimple->offsetGet() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/src/phpDocumentor/Application.php:250
0.1296 3265336 7. Pimple::{closure:phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/pimple/pimple/lib/Pimple.php:122-130}() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/pimple/pimple/lib/Pimple.php:83
0.1297 3265424 8. phpDocumentor\Configuration\ServiceProvider->phpDocumentor\Configuration\{closure}() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/pimple/pimple/lib/Pimple.php:126
0.1437 5193640 9. phpDocumentor\Configuration\Loader->load() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/src/phpDocumentor/Configuration/ServiceProvider.php:84
0.1453 5445752 10. phpDocumentor\Configuration\Loader->createConfigurationObject() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/src/phpDocumentor/Configuration/Loader.php:62
0.1453 5447136 11. JMS\Serializer\Serializer->deserialize() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/src/phpDocumentor/Configuration/Loader.php:112
0.1906 5573720 12. JMS\Serializer\GraphNavigator->accept() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/Serializer.php:114
0.1972 5831672 13. JMS\Serializer\XmlDeserializationVisitor->visitProperty() phar:///Users/dowling/projects/aws-sdk-php/build/artifacts/phpDocumentor.phar/vendor/jms/serializer/src/JMS/Serializer/GraphNavigator.php:227
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment