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\Widgets\Areas;
use LIN3S\WPFoundation\Configuration\Translations\Translations;
use LIN3S\WPFoundation\Widgets\Areas\WidgetArea;
/**
* Very basic example of widget area class. Initializes
* the widget area defined into widget area method.
* @author Gorka Laucirica <[email protected]>
* @author Beñat Espiña <[email protected]>
final class ExampleWidgetArea extends WidgetArea
{
* {@inheritdoc}
public function widgetArea()
register_sidebar([
'name' => Translations::trans('Example widgets'),
'id' => 'example-widgets',
'before_widget' => '<section class="">',
'after_widget' => '</section>',
'before_title' => '<h5>',
'after_title' => '</h5>',
]);
}
This check marks files that end in a newline character, i.e. an empy line.
This check marks files that end in a newline character, i.e. an empy line.