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

Autoloader::load_class()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 1
rs 10
c 0
b 0
f 0
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