chore: lint
This commit is contained in:
parent
ce41cd8353
commit
a2d9609e5d
13 changed files with 22 additions and 16 deletions
|
@ -14,6 +14,7 @@
|
|||
*/
|
||||
|
||||
namespace footnotes\admin\layout;
|
||||
|
||||
use footnotes\includes as Includes;
|
||||
|
||||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-init.php';
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
*/
|
||||
|
||||
namespace footnotes\admin\layout;
|
||||
|
||||
use footnotes\includes as Includes;
|
||||
|
||||
/**
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
*/
|
||||
|
||||
namespace footnotes\admin\layout;
|
||||
|
||||
use footnotes\includes as Includes;
|
||||
|
||||
/**
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
namespace footnotes;
|
||||
|
||||
|
||||
// If this file is called directly, abort.
|
||||
if ( ! defined( 'WPINC' ) ) {
|
||||
die;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* footnotes\includes: Activator class
|
||||
* Includes: Activator class
|
||||
*
|
||||
* `footnotes\includes` consists of functionality that is shared across both
|
||||
* the admin- and the public-facing sides of the plugin.
|
||||
*
|
||||
* The primary entry point is {@see Footnotes}, which uses {@see Loader}
|
||||
* to initialise {@see i18n} for internationalization, {@see Admin\Admin} for
|
||||
* admin-specific functionality and {@see General\General} for public-facing
|
||||
* to initialise {@see i18n} for internationalization, {@see Admin\Admin} for
|
||||
* admin-specific functionality and {@see General\General} for public-facing
|
||||
* functionality.
|
||||
*
|
||||
* It also includes various utility classes:
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* footnotes\includes: Config class
|
||||
* Includes: Config class
|
||||
*
|
||||
* `footnotes\includes` consists of functionality that is shared across both
|
||||
* the admin- and the public-facing sides of the plugin.
|
||||
*
|
||||
* The primary entry point is {@see Footnotes}, which uses {@see Loader}
|
||||
* to initialise {@see i18n} for internationalization, {@see Admin\Admin} for
|
||||
* admin-specific functionality and {@see General\General} for public-facing
|
||||
* to initialise {@see i18n} for internationalization, {@see Admin\Admin} for
|
||||
* admin-specific functionality and {@see General\General} for public-facing
|
||||
* functionality.
|
||||
*
|
||||
* It also includes various utility classes:
|
||||
|
@ -39,7 +39,7 @@ namespace footnotes\includes;
|
|||
* @package footnotes
|
||||
* @since 1.5.0
|
||||
* @since 2.8.0 Renamed class from `Footnotes_Config` to `Config`.
|
||||
* Moved under `footnotes\includes` namespace.
|
||||
* Moved under `footnotes\includes` namespace.
|
||||
* @todo Remove.
|
||||
* @deprecated
|
||||
*/
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?php // phpcs:disable PEAR.Commenting.FileComment.Missing
|
||||
<?php
|
||||
/**
|
||||
* footnotes\includes: Core class
|
||||
* Includes: Core class
|
||||
*
|
||||
* `footnotes\includes` consists of functionality that is shared across both
|
||||
* the admin- and the public-facing sides of the plugin.
|
||||
*
|
||||
* The primary entry point is {@see Footnotes}, which uses {@see Loader}
|
||||
* to initialise {@see i18n} for internationalization, {@see Admin\Admin} for
|
||||
* admin-specific functionality and {@see General\General} for public-facing
|
||||
* to initialise {@see i18n} for internationalization, {@see Admin\Admin} for
|
||||
* admin-specific functionality and {@see General\General} for public-facing
|
||||
* functionality.
|
||||
*
|
||||
* It also includes various utility classes:
|
||||
|
@ -41,7 +41,7 @@ use footnotes\admin as Admin;
|
|||
* @package footnotes
|
||||
* @since 1.5.0
|
||||
* @since 2.8.0 Renamed class from `Footnotes` to `Core`.
|
||||
* Moved under `footnotes\includes` namespace.
|
||||
* Moved under `footnotes\includes` namespace.
|
||||
*/
|
||||
class Core {
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php // phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid
|
||||
<?php // phpcs:disable PEAR.NamingConventions.ValidClassName.StartWithCapital
|
||||
/**
|
||||
* File providing core `i18n` class.
|
||||
*
|
||||
|
|
|
@ -23,7 +23,7 @@ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-convert.ph
|
|||
* @package footnotes
|
||||
* @since 1.5.0
|
||||
* @since 2.8.0 Renamed class from `Footnotes_Settings` to `Settings`.
|
||||
* Moved under `footnotes\includes` namespace.
|
||||
* Moved under `footnotes\includes` namespace.
|
||||
*/
|
||||
class Settings {
|
||||
/**
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
namespace footnotes\general;
|
||||
|
||||
use footnotes\includes as Includes;
|
||||
|
||||
/**
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
* @since 2.8.0 Rename file from `task.php` to `class-footnotes-parser.php`,
|
||||
* move from `class/` sub-directory to `public/`.
|
||||
*/
|
||||
|
||||
|
||||
namespace footnotes\general;
|
||||
|
||||
use footnotes\includes as Includes;
|
||||
|
||||
/**
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
*/
|
||||
|
||||
namespace footnotes\general\Widget;
|
||||
|
||||
use footnotes\includes as Includes;
|
||||
|
||||
/**
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
*/
|
||||
|
||||
namespace footnotes\general\Widget;
|
||||
|
||||
use footnotes\includes as Includes;
|
||||
|
||||
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'widget/class-base.php';
|
||||
|
|
Reference in a new issue