Contao3-Ninja / dlstats

Contao Module dlstats - Counts the number of file downloads
http://contao.ninja/download-statistik-dlstats.html
GNU Lesser General Public License v3.0
4 stars 0 forks source link

[Insight] PHP code should follow PSR-1 basic coding standard - in modules/ModuleDlstatsTag.php, line 54 #83

Closed BugBuster1701 closed 9 years ago

BugBuster1701 commented 9 years ago

in modules/ModuleDlstatsTag.php, line 54

Method names should be declared in camelCase. You should rename this method to comply with PSR-1.

     * 
     * @param string    $strTag Insert-Tag
     * @return mixed    integer on downloads, false on wrong Insert-Tag or wrong parameters
     * @access public
     */
    public function DlstatsReplaceInsertTags($strTag)
    {
        $arrTag = trimsplit('::', $strTag);
        if ($arrTag[0] != 'dlstats')
        {
            if ($arrTag[0] != 'cache_dlstats')

Posted from SensioLabsInsight