Completed
Push — update/show-recurring-payments... ( 106a5e...b030b6 )
by
unknown
415:44 queued 407:29
created

Autoloader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A load_class() 0 1 1
1
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2
/**
3
 * Functions required for the test suite to run.
4
 *
5
 * @package automattic/jetpack-autoloader
6
 */
7
8
/**
9
 * Since PHP8 added a warning for setting `$throw` to `false` in `spl_autoload_register()`,
10
 * we need to define the autoload functions in order for them to be registered.
11
 */
12
namespace Automattic\Jetpack\Autoloader\jp123 {
13
14
	/**
15
	 * A dummy autoloader function to register.
16
	 */
17
	function autoload() {}
18
19
	/**
20
	 * A dummy autoloader class to register.
21
	 */
22
	class Autoloader {
23
		/**
24
		 * A dummy autoloader function to register.
25
		 */
26
		public static function load_class() {}
27
	}
28
}
29