Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wppunk committed Oct 10, 2020
1 parent 7a37226 commit 13720db
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 32 deletions.
17 changes: 14 additions & 3 deletions src/class-autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,29 @@
/**
* Autoload classes, interfaces and traits for your namespaces.
*
* @package WPPunk\Autoload
* @package wppunk/autoload
* @author WPPunk
* @link https://github.com/mdenisenko/WPPunk\Autoload
* @link https://github.com/wppunk/wpautoload/
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

namespace WPPunk\Autoload;

/**
* @codeCoverageIgnore
*/
if ( class_exists( '\WPPunk\Autoload\Autoload' ) ) {
return;
}
/**
* @codingStandardsIgnoreEnd
*/

/**
* Class Autoload
*
* @package wppunk/wpautoload
*/
class Autoload {

Expand Down
17 changes: 13 additions & 4 deletions src/class-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@
/**
* Cache for autoload.
*
* @package WPPunk\Autoload
* @package wppunk/wpautoload
* @author WPPunk
* @link https://github.com/mdenisenko/WPPunk\Autoload
* @link https://github.com/wppunk/wpautoload/
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

namespace WPPunk\Autoload;

/**
* @codeCoverageIgnore
*/
if ( class_exists( '\WPPunk\Autoload\Cache' ) ) {
return;
}
/**
* @codingStandardsIgnoreEnd
*/

/**
* Class Cache
*
* @package WP_Autoload
* @package wppunk/wpautoload
*/
class Cache {

Expand Down
17 changes: 13 additions & 4 deletions src/class-exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@
/**
* Exception for autoload.
*
* @package WPPunk\Autoload
* @package wppunk/wpautoload
* @author WPPunk
* @link https://github.com/mdenisenko/WPPunk\Autoload
* @link https://github.com/wppunk/wpautoload/
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

namespace WPPunk\Autoload;

/**
* @codeCoverageIgnore
*/
if ( class_exists( '\WPPunk\Autoload\Exception' ) ) {
return;
}
/**
* @codingStandardsIgnoreEnd
*/

/**
* Class Exception
*
* @package Autoload
* @package wppunk/wpautoload
*/
class Exception extends \Exception {

Expand Down
7 changes: 3 additions & 4 deletions tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
/**
* Bootstrap file for tests
*
* @package WP-Autoload
* @author Maksym Denysenko
* @link https://github.com/mdenisenko/WP-Autoload
* @package wppunk/wpautoload
* @author WPPunk
* @link https://github.com/wppunk/wpautoload/
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

define( 'ROOT_DIR', __DIR__ . '/../../' );
Expand Down
9 changes: 4 additions & 5 deletions tests/phpunit/tests/class-autoload.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?php
/**
* Test WP_Autoload\Autoload class.
* Test Autoload class.
*
* @package WP-Autoload
* @author Maksym Denysenko
* @link https://github.com/mdenisenko/WP-Autoload
* @package wppunk/wpautoload
* @author WPPunk
* @link https://github.com/wppunk/wpautoload/
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

use Prefix\Autoload_Fail;
Expand Down
8 changes: 3 additions & 5 deletions tests/phpunit/tests/class-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
/**
* Test cache
*
* @package WP-Autoload
* @author Maksym Denysenko
* @link https://github.com/mdenisenko/WP-Autoload
* @package wppunk/wpautoload
* @author WPPunk
* @link https://github.com/wppunk/wpautoload/
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

use bovigo\vfs\vfsStream;
use WPPunk\Autoload\Cache;
use PHPUnit\Framework\TestCase;

Expand Down
7 changes: 3 additions & 4 deletions tests/phpunit/tests/class-exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
/**
* Test exception
*
* @package WP-Autoload
* @author Maksym Denysenko
* @link https://github.com/mdenisenko/WP-Autoload
* @package wppunk/wpautoload
* @author WPPunk
* @link https://github.com/wppunk/wpautoload/
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

use PHPUnit\Framework\TestCase;
Expand Down
5 changes: 2 additions & 3 deletions wpautoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
/**
* WPPunk Autoload
*
* @package WPPunk\Autoload
* @package wppunk/wpautoload
* @author WPPunk
* @link https://github.com/mdenisenko/WP-Autoload
* @link https://github.com/wppunk/wpautoload
* @copyright Copyright (c) 2020
* @license GPL-2.0+
* @wordpress-plugin
*/

use Composer\Factory;
Expand Down

0 comments on commit 13720db

Please sign in to comment.