Showing 282 of 291 total issues
Line exceeds 120 characters; contains 147 characters Open
Open
throw new LockException('Tapestry is already running; please wait for the previous process to complete or delete the .lock file.');
- 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 139 characters Open
Open
throw new InvalidCurrentWorkingDirectoryException('The site directory ['.$this['currentWorkingDirectory'].'] does not exist.');
- 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 123 characters Open
Open
// Kick off the generation with the first generator. Because File generators can either mutate the current File
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
// is to be used for pagination and taxonomy output where pages are generated that do not exist in the source path.
- 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 123 characters Open
Open
* Note: This Step should ALWAYS be loaded after the LoadSourceFiles step. This is because it exports $project['files']
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
$output->writeln('[+] File ['.$file->getFileInfo()->getRelativePathname().'] bucketed into content type ['.$contentType->getName().']');
- 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 139 characters Open
Open
$this->layoutName = (strpos('_templates', $layoutName) === false) ? '_templates'.DIRECTORY_SEPARATOR.$layoutName : $layoutName;
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
Open
new InputOption('--json', false, InputOption::VALUE_NONE, 'Output a json file containing the current build state.'),
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
new InputOption('force', 'f', InputOption::VALUE_NONE, 'Force update even if you have the latest version'),
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
Open
if ($this->input->getOption('force') === false && Comparator::greaterThanOrEqualTo(Tapestry::VERSION, $latestVersion)) {
- Exclude checks
Line exceeds 120 characters; contains 155 characters Open
Open
$output->writeln('Generating site from <comment>'.$project->sourceDirectory.'</comment> to <comment>'.$project->destinationDirectory.'</comment>');
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
private function iterateProjectContentTypes(ContentTypeFactory $contentTypes, Project $project, OutputInterface $output)
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
Open
$report[$name]['memory_consumption'] = $report[$name]['FINISH_memory_use'] - $report[$name]['START_memory_use'];
- 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 137 characters Open
Open
$output = str_replace('{slug}', $file->getData('slug', $this->sluggify($file->getData('title', $file->getFilename()))), $output);
- 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