Showing 282 of 291 total issues
Line exceeds 120 characters; contains 139 characters Open
Open
throw new InvalidCurrentWorkingDirectoryException('The site directory ['.$this['currentWorkingDirectory'].'] does not exist.');
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
if (! $this->downloadFile($this->releaseApiUrl, $jsonPathName, ['Accept' => 'application/vnd.github.v3+json'])) {
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
$this->error('The project directory ['.$currentWorkingDirectory.'] is not empty. Doing nothing and exiting.');
- Exclude checks
Line exceeds 120 characters; contains 165 characters Open
Open
throw new \Exception('The collection ['.$this->pathLookupTable[$contentType->getPath()].'] already collects for the path ['.$contentType->getPath().']');
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
$this['destinationDirectory'] = $this['currentWorkingDirectory'].DIRECTORY_SEPARATOR.'build_'.$this['environment'];
- Exclude checks
Line exceeds 120 characters; contains 206 characters Open
Open
new InputOption('clean-backups', null, InputOption::VALUE_NONE, 'Delete old backups during an update. This makes the current version of tapestry the only backup available after the update'),
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
$downloadToPath = $this->scratchDirectoryPath.DIRECTORY_SEPARATOR.pathinfo($latestVersionDownloadUrl, PATHINFO_BASENAME);
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
// or generate an array of File's we then continue the generation with a while loop until all generators have been
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
// Segment $paginationItems into n segments based upon perPage and create a clone of the file with that page's items
- Exclude checks
Line exceeds 120 characters; contains 202 characters Open
Open
$report[$name]['memory_peak'] = ($report[$name]['START_memory_peak'] < $report[$name]['FINISH_memory_peak']) ? $report[$name]['FINISH_memory_peak'] : $report[$name]['START_memory_peak'];
- Exclude checks
Line exceeds 120 characters; contains 152 characters Open
Open
$project = new Project($container->get('currentWorkingDirectory'), $container->get('destinationDirectory'), $container->get('environment'));
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
Open
$this->output->writeln('You already have the latest version of Tapestry ['.Tapestry::VERSION.']. Doing nothing and exiting.');
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
* @param bool $overWrite should adding overwrite existing; if false an exception will be thrown if a matching collection already found
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
// If the current working directory does not exist, do nothing and exit. This is often due to a borked --site-dir
- Exclude checks
Line exceeds 120 characters; contains 139 characters Open
Open
$this->layoutName = (strpos('_templates', $layoutName) === false) ? '_templates'.DIRECTORY_SEPARATOR.$layoutName : $layoutName;
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
new InputOption('rollback', 'r', InputOption::VALUE_NONE, 'Revert to an older installation of tapestry'),
- Exclude checks
Line exceeds 120 characters; contains 147 characters Open
Open
throw new InvalidConsoleInputException('There was an error while identifying the site directory, do you have read/write permissions?');
- Exclude checks
Line exceeds 120 characters; contains 181 characters Open
Open
new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'),
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
Open
if ($this->definition->hasShortcut($name[0]) && $this->definition->getOptionForShortcut($name[0])->acceptValue()) {
- Exclude checks
Line exceeds 120 characters; contains 137 characters Open
Open
$output = str_replace('{slug}', $file->getData('slug', $this->sluggify($file->getData('title', $file->getFilename()))), $output);
- Exclude checks