@@ -4,65 +4,65 @@ discard block |
||
4 | 4 | |
5 | 5 | class ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d |
6 | 6 | { |
7 | - private static $loader; |
|
7 | + private static $loader; |
|
8 | 8 | |
9 | - public static function loadClassLoader($class) |
|
10 | - { |
|
11 | - if ('Composer\Autoload\ClassLoader' === $class) { |
|
12 | - require __DIR__ . '/ClassLoader.php'; |
|
13 | - } |
|
14 | - } |
|
9 | + public static function loadClassLoader($class) |
|
10 | + { |
|
11 | + if ('Composer\Autoload\ClassLoader' === $class) { |
|
12 | + require __DIR__ . '/ClassLoader.php'; |
|
13 | + } |
|
14 | + } |
|
15 | 15 | |
16 | - /** |
|
17 | - * @return \Composer\Autoload\ClassLoader |
|
18 | - */ |
|
19 | - public static function getLoader() |
|
20 | - { |
|
21 | - if (null !== self::$loader) { |
|
22 | - return self::$loader; |
|
23 | - } |
|
16 | + /** |
|
17 | + * @return \Composer\Autoload\ClassLoader |
|
18 | + */ |
|
19 | + public static function getLoader() |
|
20 | + { |
|
21 | + if (null !== self::$loader) { |
|
22 | + return self::$loader; |
|
23 | + } |
|
24 | 24 | |
25 | - require __DIR__ . '/platform_check.php'; |
|
25 | + require __DIR__ . '/platform_check.php'; |
|
26 | 26 | |
27 | - spl_autoload_register(array('ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader'), true, true); |
|
28 | - self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); |
|
29 | - spl_autoload_unregister(array('ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader')); |
|
27 | + spl_autoload_register(array('ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader'), true, true); |
|
28 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); |
|
29 | + spl_autoload_unregister(array('ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader')); |
|
30 | 30 | |
31 | - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); |
|
32 | - if ($useStaticLoader) { |
|
33 | - require __DIR__ . '/autoload_static.php'; |
|
31 | + $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); |
|
32 | + if ($useStaticLoader) { |
|
33 | + require __DIR__ . '/autoload_static.php'; |
|
34 | 34 | |
35 | - call_user_func(\Composer\Autoload\ComposerStaticInit984ed95bef2b0e3d4eeb0208a88dc67d::getInitializer($loader)); |
|
36 | - } else { |
|
37 | - $map = require __DIR__ . '/autoload_namespaces.php'; |
|
38 | - foreach ($map as $namespace => $path) { |
|
39 | - $loader->set($namespace, $path); |
|
40 | - } |
|
35 | + call_user_func(\Composer\Autoload\ComposerStaticInit984ed95bef2b0e3d4eeb0208a88dc67d::getInitializer($loader)); |
|
36 | + } else { |
|
37 | + $map = require __DIR__ . '/autoload_namespaces.php'; |
|
38 | + foreach ($map as $namespace => $path) { |
|
39 | + $loader->set($namespace, $path); |
|
40 | + } |
|
41 | 41 | |
42 | - $map = require __DIR__ . '/autoload_psr4.php'; |
|
43 | - foreach ($map as $namespace => $path) { |
|
44 | - $loader->setPsr4($namespace, $path); |
|
45 | - } |
|
42 | + $map = require __DIR__ . '/autoload_psr4.php'; |
|
43 | + foreach ($map as $namespace => $path) { |
|
44 | + $loader->setPsr4($namespace, $path); |
|
45 | + } |
|
46 | 46 | |
47 | - $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
48 | - if ($classMap) { |
|
49 | - $loader->addClassMap($classMap); |
|
50 | - } |
|
51 | - } |
|
47 | + $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
48 | + if ($classMap) { |
|
49 | + $loader->addClassMap($classMap); |
|
50 | + } |
|
51 | + } |
|
52 | 52 | |
53 | - $loader->register(true); |
|
53 | + $loader->register(true); |
|
54 | 54 | |
55 | - if ($useStaticLoader) { |
|
56 | - $includeFiles = Composer\Autoload\ComposerStaticInit984ed95bef2b0e3d4eeb0208a88dc67d::$files; |
|
57 | - } else { |
|
58 | - $includeFiles = require __DIR__ . '/autoload_files.php'; |
|
59 | - } |
|
60 | - foreach ($includeFiles as $fileIdentifier => $file) { |
|
61 | - composerRequire984ed95bef2b0e3d4eeb0208a88dc67d($fileIdentifier, $file); |
|
62 | - } |
|
55 | + if ($useStaticLoader) { |
|
56 | + $includeFiles = Composer\Autoload\ComposerStaticInit984ed95bef2b0e3d4eeb0208a88dc67d::$files; |
|
57 | + } else { |
|
58 | + $includeFiles = require __DIR__ . '/autoload_files.php'; |
|
59 | + } |
|
60 | + foreach ($includeFiles as $fileIdentifier => $file) { |
|
61 | + composerRequire984ed95bef2b0e3d4eeb0208a88dc67d($fileIdentifier, $file); |
|
62 | + } |
|
63 | 63 | |
64 | - return $loader; |
|
65 | - } |
|
64 | + return $loader; |
|
65 | + } |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -72,9 +72,9 @@ discard block |
||
72 | 72 | */ |
73 | 73 | function composerRequire984ed95bef2b0e3d4eeb0208a88dc67d($fileIdentifier, $file) |
74 | 74 | { |
75 | - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
|
76 | - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
|
75 | + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
|
76 | + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
|
77 | 77 | |
78 | - require $file; |
|
79 | - } |
|
78 | + require $file; |
|
79 | + } |
|
80 | 80 | } |
@@ -6,9 +6,9 @@ discard block |
||
6 | 6 | { |
7 | 7 | private static $loader; |
8 | 8 | |
9 | - public static function loadClassLoader($class) |
|
9 | + public static function loadClassLoader( $class ) |
|
10 | 10 | { |
11 | - if ('Composer\Autoload\ClassLoader' === $class) { |
|
11 | + if ( 'Composer\Autoload\ClassLoader' === $class ) { |
|
12 | 12 | require __DIR__ . '/ClassLoader.php'; |
13 | 13 | } |
14 | 14 | } |
@@ -18,47 +18,47 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public static function getLoader() |
20 | 20 | { |
21 | - if (null !== self::$loader) { |
|
21 | + if ( null !== self::$loader ) { |
|
22 | 22 | return self::$loader; |
23 | 23 | } |
24 | 24 | |
25 | 25 | require __DIR__ . '/platform_check.php'; |
26 | 26 | |
27 | - spl_autoload_register(array('ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader'), true, true); |
|
28 | - self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); |
|
29 | - spl_autoload_unregister(array('ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader')); |
|
27 | + spl_autoload_register( array( 'ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader' ), true, true ); |
|
28 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader( \dirname( \dirname( __FILE__ ) ) ); |
|
29 | + spl_autoload_unregister( array( 'ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d', 'loadClassLoader' ) ); |
|
30 | 30 | |
31 | - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); |
|
32 | - if ($useStaticLoader) { |
|
31 | + $useStaticLoader = PHP_VERSION_ID >= 50600 && ! defined( 'HHVM_VERSION' ) && ( ! function_exists( 'zend_loader_file_encoded' ) || ! zend_loader_file_encoded() ); |
|
32 | + if ( $useStaticLoader ) { |
|
33 | 33 | require __DIR__ . '/autoload_static.php'; |
34 | 34 | |
35 | - call_user_func(\Composer\Autoload\ComposerStaticInit984ed95bef2b0e3d4eeb0208a88dc67d::getInitializer($loader)); |
|
35 | + call_user_func( \Composer\Autoload\ComposerStaticInit984ed95bef2b0e3d4eeb0208a88dc67d::getInitializer( $loader ) ); |
|
36 | 36 | } else { |
37 | 37 | $map = require __DIR__ . '/autoload_namespaces.php'; |
38 | - foreach ($map as $namespace => $path) { |
|
39 | - $loader->set($namespace, $path); |
|
38 | + foreach ( $map as $namespace => $path ) { |
|
39 | + $loader->set( $namespace, $path ); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $map = require __DIR__ . '/autoload_psr4.php'; |
43 | - foreach ($map as $namespace => $path) { |
|
44 | - $loader->setPsr4($namespace, $path); |
|
43 | + foreach ( $map as $namespace => $path ) { |
|
44 | + $loader->setPsr4( $namespace, $path ); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | $classMap = require __DIR__ . '/autoload_classmap.php'; |
48 | - if ($classMap) { |
|
49 | - $loader->addClassMap($classMap); |
|
48 | + if ( $classMap ) { |
|
49 | + $loader->addClassMap( $classMap ); |
|
50 | 50 | } |
51 | 51 | } |
52 | 52 | |
53 | - $loader->register(true); |
|
53 | + $loader->register( true ); |
|
54 | 54 | |
55 | - if ($useStaticLoader) { |
|
55 | + if ( $useStaticLoader ) { |
|
56 | 56 | $includeFiles = Composer\Autoload\ComposerStaticInit984ed95bef2b0e3d4eeb0208a88dc67d::$files; |
57 | 57 | } else { |
58 | 58 | $includeFiles = require __DIR__ . '/autoload_files.php'; |
59 | 59 | } |
60 | - foreach ($includeFiles as $fileIdentifier => $file) { |
|
61 | - composerRequire984ed95bef2b0e3d4eeb0208a88dc67d($fileIdentifier, $file); |
|
60 | + foreach ( $includeFiles as $fileIdentifier => $file ) { |
|
61 | + composerRequire984ed95bef2b0e3d4eeb0208a88dc67d( $fileIdentifier, $file ); |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | return $loader; |
@@ -70,10 +70,10 @@ discard block |
||
70 | 70 | * @param string $file |
71 | 71 | * @return void |
72 | 72 | */ |
73 | -function composerRequire984ed95bef2b0e3d4eeb0208a88dc67d($fileIdentifier, $file) |
|
73 | +function composerRequire984ed95bef2b0e3d4eeb0208a88dc67d( $fileIdentifier, $file ) |
|
74 | 74 | { |
75 | - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
|
76 | - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
|
75 | + if ( empty( $GLOBALS[ '__composer_autoload_files' ][ $fileIdentifier ] ) ) { |
|
76 | + $GLOBALS[ '__composer_autoload_files' ][ $fileIdentifier ] = true; |
|
77 | 77 | |
78 | 78 | require $file; |
79 | 79 | } |
@@ -2,12 +2,10 @@ discard block |
||
2 | 2 | |
3 | 3 | // autoload_real.php @generated by Composer |
4 | 4 | |
5 | -class ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d |
|
6 | -{ |
|
5 | +class ComposerAutoloaderInit984ed95bef2b0e3d4eeb0208a88dc67d { |
|
7 | 6 | private static $loader; |
8 | 7 | |
9 | - public static function loadClassLoader($class) |
|
10 | - { |
|
8 | + public static function loadClassLoader($class) { |
|
11 | 9 | if ('Composer\Autoload\ClassLoader' === $class) { |
12 | 10 | require __DIR__ . '/ClassLoader.php'; |
13 | 11 | } |
@@ -16,8 +14,7 @@ discard block |
||
16 | 14 | /** |
17 | 15 | * @return \Composer\Autoload\ClassLoader |
18 | 16 | */ |
19 | - public static function getLoader() |
|
20 | - { |
|
17 | + public static function getLoader() { |
|
21 | 18 | if (null !== self::$loader) { |
22 | 19 | return self::$loader; |
23 | 20 | } |
@@ -70,8 +67,7 @@ discard block |
||
70 | 67 | * @param string $file |
71 | 68 | * @return void |
72 | 69 | */ |
73 | -function composerRequire984ed95bef2b0e3d4eeb0208a88dc67d($fileIdentifier, $file) |
|
74 | -{ |
|
70 | +function composerRequire984ed95bef2b0e3d4eeb0208a88dc67d($fileIdentifier, $file) { |
|
75 | 71 | if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
76 | 72 | $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
77 | 73 |
@@ -1,70 +1,70 @@ |
||
1 | 1 | <?php return array( |
2 | - 'root' => array( |
|
3 | - 'pretty_version' => 'dev-develop', |
|
4 | - 'version' => 'dev-develop', |
|
5 | - 'type' => 'wordpress-plugin', |
|
6 | - 'install_path' => __DIR__ . '/../../', |
|
7 | - 'aliases' => array(), |
|
8 | - 'reference' => '863c13683df548e907875904b7532d599446ed18', |
|
9 | - 'name' => 'gravityview/gravityview', |
|
10 | - 'dev' => false, |
|
11 | - ), |
|
12 | - 'versions' => array( |
|
13 | - 'gravityview/gravityview' => array( |
|
14 | - 'pretty_version' => 'dev-develop', |
|
15 | - 'version' => 'dev-develop', |
|
16 | - 'type' => 'wordpress-plugin', |
|
17 | - 'install_path' => __DIR__ . '/../../', |
|
18 | - 'aliases' => array(), |
|
19 | - 'reference' => '863c13683df548e907875904b7532d599446ed18', |
|
20 | - 'dev_requirement' => false, |
|
21 | - ), |
|
22 | - 'katzgrau/klogger' => array( |
|
23 | - 'pretty_version' => 'dev-master', |
|
24 | - 'version' => 'dev-master', |
|
25 | - 'type' => 'library', |
|
26 | - 'install_path' => __DIR__ . '/../katzgrau/klogger', |
|
27 | - 'aliases' => array( |
|
28 | - 0 => '9999999-dev', |
|
29 | - ), |
|
30 | - 'reference' => 'de2d3ab6777a393a9879e0496ebb8e0644066e3f', |
|
31 | - 'dev_requirement' => false, |
|
32 | - ), |
|
33 | - 'paragonie/random_compat' => array( |
|
34 | - 'pretty_version' => 'v2.0.20', |
|
35 | - 'version' => '2.0.20.0', |
|
36 | - 'type' => 'library', |
|
37 | - 'install_path' => __DIR__ . '/../paragonie/random_compat', |
|
38 | - 'aliases' => array(), |
|
39 | - 'reference' => '0f1f60250fccffeaf5dda91eea1c018aed1adc2a', |
|
40 | - 'dev_requirement' => false, |
|
41 | - ), |
|
42 | - 'paragonie/sodium_compat' => array( |
|
43 | - 'pretty_version' => 'v1.17.0', |
|
44 | - 'version' => '1.17.0.0', |
|
45 | - 'type' => 'library', |
|
46 | - 'install_path' => __DIR__ . '/../paragonie/sodium_compat', |
|
47 | - 'aliases' => array(), |
|
48 | - 'reference' => 'c59cac21abbcc0df06a3dd18076450ea4797b321', |
|
49 | - 'dev_requirement' => false, |
|
50 | - ), |
|
51 | - 'psr/log' => array( |
|
52 | - 'pretty_version' => '1.1.4', |
|
53 | - 'version' => '1.1.4.0', |
|
54 | - 'type' => 'library', |
|
55 | - 'install_path' => __DIR__ . '/../psr/log', |
|
56 | - 'aliases' => array(), |
|
57 | - 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', |
|
58 | - 'dev_requirement' => false, |
|
59 | - ), |
|
60 | - 'trustedlogin/client' => array( |
|
61 | - 'pretty_version' => 'dev-main', |
|
62 | - 'version' => 'dev-main', |
|
63 | - 'type' => 'library', |
|
64 | - 'install_path' => __DIR__ . '/../trustedlogin/client', |
|
65 | - 'aliases' => array(), |
|
66 | - 'reference' => '8c0be03dac771f157625ee6029e3850a199f6310', |
|
67 | - 'dev_requirement' => false, |
|
68 | - ), |
|
69 | - ), |
|
2 | + 'root' => array( |
|
3 | + 'pretty_version' => 'dev-develop', |
|
4 | + 'version' => 'dev-develop', |
|
5 | + 'type' => 'wordpress-plugin', |
|
6 | + 'install_path' => __DIR__ . '/../../', |
|
7 | + 'aliases' => array(), |
|
8 | + 'reference' => '863c13683df548e907875904b7532d599446ed18', |
|
9 | + 'name' => 'gravityview/gravityview', |
|
10 | + 'dev' => false, |
|
11 | + ), |
|
12 | + 'versions' => array( |
|
13 | + 'gravityview/gravityview' => array( |
|
14 | + 'pretty_version' => 'dev-develop', |
|
15 | + 'version' => 'dev-develop', |
|
16 | + 'type' => 'wordpress-plugin', |
|
17 | + 'install_path' => __DIR__ . '/../../', |
|
18 | + 'aliases' => array(), |
|
19 | + 'reference' => '863c13683df548e907875904b7532d599446ed18', |
|
20 | + 'dev_requirement' => false, |
|
21 | + ), |
|
22 | + 'katzgrau/klogger' => array( |
|
23 | + 'pretty_version' => 'dev-master', |
|
24 | + 'version' => 'dev-master', |
|
25 | + 'type' => 'library', |
|
26 | + 'install_path' => __DIR__ . '/../katzgrau/klogger', |
|
27 | + 'aliases' => array( |
|
28 | + 0 => '9999999-dev', |
|
29 | + ), |
|
30 | + 'reference' => 'de2d3ab6777a393a9879e0496ebb8e0644066e3f', |
|
31 | + 'dev_requirement' => false, |
|
32 | + ), |
|
33 | + 'paragonie/random_compat' => array( |
|
34 | + 'pretty_version' => 'v2.0.20', |
|
35 | + 'version' => '2.0.20.0', |
|
36 | + 'type' => 'library', |
|
37 | + 'install_path' => __DIR__ . '/../paragonie/random_compat', |
|
38 | + 'aliases' => array(), |
|
39 | + 'reference' => '0f1f60250fccffeaf5dda91eea1c018aed1adc2a', |
|
40 | + 'dev_requirement' => false, |
|
41 | + ), |
|
42 | + 'paragonie/sodium_compat' => array( |
|
43 | + 'pretty_version' => 'v1.17.0', |
|
44 | + 'version' => '1.17.0.0', |
|
45 | + 'type' => 'library', |
|
46 | + 'install_path' => __DIR__ . '/../paragonie/sodium_compat', |
|
47 | + 'aliases' => array(), |
|
48 | + 'reference' => 'c59cac21abbcc0df06a3dd18076450ea4797b321', |
|
49 | + 'dev_requirement' => false, |
|
50 | + ), |
|
51 | + 'psr/log' => array( |
|
52 | + 'pretty_version' => '1.1.4', |
|
53 | + 'version' => '1.1.4.0', |
|
54 | + 'type' => 'library', |
|
55 | + 'install_path' => __DIR__ . '/../psr/log', |
|
56 | + 'aliases' => array(), |
|
57 | + 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', |
|
58 | + 'dev_requirement' => false, |
|
59 | + ), |
|
60 | + 'trustedlogin/client' => array( |
|
61 | + 'pretty_version' => 'dev-main', |
|
62 | + 'version' => 'dev-main', |
|
63 | + 'type' => 'library', |
|
64 | + 'install_path' => __DIR__ . '/../trustedlogin/client', |
|
65 | + 'aliases' => array(), |
|
66 | + 'reference' => '8c0be03dac771f157625ee6029e3850a199f6310', |
|
67 | + 'dev_requirement' => false, |
|
68 | + ), |
|
69 | + ), |
|
70 | 70 | ); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | return; |
25 | 25 | } |
26 | 26 | |
27 | - $this->widget_description = __('Display a Gravity Forms form.', 'gravityview' ); |
|
27 | + $this->widget_description = __( 'Display a Gravity Forms form.', 'gravityview' ); |
|
28 | 28 | |
29 | 29 | $default_values = array( |
30 | 30 | 'header' => 1, |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | add_filter( 'gravityview/widget/hide_until_searched/allowlist', array( $this, 'add_to_allowlist' ) ); |
67 | 67 | |
68 | - parent::__construct( __( 'Gravity Forms', 'gravityview' ) , 'gravityforms', $default_values, $settings ); |
|
68 | + parent::__construct( __( 'Gravity Forms', 'gravityview' ), 'gravityforms', $default_values, $settings ); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | */ |
109 | 109 | function add_to_allowlist( $allowlist ) { |
110 | 110 | |
111 | - $allowlist[] = 'gravityforms'; |
|
111 | + $allowlist[ ] = 'gravityforms'; |
|
112 | 112 | |
113 | 113 | return $allowlist; |
114 | 114 | } |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * @param string $content |
119 | 119 | * @param string $context |
120 | 120 | */ |
121 | - public function render_frontend( $widget_args, $content = '', $context = '') { |
|
121 | + public function render_frontend( $widget_args, $content = '', $context = '' ) { |
|
122 | 122 | |
123 | 123 | if ( ! $this->pre_render_frontend() ) { |
124 | 124 | return; |