mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
fix command name in travis
This commit is contained in:
parent
689155cec2
commit
2178625375
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user