tapestry-cloud/tapestry

View on GitHub

Showing 282 of 291 total issues

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

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

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 165 characters
Open

            throw new \Exception('The collection ['.$this->pathLookupTable[$contentType->getPath()].'] already collects for the path ['.$contentType->getPath().']');

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

Line exceeds 120 characters; contains 206 characters
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'),

Line exceeds 120 characters; contains 129 characters
Open

        $downloadToPath = $this->scratchDirectoryPath.DIRECTORY_SEPARATOR.pathinfo($latestVersionDownloadUrl, PATHINFO_BASENAME);

Line exceeds 120 characters; contains 126 characters
Open

            // or generate an array of File's we then continue the generation with a while loop until all generators have been

Line exceeds 120 characters; contains 124 characters
Open

        // Segment $paginationItems into n segments based upon perPage and create a clone of the file with that page's items

Line exceeds 120 characters; contains 202 characters
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'];
Severity: Minor
Found in src/Profiler.php by phpcodesniffer

Line exceeds 120 characters; contains 152 characters
Open

            $project = new Project($container->get('currentWorkingDirectory'), $container->get('destinationDirectory'), $container->get('environment'));

Line exceeds 120 characters; contains 138 characters
Open

            $this->output->writeln('You already have the latest version of Tapestry ['.Tapestry::VERSION.']. Doing nothing and exiting.');

Line exceeds 120 characters; contains 148 characters
Open

     * @param bool        $overWrite   should adding overwrite existing; if false an exception will be thrown if a matching collection already found

Line exceeds 120 characters; contains 121 characters
Open

        // If the current working directory does not exist, do nothing and exit. This is often due to a borked --site-dir

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 121 characters
Open

                new InputOption('rollback', 'r', InputOption::VALUE_NONE, 'Revert to an older installation of tapestry'),

Line exceeds 120 characters; contains 147 characters
Open

            throw new InvalidConsoleInputException('There was an error while identifying the site directory, do you have read/write permissions?');
Severity: Minor
Found in src/Tapestry.php by phpcodesniffer

Line exceeds 120 characters; contains 181 characters
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'),

Line exceeds 120 characters; contains 127 characters
Open

            if ($this->definition->hasShortcut($name[0]) && $this->definition->getOptionForShortcut($name[0])->acceptValue()) {
Severity: Minor
Found in src/Console/Input.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
Severity
Category
Status
Source
Language