summaryrefslogtreecommitdiffstats
path: root/perl-install
ModeNameSize
-rw-r--r--.cvsignore54logstatsplain
-rw-r--r--.perl_checker166logstatsplain
-rw-r--r--ChangeLog1837273logstatsplain
-rw-r--r--Makefile9922logstatsplain
-rw-r--r--Makefile.config1561logstatsplain
-rw-r--r--Makefile.drakxtools2940logstatsplain
d---------Newt304logstatsplain
d---------Xconfig565logstatsplain
-rw-r--r--any.pm36011logstatsplain
-rw-r--r--apps.net_monitor73logstatsplain
-rw-r--r--authentication.pm8280logstatsplain
-rw-r--r--bootloader.pm38317logstatsplain
-rw-r--r--c.pm352logstatsplain
d---------c431logstatsplain
-rw-r--r--class_discard.pm189logstatsplain
-rwxr-xr-xcommands394logstatsplain
-rw-r--r--commands.pm13917logstatsplain
-rw-r--r--common.pm7433logstatsplain
-rw-r--r--crypto.pm5524logstatsplain
-rw-r--r--detect_devices.pm27133logstatsplain
-rw-r--r--devices.pm7206logstatsplain
d---------diskdrake278logstatsplain
-rw-r--r--do_pkgs.pm5739logstatsplain
-rw-r--r--drakxtools.spec117291logstatsplain
-rw-r--r < class='ls-blob pm' href='/software/drakx/tree/perl-install/fs.pm?h=2.65&id=a327af363f1b0b10f1a6332da1ad62e52598f237'>fs.pm28993log { $tags[$match[1]] = array(); } $tags[$match[1]][] = array($match[2], $i); } } // Check that the first and last line is empty if (trim($tokens[$start + 1]['content']) !== '*') { $message = 'The first file comment line should be empty.'; $phpcsFile->addWarning($message, ($start + 1)); } if (trim($tokens[$end - 1]['content']) !== '*') { $message = 'The last file comment line should be empty.'; $phpcsFile->addWarning($message, $end - 1); } //$this->processPackage($phpcsFile, $start, $tags); //$this->processVersion($phpcsFile, $start, $tags); $this->processCopyright($phpcsFile, $start, $tags); $this->processLicense($phpcsFile, $start, $tags); } /** * Checks that the tags array contains a valid package tag * * @param PHP_CodeSniffer_File $phpcsFile The context source file instance. * @param integer The stack pointer for the first comment token. * @param array(string=>array) $tags The found file doc comment tags. * * @return null */ protected function processPackage(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags) { if (!isset($tags['package'])) { $message = 'Missing require @package tag in file doc comment.'; $phpcsFile->addError($message, $ptr); } else if (preg_match('/^([\w]+)$/', $tags['package'][0]) === 0) { $message = 'Invalid content found for @package tag.'; $phpcsFile->addWarning($message, $tags['package'][1]); } } /** * Checks that the tags array contains a valid version tag * * @param PHP_CodeSniffer_File $phpcsFile The context source file instance. * @param integer The stack pointer for the first comment token. * @param array(string=>array) $tags The found file doc comment tags. * * @return null */ protected function processVersion(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags) { if (!isset($tags['version'])) { $message = 'Missing require @version tag in file doc comment.'; $phpcsFile->addError($message, $ptr); } else if (preg_match('/^\$Id:[^\$]+\$$/', $tags['version'][0]) === 0) { $message = 'Invalid content found for @version tag, use "$Id: $".'; $phpcsFile->addError($message, $tags['version'][1]); } } /** * Checks that the tags array contains a valid copyright tag * * @param PHP_CodeSniffer_File $phpcsFile The context source file instance. * @param integer The stack pointer for the first comment token. * @param array(string=>array) $tags The found file doc comment tags. * * @return null */ protected function processCopyright(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags) { $copyright = '(c) phpBB Limited <https://www.phpbb.com>'; if (!isset($tags['copyright'])) { $message = 'Missing require @copyright tag in file doc comment.'; $phpcsFile->addError($message, $ptr); } else if ($tags['copyright'][0][0] !== $copyright) { $message = 'Invalid content found for the first @copyright tag, use "' . $copyright . '".'; $phpcsFile->addError($message, $tags['copyright'][0][1]); } } /** * Checks that the tags array contains a valid license tag * * @param PHP_CodeSniffer_File $phpcsFile The context source file instance. * @param integer The stack pointer for the first comment token.atsplain
-rw-r--r--lang.pm53087logstatsplain
-rw-r--r--list.sparc2771logstatsplain
-rw-r--r--log.pm1366logstatsplain
-rw-r--r--loopback.pm3426logstatsplain
-rw-r--r--lvm.pm3931logstatsplain
-rw-r--r--modules.pm12636logstatsplain
d---------modules83logstatsplain
-rw-r--r--mouse.pm19320logstatsplain
d---------network532logstatsplain
-rw-r--r--pam.net_monitor225logstatsplain
-rw-r--r--partition_table.pm30849logstatsplain
d---------partition_table277logstatsplain
d---------patch460logstatsplain
-rwxr-xr-xperl2etags154logstatsplain
d---------pixmaps2290logstatsplain
-rw-r--r--pkgs.pm41606logstatsplain
d---------printer405logstatsplain
-rw-r--r--raid.pm4545logstatsplain
d---------resize_fat531logstatsplain
-rw-r--r--run_program.pm3894logstatsplain
d---------sbus_probing35logstatsplain
-rwxr-xr-xscanner.pm19591logstatsplain
d---------security179logstatsplain
-rw-r--r--services.pm17030logstatsplain
d---------share1672logstatsplain
-rw-r--r--standalone.pm10377logstatsplain
d---------standalone1645logstatsplain
-rw-r--r--steps.pm2356logstatsplain
-rw-r--r--swap.pm668logstatsplain
-rw-r--r--timezone.pm7884logstatsplain
-rw-r--r--ugtk2.pm57320logstatsplain
d---------unused288logstatsplain
-rwxr-xr-xverify_c303logstatsplain
-rw-r--r--wizards.pm7821logstatsplain