fix command name in travis

This commit is contained in:
Tomas Votruba 2018-12-25 01:57:26 +01:00
parent 689155cec2
commit 2178625375
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ script:
- |
if [[ $RUN_RECTOR == true ]]; then
bin/rector process src --level symfony40 --dry-run
bin/rector docs >> rector-overview.md
bin/rector generate-docs >> rector-overview.md
fi
# Run standalone install in non-root package, ref https://github.com/rectorphp/rector/issues/732

View File

@ -96,7 +96,7 @@ final class GenerateDocsCommand extends AbstractCommand implements ContributorCo
*/
private function getProjectsRectors(): array
{
return $this->getRectorsFromDirectory([__DIR__ . '/../../../packages']);
return $this->getRectorsFromDirectory([__DIR__ . '/../../../../packages']);
}
/**
@ -121,7 +121,7 @@ final class GenerateDocsCommand extends AbstractCommand implements ContributorCo
*/
private function getGeneralRectors(): array
{
return $this->getRectorsFromDirectory([__DIR__ . '/../../../src']);
return $this->getRectorsFromDirectory([__DIR__ . '/../../../../src']);
}
private function detectGroupFromRectorClass(string $rectorClass): string