tapestry-cloud/tapestry

View on GitHub

Showing 282 of 291 total issues

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 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

        $tempFilename = dirname($this->currentPharFileName).DIRECTORY_SEPARATOR.basename($this->currentPharFileName, '.phar').'-temp.phar';

Line exceeds 120 characters; contains 124 characters
Open

    private function iterateProjectContentTypes(ContentTypeFactory $contentTypes, Project $project, OutputInterface $output)

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

            $pathName = (! empty($this->getFileInfo()->getRelativePathname())) ? $this->getFileInfo()->getRelativePathname() : $this->getFileInfo()->getPathname();
Severity: Minor
Found in src/Entities/File.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

     * Note: This Step should ALWAYS be loaded after the LoadSourceFiles step. This is because it exports $project['files']
Severity: Minor
Found in src/Modules/Api/Json.php by phpcodesniffer

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

                new InputOption('--no-write', false, InputOption::VALUE_NONE, 'When set Tapestry will build the state but not commit to the file system.'),

Line exceeds 120 characters; contains 128 characters
Open

        if ($this->input->getOption('force') === false && Comparator::greaterThanOrEqualTo(Tapestry::VERSION, $latestVersion)) {

Line exceeds 120 characters; contains 129 characters
Open

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

Line exceeds 120 characters; contains 156 characters
Open

            $this->output->writeln('Starting development server on: <info>'.$this->input->getOption('host').':'.$this->input->getOption('port').'</info>.');

Line exceeds 120 characters; contains 123 characters
Open

                new InputOption('force', 'f', InputOption::VALUE_NONE, 'Force update even if you have the latest version'),

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

                // If the page calling this generator is, itself an index then we need to strip {filename} from the $template

Line exceeds 120 characters; contains 136 characters
Open

            $file->setRendered(false);  // Set rendered to false so that within Compile.php's Execute Renderers loop it gets re-rendered

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

        // is to be used for pagination and taxonomy output where pages are generated that do not exist in the source path.
Severity
Category
Status
Source
Language