Contao3-Ninja / contao_grid_16_columns

Adds a responsive 16-column pixel/percental grid with 1120px/1140px in the layout css-framework
GNU Lesser General Public License v3.0
2 stars 0 forks source link

[Insight] PHP code should follow PSR-1 basic coding standard - in system/modules/…/classes/Grid1140Dca.php, line 66 #13

Closed BugBuster1701 closed 9 years ago

BugBuster1701 commented 9 years ago

in system/modules/grid_16_columns/classes/Grid1140Dca.php, line 66

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


    /**
     * Hook loadDataContainer
     * @param string $strName    dca
     */
    public function LoadDataContainerGrid1140($strName)
    {
        if ($strName == 'tl_layout')
        {
            //add the new css files
            array_push($GLOBALS['TL_DCA']['tl_layout']['fields']['framework']['options'], 'grid-1140-16-percent.css', 'grid-1140-16-percent-responsive.css', 'grid-1120-16-pixel.css', 'grid-1120-16-pixel-responsive.css');

Posted from SensioLabsInsight