Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.
Literal arrays are omitted.
| File | Count | Expression |
|---|---|---|
| /dev-tools/src/Readme/ReadmeCommand.php:59 | 1 | \implode("\n", [$this->badge('Latest stable version', \sprintf('%s/packagist/v/%s.svg?label=current%%20version', self::SHIELDS_HOST, $this->composer( )->name), \sprintf('https://packagist.org/packages/%s', $this->composer( )->name)), $this->badge('PHP version', \sprintf('%s/packagist/php-v/%s.svg', self::SHIELDS_HOST, $this->composer( )->name), 'https://php.net'), $this->badge('License', \sprintf('%s/github/license/%s.svg', self::SHIELDS_HOST, $this->composer( )->name), 'LICENSE'), $this->badge('Repository size', \sprintf('https://github-size-badge.herokuapp.com/%s.svg', $this->composer( )->name)), $this->badge('Last commit', \sprintf('%s/github/last-commit/%s.svg', self::SHIELDS_HOST, $this->composer( )->name), \sprintf('https://github.com/%s/commits', $this->composer( )->name)), '', $this->badge('CI Status', \sprintf('https://github.com/%s/workflows/CI/badge.svg?branch=master&event=push', $this->composer( )->name), \sprintf('https://github.com/%s/actions', $this->composer( )->name)), $this->badge('Code coverage', \sprintf('%s/coveralls/github/%s/master.svg', self::SHIELDS_HOST, $this->composer( )->name), \sprintf('https://coveralls.io/github/%s?branch=master', $this->composer( )->name)), $this->badge('Tests', \sprintf('%s/badge/tests-%d-brightgreen.svg', self::SHIELDS_HOST, $this->numberOfTests( ))), $this->badge('Mutation testing badge', \sprintf('https://badge.stryker-mutator.io/github.com/%s/master', $this->composer( )->name), 'https://stryker-mutator.github.io'), $this->badge(if($a['type'] === 'method' && $a['visibility'] === 'public' && $b['type'] === 'method' && $b['visibility'] === 'public' && isset($a['name'], $b['name'])) { /**/ } |
| /src/Fixer/NoDoctrineMigrationsGeneratedCommentFixer.php:77 | 1 | if(\strpos($token->getContent( ), 'Auto-generated Migration: Please modify to your needs!') === false && \strpos($token->getContent( ), 'this up() migration is auto-generated, please modify it to your needs') === false && \strpos($token->getContent( ), 'this down() migration is auto-generated, please modify it to your needs') === false) { /**/ } |