Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.mkdn

Build Status Kwalitee status GitHub issues

NAME

Perl::Critic::OTRS - A collection of handy Perl::Critic policies

VERSION

version 0.09

SYNOPSIS

Perl::Critic::OTRS is a collection of Perl::Critic policies that will help to program in the OTRS way of programming

DESCRIPTION

The rules included with the Perl::Critic::OTRS group include:

Perl::Critic::Policy::OTRS::ProhibitFetchrowHashref

Kernel::System::DB provides a method called FetchrowHashref, but this method is deprecated as this relies on DBI's fetchrow_hashref. Some users have reported problems with it on some database systems.

Perl::Critic::Policy::OTRS::ProhibitDumper

Perl::Critic::Policy::OTRS::ProhibitLocaltime

Perl::Critic::Policy::OTRS::ProhibitLowPrecedenceOps

Perl::Critic::Policy::OTRS::ProhibitOpen

Perl::Critic::Policy::OTRS::ProhibitPushISA

Perl::Critic::Policy::OTRS::ProhibitRequire

Perl::Critic::Policy::OTRS::ProhibitSomeCoreFunctions

Perl::Critic::Policy::OTRS::RequireCamelCase

Perl::Critic::Policy::OTRS::RequireParensWithMethods

Perl::Critic::Policy::OTRS::RequireTrueReturnValueForModules

WHY A COLLECTION OF OTRS POLICIES?

The policies bundled in this distributions represent the coding guideline provided by the OTRS project. It's always a good idea to program the way the project itself does.

So every programmer who is familiar with the OTRS codebase can read and follow your code.

ACKNOWLEDGMENTS

Thanks to

Development

The distribution is contained in a Git repository, so simply clone the repository

$ git clone http://github.com/reneeb/Perl-Critic-OTRS.git

and change into the newly-created directory.

$ cd Perl-Critic-OTRS

The project uses Dist::Zilla to build the distribution, hence this will need to be installed before continuing:

$ cpanm Dist::Zilla

To install the required prequisite packages, run the following set of commands:

$ dzil authordeps --missing | cpanm
$ dzil listdeps --author --missing | cpanm

The distribution can be tested like so:

$ dzil test

To run the full set of tests (including author and release-process tests), add the --author and --release options:

$ dzil test --author --release

AUTHOR

Renee Baecker info@perl-services.de

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Renee Baecker.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

About

A collection of Perl::Critic policies to program in the OTRS way.

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.