Skip to content

Commit

Permalink
Ignore files from coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Mar 26, 2024
1 parent abe5ff0 commit 26fcfb5
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/DB/Migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
use OMGF\Admin\Settings;
use OMGF\Helper as OMGF;

/**
* @codeCoverageIgnore
*/
defined( 'ABSPATH' ) || exit;

class Migrate {
Expand Down
4 changes: 3 additions & 1 deletion src/DB/Migrate/V533.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
use OMGF\Admin\Settings;
use OMGF\Helper as OMGF;

/**
* @codeCoverageIgnore
*/
defined( 'ABSPATH' ) || exit;

class V533 {

/** @var $version string The version number this migration script was introduced with. */
private $version = '5.3.3';

Expand Down
6 changes: 6 additions & 0 deletions src/DB/Migrate/V534.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
use OMGF\Helper as OMGF;
use OMGF\Admin\Settings;

/**
* @codeCoverageIgnore
*/
defined( 'ABSPATH' ) || exit;

class V534 {
Expand All @@ -27,6 +30,7 @@ class V534 {

/**
* Buid
*
* @return void
*/
public function __construct() {
Expand All @@ -35,6 +39,7 @@ public function __construct() {

/**
* Initialize
*
* @return void
*/
private function init() {
Expand All @@ -48,6 +53,7 @@ private function init() {
foreach ( $variants as $key => $variant ) {
/**
* Optimized Fonts needs upgrading if $variants is still an indexed array.
*
* @since v5.3.0 $variants should be an associative array.
*/
if ( is_numeric( $key ) ) {
Expand Down
4 changes: 3 additions & 1 deletion src/DB/Migrate/V560.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
use OMGF\Admin\Settings;
use OMGF\Helper as OMGF;

/**
* @codeCoverageIgnore
*/
defined( 'ABSPATH' ) || exit;

class V560 {

/** @var $version string The version number this migration script was introduced with. */
private $version = '5.6.0';

Expand Down
5 changes: 5 additions & 0 deletions src/DB/Migrate/V581.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
use OMGF\Admin\Settings;
use OMGF\Helper as OMGF;

/**
* @codeCoverageIgnore
*/
defined( 'ABSPATH' ) || exit;

class V581 {
Expand All @@ -27,6 +30,7 @@ class V581 {

/**
* Build class
*
* @return void
*/
public function __construct() {
Expand All @@ -35,6 +39,7 @@ public function __construct() {

/**
* Initialize
*
* @return void
*/
private function init() {
Expand Down
4 changes: 2 additions & 2 deletions src/Uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

use OMGF\Admin\Settings;

defined( 'ABSPATH' ) || exit;

/**
* @codeCoverageIgnore
*/
defined( 'ABSPATH' ) || exit;

class Uninstall {
/** @var string $cache_dir */
private $cache_dir;
Expand Down

0 comments on commit 26fcfb5

Please sign in to comment.