mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
Merge pull request #3355 from rectorphp/docs-counter
[docs] add counter next to Rector group
This commit is contained in:
commit
862379ba49
@ -6,68 +6,68 @@
|
||||
|
||||
## Projects
|
||||
|
||||
- [Architecture](#architecture)
|
||||
- [Autodiscovery](#autodiscovery)
|
||||
- [CakePHP](#cakephp)
|
||||
- [Celebrity](#celebrity)
|
||||
- [CodeQuality](#codequality)
|
||||
- [CodingStyle](#codingstyle)
|
||||
- [DeadCode](#deadcode)
|
||||
- [Doctrine](#doctrine)
|
||||
- [DoctrineCodeQuality](#doctrinecodequality)
|
||||
- [DoctrineGedmoToKnplabs](#doctrinegedmotoknplabs)
|
||||
- [DynamicTypeAnalysis](#dynamictypeanalysis)
|
||||
- [ElasticSearchDSL](#elasticsearchdsl)
|
||||
- [FileSystemRector](#filesystemrector)
|
||||
- [Guzzle](#guzzle)
|
||||
- [JMS](#jms)
|
||||
- [Laravel](#laravel)
|
||||
- [Legacy](#legacy)
|
||||
- [MinimalScope](#minimalscope)
|
||||
- [MysqlToMysqli](#mysqltomysqli)
|
||||
- [Naming](#naming)
|
||||
- [Nette](#nette)
|
||||
- [NetteTesterToPHPUnit](#nettetestertophpunit)
|
||||
- [NetteToSymfony](#nettetosymfony)
|
||||
- [Order](#order)
|
||||
- [Oxid](#oxid)
|
||||
- [PHPOffice](#phpoffice)
|
||||
- [PHPStan](#phpstan)
|
||||
- [PHPUnit](#phpunit)
|
||||
- [PHPUnitSymfony](#phpunitsymfony)
|
||||
- [PSR4](#psr4)
|
||||
- [Performance](#performance)
|
||||
- [Phalcon](#phalcon)
|
||||
- [Php52](#php52)
|
||||
- [Php53](#php53)
|
||||
- [Php54](#php54)
|
||||
- [Php55](#php55)
|
||||
- [Php56](#php56)
|
||||
- [Php70](#php70)
|
||||
- [Php71](#php71)
|
||||
- [Php72](#php72)
|
||||
- [Php73](#php73)
|
||||
- [Php74](#php74)
|
||||
- [Php80](#php80)
|
||||
- [PhpDeglobalize](#phpdeglobalize)
|
||||
- [PhpSpecToPHPUnit](#phpspectophpunit)
|
||||
- [Polyfill](#polyfill)
|
||||
- [Privatization](#privatization)
|
||||
- [Refactoring](#refactoring)
|
||||
- [RemovingStatic](#removingstatic)
|
||||
- [Renaming](#renaming)
|
||||
- [Restoration](#restoration)
|
||||
- [SOLID](#solid)
|
||||
- [Sensio](#sensio)
|
||||
- [Shopware](#shopware)
|
||||
- [Silverstripe](#silverstripe)
|
||||
- [StrictCodeQuality](#strictcodequality)
|
||||
- [Sylius](#sylius)
|
||||
- [Symfony](#symfony)
|
||||
- [SymfonyCodeQuality](#symfonycodequality)
|
||||
- [SymfonyPHPUnit](#symfonyphpunit)
|
||||
- [Twig](#twig)
|
||||
- [TypeDeclaration](#typedeclaration)
|
||||
- [Architecture](#architecture) (4)
|
||||
- [Autodiscovery](#autodiscovery) (4)
|
||||
- [CakePHP](#cakephp) (5)
|
||||
- [Celebrity](#celebrity) (3)
|
||||
- [CodeQuality](#codequality) (53)
|
||||
- [CodingStyle](#codingstyle) (30)
|
||||
- [DeadCode](#deadcode) (40)
|
||||
- [Doctrine](#doctrine) (16)
|
||||
- [DoctrineCodeQuality](#doctrinecodequality) (2)
|
||||
- [DoctrineGedmoToKnplabs](#doctrinegedmotoknplabs) (7)
|
||||
- [DynamicTypeAnalysis](#dynamictypeanalysis) (3)
|
||||
- [ElasticSearchDSL](#elasticsearchdsl) (1)
|
||||
- [FileSystemRector](#filesystemrector) (1)
|
||||
- [Guzzle](#guzzle) (1)
|
||||
- [JMS](#jms) (2)
|
||||
- [Laravel](#laravel) (6)
|
||||
- [Legacy](#legacy) (1)
|
||||
- [MinimalScope](#minimalscope) (1)
|
||||
- [MysqlToMysqli](#mysqltomysqli) (4)
|
||||
- [Naming](#naming) (1)
|
||||
- [Nette](#nette) (11)
|
||||
- [NetteTesterToPHPUnit](#nettetestertophpunit) (3)
|
||||
- [NetteToSymfony](#nettetosymfony) (9)
|
||||
- [Order](#order) (3)
|
||||
- [Oxid](#oxid) (1)
|
||||
- [PHPOffice](#phpoffice) (14)
|
||||
- [PHPStan](#phpstan) (3)
|
||||
- [PHPUnit](#phpunit) (37)
|
||||
- [PHPUnitSymfony](#phpunitsymfony) (1)
|
||||
- [PSR4](#psr4) (2)
|
||||
- [Performance](#performance) (1)
|
||||
- [Phalcon](#phalcon) (4)
|
||||
- [Php52](#php52) (2)
|
||||
- [Php53](#php53) (2)
|
||||
- [Php54](#php54) (2)
|
||||
- [Php55](#php55) (2)
|
||||
- [Php56](#php56) (2)
|
||||
- [Php70](#php70) (18)
|
||||
- [Php71](#php71) (9)
|
||||
- [Php72](#php72) (10)
|
||||
- [Php73](#php73) (10)
|
||||
- [Php74](#php74) (15)
|
||||
- [Php80](#php80) (8)
|
||||
- [PhpDeglobalize](#phpdeglobalize) (1)
|
||||
- [PhpSpecToPHPUnit](#phpspectophpunit) (7)
|
||||
- [Polyfill](#polyfill) (2)
|
||||
- [Privatization](#privatization) (4)
|
||||
- [Refactoring](#refactoring) (2)
|
||||
- [RemovingStatic](#removingstatic) (4)
|
||||
- [Renaming](#renaming) (10)
|
||||
- [Restoration](#restoration) (3)
|
||||
- [SOLID](#solid) (11)
|
||||
- [Sensio](#sensio) (1)
|
||||
- [Shopware](#shopware) (3)
|
||||
- [Silverstripe](#silverstripe) (2)
|
||||
- [StrictCodeQuality](#strictcodequality) (1)
|
||||
- [Sylius](#sylius) (1)
|
||||
- [Symfony](#symfony) (29)
|
||||
- [SymfonyCodeQuality](#symfonycodequality) (1)
|
||||
- [SymfonyPHPUnit](#symfonyphpunit) (1)
|
||||
- [Twig](#twig) (1)
|
||||
- [TypeDeclaration](#typedeclaration) (9)
|
||||
|
||||
## Architecture
|
||||
|
||||
@ -10284,7 +10284,7 @@ Change @return types and type from static analysis to type declarations if not a
|
||||
|
||||
## General
|
||||
|
||||
- [Core](#core)
|
||||
- [Core](#core) (42)
|
||||
|
||||
## Core
|
||||
|
||||
|
@ -95,11 +95,11 @@ final class MarkdownDumpRectorsOutputFormatter
|
||||
*/
|
||||
private function printGroupsMenu(array $rectorsByGroup): void
|
||||
{
|
||||
foreach (array_keys($rectorsByGroup) as $group) {
|
||||
foreach ($rectorsByGroup as $group => $rectors) {
|
||||
$escapedGroup = str_replace('\\', '', $group);
|
||||
$escapedGroup = Strings::webalize($escapedGroup, '_');
|
||||
|
||||
$this->symfonyStyle->writeln(sprintf('- [%s](#%s)', $group, $escapedGroup));
|
||||
$this->symfonyStyle->writeln(sprintf('- [%s](#%s) (%d)', $group, $escapedGroup, count($rectors)));
|
||||
}
|
||||
|
||||
$this->symfonyStyle->newLine();
|
||||
|
Loading…
x
Reference in New Issue
Block a user