tapestry-cloud/tapestry

View on GitHub

Showing 282 of 291 total issues

Line exceeds 120 characters; contains 123 characters
Open

            // Kick off the generation with the first generator. Because File generators can either mutate the current File

Line exceeds 120 characters; contains 132 characters
Open

                $file->setFileInfo(new SplFileInfo($templatePath, '_views', '_views'.DIRECTORY_SEPARATOR.$this->template.'.phtml'));
Severity: Minor
Found in src/Entities/ContentType.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

        $output = str_replace('{slug}', $file->getData('slug', $this->sluggify($file->getData('title', $file->getFilename()))), $output);
Severity: Minor
Found in src/Entities/Permalink.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

                $report[$name]['execution_time'] = round(($report[$name]['FINISH_time'] - $report[$name]['START_time']), 3);
Severity: Minor
Found in src/Profiler.php by phpcodesniffer

Line exceeds 120 characters; contains 125 characters
Open

            // If we are the last page, then Pagination will only have two pages (this and the previous one), also there will

Line exceeds 120 characters; contains 134 characters
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

Line exceeds 120 characters; contains 127 characters
Open

        // also update the files permalink and uid (unless its the first page). Follow up by injecting an instance of Paginator

Line exceeds 120 characters; contains 148 characters
Open

            $output->writeln('[+] File ['.$file->getFileInfo()->getRelativePathname().'] bucketed into content type ['.$contentType->getName().']');

Line exceeds 120 characters; contains 127 characters
Open

            $cache->setItem($f->getUid(), new CachedFile($f, $invalidation->get($f->getUid(), []), $project->sourceDirectory));

Line exceeds 120 characters; contains 139 characters
Open

            throw new InvalidCurrentWorkingDirectoryException('The site directory ['.$this['currentWorkingDirectory'].'] does not exist.');
Severity: Minor
Found in src/Tapestry.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

     * Prettify the permalink. This will make /blog/categories.html into /blog/categories/index.html so that the url will
Severity: Minor
Found in src/Entities/Permalink.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

        if (! $this->downloadFile($this->releaseApiUrl, $jsonPathName, ['Accept' => 'application/vnd.github.v3+json'])) {

Line exceeds 120 characters; contains 128 characters
Open

            $templatePath = $project->sourceDirectory.DIRECTORY_SEPARATOR.'_views'.DIRECTORY_SEPARATOR.$this->template.'.phtml';
Severity: Minor
Found in src/Entities/ContentType.php by phpcodesniffer

Line exceeds 120 characters; contains 122 characters
Open

            $this->error('The project directory ['.$currentWorkingDirectory.'] is not empty. Doing nothing and exiting.');

Line exceeds 120 characters; contains 124 characters
Open

        $this->excluded = new ExcludedFilesCollection(array_merge($configuration->get('ignore'), ['_views', '_templates']));

Line exceeds 120 characters; contains 125 characters
Open

        $filesystem->copy($this->file->getFileInfo()->getPathname(), $this->destinationPath.DIRECTORY_SEPARATOR.$outputPath);

Line exceeds 120 characters; contains 125 characters
Open

            // If we are the first page, then Pagination will only have two pages (this and the next one), also there will be

Line exceeds 120 characters; contains 139 characters
Open

            $this->layoutName = (strpos('_templates', $layoutName) === false) ? '_templates'.DIRECTORY_SEPARATOR.$layoutName : $layoutName;
Severity: Minor
Found in src/Plates/Template.php by phpcodesniffer

Line exceeds 120 characters; contains 128 characters
Open

                $report[$name]['memory_consumption'] = $report[$name]['FINISH_memory_use'] - $report[$name]['START_memory_use'];
Severity: Minor
Found in src/Profiler.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

        $this['destinationDirectory'] = $this['currentWorkingDirectory'].DIRECTORY_SEPARATOR.'build_'.$this['environment'];
Severity: Minor
Found in src/Tapestry.php by phpcodesniffer
Severity
Category
Status
Source
Language