Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve first run when no tests were executed #20

Open
tyx opened this issue Jan 10, 2017 · 0 comments
Open

Improve first run when no tests were executed #20

tyx opened this issue Jan 10, 2017 · 0 comments
Milestone

Comments

@tyx
Copy link
Member

tyx commented Jan 10, 2017

I guess we can do better:

Warning: fopen(/tmp/jadd-endpoint-collection): failed to open stream: No such file or directory in /var/app/vendor/rezzza/jadd/src/Infra/Filesystem/CsvEndpointStorage.php on line 51

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /var/app/vendor/rezzza/jadd/src/Infra/Filesystem/CsvEndpointStorage.php on line 52

Fatal error: Uncaught TypeError: Argument 4 passed to Rezzza\Jadd\Domain\ApiRequest::__construct() must be of the type array, null given, called in /var/app/vendor/rezzza/jadd/src/Infra/Filesystem/CsvEndpointStorage.php on line 54 and defined in /var/app/vendor/rezzza/jadd/src/Domain/ApiRequest.php:19
Stack trace:
#0 /var/app/vendor/rezzza/jadd/src/Infra/Filesystem/CsvEndpointStorage.php(54): Rezzza\Jadd\Domain\ApiRequest->__construct(NULL, NULL, NULL, NULL, NULL)
#1 /var/app/vendor/rezzza/jadd/src/Domain/DocumentationGenerator.php(33): Rezzza\Jadd\Infra\Filesystem\CsvEndpointStorage->readAll()
#2 /var/app/vendor/rezzza/jadd/src/Ui/Cli/GenerateDoc.php(37): Rezzza\Jadd\Domain\DocumentationGenerator->generate('app/config/rout...', 'app/doc/endpoin...')
#3 /var/app/vendor/symfony/console/Command/Command.php(255): Rezzza\Jadd\Ui\Cli\GenerateDoc->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /var/app/vendor/symfony/console/Application.php(829): Symfony\Com in /var/app/vendor/rezzza/jadd/src/Domain/ApiRequest.php on line 19
@tyx tyx added this to the 1.0 milestone Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant