for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the WordPress Standard project.
*
* Copyright (c) 2015-2016 LIN3S <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace AppTheme\Configuration;
use LIN3S\WPFoundation\Configuration\Menus\Menus as BaseMenus;
use LIN3S\WPFoundation\Configuration\Translations\Translations;
/**
* Final Menu class. With menus method are registered the different menus.
* @author Gorka Laucirica <[email protected]>
* @author Beñat Espiña <[email protected]>
final class Menus extends BaseMenus
{
const MENU_HEADER = 'header-menu';
* @inheritdoc}
public function menus()
__construct()
register_nav_menus([
self::MENU_HEADER => Translations::trans('Header menu')
]);
}
This check marks files that end in a newline character, i.e. an empy line.