Showing 282 of 291 total issues
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 132 characters Open
Open
$file->setFileInfo(new SplFileInfo($templatePath, '_views', '_views'.DIRECTORY_SEPARATOR.$this->template.'.phtml'));
- 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 124 characters Open
Open
$report[$name]['execution_time'] = round(($report[$name]['FINISH_time'] - $report[$name]['START_time']), 3);
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
// If we are the last page, then Pagination will only have two pages (this and the previous one), also there will
- Exclude checks
Line exceeds 120 characters; contains 134 characters Open
Open
// @todo check to see if 'item' should be set within the view's scope; it feels weird that this is the only generator doing so
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
Open
// also update the files permalink and uid (unless its the first page). Follow up by injecting an instance of Paginator
- 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 127 characters Open
Open
$cache->setItem($f->getUid(), new CachedFile($f, $invalidation->get($f->getUid(), []), $project->sourceDirectory));
- 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 121 characters Open
Open
* Prettify the permalink. This will make /blog/categories.html into /blog/categories/index.html so that the url will
- 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 128 characters Open
Open
$templatePath = $project->sourceDirectory.DIRECTORY_SEPARATOR.'_views'.DIRECTORY_SEPARATOR.$this->template.'.phtml';
- 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 124 characters Open
Open
$this->excluded = new ExcludedFilesCollection(array_merge($configuration->get('ignore'), ['_views', '_templates']));
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
$filesystem->copy($this->file->getFileInfo()->getPathname(), $this->destinationPath.DIRECTORY_SEPARATOR.$outputPath);
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
// If we are the first page, then Pagination will only have two pages (this and the next one), also there will be
- 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 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 123 characters Open
Open
$this['destinationDirectory'] = $this['currentWorkingDirectory'].DIRECTORY_SEPARATOR.'build_'.$this['environment'];
- Exclude checks