Event Tickets - Version 4.11.3.1

Version Description

Download this release

Release Info

Developer sc0ttkclark
Plugin Icon 128x128 Event Tickets
Version 4.11.3.1
Comparing to
See all releases

Code changes from version 4.11.3 to 4.11.3.1

common/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitdcaf696db1c33b082f7f07ed29f85004::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9bf9f8e2d1d6b91d37c9a073f13ca340::getLoader();
common/vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit8a7fd11897ba62ef3c3d129bb4f3049d::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInita2fba4cfff001d9db2055606b1905b54::getLoader();
common/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitdcaf696db1c33b082f7f07ed29f85004
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitdcaf696db1c33b082f7f07ed29f85004
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitdcaf696db1c33b082f7f07ed29f85004', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitdcaf696db1c33b082f7f07ed29f85004', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitdcaf696db1c33b082f7f07ed29f85004::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit9bf9f8e2d1d6b91d37c9a073f13ca340
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit9bf9f8e2d1d6b91d37c9a073f13ca340', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit9bf9f8e2d1d6b91d37c9a073f13ca340', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit9bf9f8e2d1d6b91d37c9a073f13ca340::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
common/vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit8a7fd11897ba62ef3c3d129bb4f3049d {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8a7fd11897ba62ef3c3d129bb4f3049d {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit8a7fd11897ba62ef3c3d129bb4f3049d', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit8a7fd11897ba62ef3c3d129bb4f3049d', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInita2fba4cfff001d9db2055606b1905b54 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInita2fba4cfff001d9db2055606b1905b54', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInita2fba4cfff001d9db2055606b1905b54', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
common/vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitdcaf696db1c33b082f7f07ed29f85004
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -207,10 +207,10 @@ class ComposerStaticInitdcaf696db1c33b082f7f07ed29f85004
207
  public static function getInitializer(ClassLoader $loader)
208
  {
209
  return \Closure::bind(function () use ($loader) {
210
- $loader->prefixLengthsPsr4 = ComposerStaticInitdcaf696db1c33b082f7f07ed29f85004::$prefixLengthsPsr4;
211
- $loader->prefixDirsPsr4 = ComposerStaticInitdcaf696db1c33b082f7f07ed29f85004::$prefixDirsPsr4;
212
- $loader->prefixesPsr0 = ComposerStaticInitdcaf696db1c33b082f7f07ed29f85004::$prefixesPsr0;
213
- $loader->classMap = ComposerStaticInitdcaf696db1c33b082f7f07ed29f85004::$classMap;
214
 
215
  }, null, ClassLoader::class);
216
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9bf9f8e2d1d6b91d37c9a073f13ca340
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
207
  public static function getInitializer(ClassLoader $loader)
208
  {
209
  return \Closure::bind(function () use ($loader) {
210
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9bf9f8e2d1d6b91d37c9a073f13ca340::$prefixLengthsPsr4;
211
+ $loader->prefixDirsPsr4 = ComposerStaticInit9bf9f8e2d1d6b91d37c9a073f13ca340::$prefixDirsPsr4;
212
+ $loader->prefixesPsr0 = ComposerStaticInit9bf9f8e2d1d6b91d37c9a073f13ca340::$prefixesPsr0;
213
+ $loader->classMap = ComposerStaticInit9bf9f8e2d1d6b91d37c9a073f13ca340::$classMap;
214
 
215
  }, null, ClassLoader::class);
216
  }
event-tickets.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Event Tickets
4
  Plugin URI: http://m.tri.be/1acb
5
  Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
6
- Version: 4.11.3
7
  Author: Modern Tribe, Inc.
8
  Author URI: http://m.tri.be/28
9
  License: GPLv2 or later
3
  Plugin Name: Event Tickets
4
  Plugin URI: http://m.tri.be/1acb
5
  Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
6
+ Version: 4.11.3.1
7
  Author: Modern Tribe, Inc.
8
  Author URI: http://m.tri.be/28
9
  License: GPLv2 or later
lang/event-tickets-de_DE.mo CHANGED
Binary file
lang/event-tickets-es_ES.mo CHANGED
Binary file
lang/event-tickets-sv_SE.mo CHANGED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: ModernTribe, brianjessee, camwynsp, paulkim, sc0ttkclark, aguseo,
4
  Tags: RSVP, events, tickets, event management, calendar, ticket sales, community, registration, api, dates, date, posts, workshop, conference, meeting, seminar, concert, summit, ticket integration, event ticketing
5
  Requires at least: 4.9
6
  Tested up to: 5.3.2
7
- Stable tag: 4.11.3
8
  Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -117,7 +117,15 @@ Currently, the following add-ons are available for Event Tickets:
117
 
118
  == Changelog ==
119
 
120
- = [4.11.3] 2019-02-06 =
 
 
 
 
 
 
 
 
121
 
122
  * Feature - Show original price on ticket block if ticket on sale. Allow turning off via the `tribe_tickets_show_original_price_on_sale` filter. [ETP-47]
123
  * Fix - Allow adding ticket header image on non-event posts. [ETP-54]
4
  Tags: RSVP, events, tickets, event management, calendar, ticket sales, community, registration, api, dates, date, posts, workshop, conference, meeting, seminar, concert, summit, ticket integration, event ticketing
5
  Requires at least: 4.9
6
  Tested up to: 5.3.2
7
+ Stable tag: 4.11.3.1
8
  Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
117
 
118
  == Changelog ==
119
 
120
+ = [4.11.3.1] 2020-02-11 =
121
+
122
+ * Fix - Resolve potential fatal errors when an object is passed to determine a CSS class where we had expected a string. [ET-716]
123
+ * Fix - Prevent conflicts with a template variable used by the Tickets block when rendering while The Events Calendar is activated. [ET-717]
124
+ * Fix - Prevent The Events Calendar from disabling the redirect for Tribe Commerce that should take you to PayPal when checking out. [ET-714]
125
+ * Fix - Better detect the post ID to use on normal pages for Tribe Commerce. [ET-714]
126
+ * Tweak - Changed views: `modal/registration-js`, `registration-js/content`
127
+
128
+ = [4.11.3] 2020-02-06 =
129
 
130
  * Feature - Show original price on ticket block if ticket on sale. Allow turning off via the `tribe_tickets_show_original_price_on_sale` filter. [ETP-47]
131
  * Fix - Allow adding ticket header image on non-event posts. [ETP-54]
src/Tribe/Attendee_Registration/Modal.php CHANGED
@@ -74,6 +74,7 @@ class Tribe__Tickets__Attendee_Registration__Modal {
74
  $file = $this->locate_template( $template );
75
 
76
  $obj_tickets = $template_obj->get( 'tickets', [] );
 
77
  foreach( $obj_tickets as $ticket ) {
78
  $ticket_data = array(
79
  'id' => $ticket->ID,
74
  $file = $this->locate_template( $template );
75
 
76
  $obj_tickets = $template_obj->get( 'tickets', [] );
77
+ $tickets = [];
78
  foreach( $obj_tickets as $ticket ) {
79
  $ticket_data = array(
80
  'id' => $ticket->ID,
src/Tribe/Attendee_Registration/View.php CHANGED
@@ -254,13 +254,22 @@ class Tribe__Tickets__Attendee_Registration__View extends Tribe__Template {
254
  * Given a provider, get the class to be applied to the attendee registration form
255
  * @since 4.10.4
256
  *
257
- * @param string $provider the provider/attendee object name indicating ticket porovider
258
  *
259
  * @return string the class string or empty string if provider not found
260
  */
261
  public function get_form_class( $provider ) {
262
  $class = '';
263
 
 
 
 
 
 
 
 
 
 
264
  if ( empty( $provider ) ) {
265
  /**
266
  * Allows filtering the class before returning it in the case of no provider.
254
  * Given a provider, get the class to be applied to the attendee registration form
255
  * @since 4.10.4
256
  *
257
+ * @param string|Tribe__Tickets__Tickets $provider The provider/attendee object name indicating ticket provider.
258
  *
259
  * @return string the class string or empty string if provider not found
260
  */
261
  public function get_form_class( $provider ) {
262
  $class = '';
263
 
264
+ if ( is_object( $provider ) ) {
265
+ if ( $provider instanceof Tribe__Tickets__Tickets ) {
266
+ $provider = $provider->attendee_object;
267
+ } else {
268
+ // Use the no provider return below.
269
+ $provider = false;
270
+ }
271
+ }
272
+
273
  if ( empty( $provider ) ) {
274
  /**
275
  * Allows filtering the class before returning it in the case of no provider.
src/Tribe/Commerce/PayPal/Gateway.php CHANGED
@@ -529,14 +529,16 @@ class Tribe__Tickets__Commerce__PayPal__Gateway {
529
  $custom_args = apply_filters( 'tribe_tickets_commerce_paypal_custom_args', $custom_args, $post, $product_ids );
530
 
531
  $args = [
532
- 'cmd' => '_cart',
533
- 'business' => urlencode( $email ),
534
- 'bn' => 'ModernTribe_SP',
535
- 'notify_url' => urlencode( $notify_url ),
536
- 'shopping_url' => urlencode( $post_url ),
537
- 'return' => $this->get_success_page_url( $invoice_number ),
538
- 'currency_code' => $currency_code ?: 'USD',
539
- 'custom' => $custom_args,
 
 
540
  /*
541
  * We're not sending an invoice anymore.
542
  * It would mess up the cart cookies and we ended up not using it.
@@ -656,6 +658,8 @@ class Tribe__Tickets__Commerce__PayPal__Gateway {
656
  * @see Tribe__Tickets__Redirections::maybe_redirect
657
  */
658
  $url_args = [
 
 
659
  'tribe_tickets_post_id' => $post_id,
660
  'tribe_tickets_redirect_to' => rawurlencode( $cart_url ),
661
  ];
529
  $custom_args = apply_filters( 'tribe_tickets_commerce_paypal_custom_args', $custom_args, $post, $product_ids );
530
 
531
  $args = [
532
+ 'cmd' => '_cart',
533
+ 'business' => urlencode( $email ),
534
+ 'bn' => 'ModernTribe_SP',
535
+ 'notify_url' => urlencode( $notify_url ),
536
+ 'shopping_url' => urlencode( $post_url ),
537
+ 'return' => $this->get_success_page_url( $invoice_number ),
538
+ 'currency_code' => $currency_code ?: 'USD',
539
+ 'custom' => $custom_args,
540
+ // tribe_redirected is needed because TEC will stop a redirect on the main events page.
541
+ 'tribe_redirected' => 1,
542
  /*
543
  * We're not sending an invoice anymore.
544
  * It would mess up the cart cookies and we ended up not using it.
658
  * @see Tribe__Tickets__Redirections::maybe_redirect
659
  */
660
  $url_args = [
661
+ // tribe_redirected is needed because TEC will stop a redirect on the main events page.
662
+ 'tribe_redirected' => 1,
663
  'tribe_tickets_post_id' => $post_id,
664
  'tribe_tickets_redirect_to' => rawurlencode( $cart_url ),
665
  ];
src/Tribe/Editor/Blocks/Tickets.php CHANGED
@@ -32,7 +32,9 @@ extends Tribe__Editor__Blocks__Abstract {
32
  */
33
  public function render( $attributes = [] ) {
34
  /** @var Tribe__Tickets__Editor__Template $template */
35
- $template = tribe( 'tickets.editor.template' );
 
 
36
  $args['post_id'] = $post_id = $template->get( 'post_id', null, false );
37
  $args['attributes'] = $this->attributes( $attributes );
38
 
32
  */
33
  public function render( $attributes = [] ) {
34
  /** @var Tribe__Tickets__Editor__Template $template */
35
+ $template = tribe( 'tickets.editor.template' );
36
+
37
+ $args['is_modal'] = null;
38
  $args['post_id'] = $post_id = $template->get( 'post_id', null, false );
39
  $args['attributes'] = $this->attributes( $attributes );
40
 
src/Tribe/Main.php CHANGED
@@ -4,7 +4,7 @@ class Tribe__Tickets__Main {
4
  /**
5
  * Current version of this plugin
6
  */
7
- const VERSION = '4.11.3';
8
 
9
  /**
10
  * Min required The Events Calendar version
4
  /**
5
  * Current version of this plugin
6
  */
7
+ const VERSION = '4.11.3.1';
8
 
9
  /**
10
  * Min required The Events Calendar version
src/Tribe/Tickets.php CHANGED
@@ -1565,8 +1565,14 @@ if ( ! class_exists( 'Tribe__Tickets__Tickets' ) ) {
1565
  */
1566
  $availability_check_interval = apply_filters( 'tribe_tickets_availability_check_interval', 60000 );
1567
 
 
 
 
 
 
 
1568
  return [
1569
- 'post_id' => get_the_ID(),
1570
  'ajaxurl' => admin_url( 'admin-ajax.php', ( is_ssl() ? 'https' : 'http' ) ),
1571
  'availability_check_interval' => $availability_check_interval,
1572
  ];
1565
  */
1566
  $availability_check_interval = apply_filters( 'tribe_tickets_availability_check_interval', 60000 );
1567
 
1568
+ $post_id = get_the_ID();
1569
+
1570
+ if ( empty( $post_id ) && get_queried_object() instanceof WP_Post ) {
1571
+ $post_id = get_queried_object_id();
1572
+ }
1573
+
1574
  return [
1575
+ 'post_id' => $post_id,
1576
  'ajaxurl' => admin_url( 'admin-ajax.php', ( is_ssl() ? 'https' : 'http' ) ),
1577
  'availability_check_interval' => $availability_check_interval,
1578
  ];
src/views/modal/registration-js.php CHANGED
@@ -7,8 +7,9 @@
7
  *
8
  * @since 4.11.0
9
  * @since 4.11.3 Reformat a bit of the code around the button - no functional changes.
 
10
  *
11
- * @version 4.11.3
12
  *
13
  */
14
  /** @var Tribe__Tickets__Attendee_Registration__View $view */
@@ -16,15 +17,19 @@ $view = tribe( 'tickets.attendee_registration.view' );
16
  /** @var Tribe__Tickets__Editor__Template $template */
17
  $template = tribe( 'tickets.editor.template' );
18
 
19
- // There should be only one!
20
- $providers = wp_list_pluck( $tickets, 'provider' );
21
- $providers_arr = array_unique( wp_list_pluck( $providers, 'attendee_object' ) );
22
- $provider = $providers[0];
23
- $provider_class = $view->get_form_class( $providers_arr[0] );
24
- $has_tpp = in_array( Tribe__Tickets__Commerce__PayPal__Main::ATTENDEE_OBJECT, $providers, true );
25
- $event_id = get_the_ID();
26
- $meta = Tribe__Tickets_Plus__Main::instance()->meta();
27
- $non_meta_count = 0;
 
 
 
 
28
  ?>
29
  <div class="tribe-tickets__item__attendee__fields">
30
  <h2 class="tribe-common-h3 tribe-common-h4--min-medium tribe-common-h--alt tribe-tickets__item__attendee__fields__title"><?php esc_html_e( 'Attendee Details', 'event-tickets' ); ?></h2>
7
  *
8
  * @since 4.11.0
9
  * @since 4.11.3 Reformat a bit of the code around the button - no functional changes.
10
+ * @since 4.11.3.1 Fix PHP errors when there are no tickets.
11
  *
12
+ * @version 4.11.3.1
13
  *
14
  */
15
  /** @var Tribe__Tickets__Attendee_Registration__View $view */
17
  /** @var Tribe__Tickets__Editor__Template $template */
18
  $template = tribe( 'tickets.editor.template' );
19
 
20
+ $providers = wp_list_pluck( $tickets, 'provider' );
21
+ $provider_class = '';
22
+ $has_tpp = false;
23
+ $event_id = get_the_ID();
24
+ $meta = Tribe__Tickets_Plus__Main::instance()->meta();
25
+ $non_meta_count = 0;
26
+
27
+ if ( ! empty( $providers ) ) {
28
+ $providers_arr = array_unique( wp_list_pluck( $providers, 'attendee_object' ) );
29
+ $provider = $providers[0];
30
+ $provider_class = $view->get_form_class( $providers_arr[0] );
31
+ $has_tpp = in_array( Tribe__Tickets__Commerce__PayPal__Main::ATTENDEE_OBJECT, $providers, true );
32
+ }
33
  ?>
34
  <div class="tribe-tickets__item__attendee__fields">
35
  <h2 class="tribe-common-h3 tribe-common-h4--min-medium tribe-common-h--alt tribe-tickets__item__attendee__fields__title"><?php esc_html_e( 'Attendee Details', 'event-tickets' ); ?></h2>
src/views/registration-js/content.php CHANGED
@@ -6,8 +6,9 @@
6
  * [your-theme]/tribe/tickets/registration-js/content.php
7
  *
8
  * @since 4.11.0
 
9
  *
10
- * @version 4.11.0
11
  *
12
  */
13
  $provider = $this->get( 'provider' ) ?: tribe_get_request_var( 'provider' );
@@ -21,7 +22,10 @@ if ( empty( $provider ) ) {
21
  $provider = $provider_obj->attendee_object;
22
  } elseif ( is_string( $provider ) ) {
23
  $provider_obj = tribe( 'tickets.attendee_registration.view' )->get_cart_provider( $provider );
24
- $provider = $provider_obj->attendee_object;
 
 
 
25
  }
26
 
27
  $non_meta_count = 0;
6
  * [your-theme]/tribe/tickets/registration-js/content.php
7
  *
8
  * @since 4.11.0
9
+ * @since 4.11.3.1 Fix handling where $provider is an object.
10
  *
11
+ * @version 4.11.3.1
12
  *
13
  */
14
  $provider = $this->get( 'provider' ) ?: tribe_get_request_var( 'provider' );
22
  $provider = $provider_obj->attendee_object;
23
  } elseif ( is_string( $provider ) ) {
24
  $provider_obj = tribe( 'tickets.attendee_registration.view' )->get_cart_provider( $provider );
25
+ $provider = $provider_obj->attendee_object;
26
+ } elseif ( $provider instanceof Tribe__Tickets__Tickets ) {
27
+ $provider_obj = $provider;
28
+ $provider = $provider_obj->attendee_object;
29
  }
30
 
31
  $non_meta_count = 0;
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitd97fda13c218b8d9946ccff09c6df4dc::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit10fdccfb51ee373a2c21e3eb6420947e::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitd97fda13c218b8d9946ccff09c6df4dc
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitd97fda13c218b8d9946ccff09c6df4dc
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitd97fda13c218b8d9946ccff09c6df4dc', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitd97fda13c218b8d9946ccff09c6df4dc', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitd97fda13c218b8d9946ccff09c6df4dc::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit10fdccfb51ee373a2c21e3eb6420947e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit10fdccfb51ee373a2c21e3eb6420947e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit10fdccfb51ee373a2c21e3eb6420947e', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit10fdccfb51ee373a2c21e3eb6420947e::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitd97fda13c218b8d9946ccff09c6df4dc
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -48,9 +48,9 @@ class ComposerStaticInitd97fda13c218b8d9946ccff09c6df4dc
48
  public static function getInitializer(ClassLoader $loader)
49
  {
50
  return \Closure::bind(function () use ($loader) {
51
- $loader->prefixLengthsPsr4 = ComposerStaticInitd97fda13c218b8d9946ccff09c6df4dc::$prefixLengthsPsr4;
52
- $loader->prefixDirsPsr4 = ComposerStaticInitd97fda13c218b8d9946ccff09c6df4dc::$prefixDirsPsr4;
53
- $loader->classMap = ComposerStaticInitd97fda13c218b8d9946ccff09c6df4dc::$classMap;
54
 
55
  }, null, ClassLoader::class);
56
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit10fdccfb51ee373a2c21e3eb6420947e
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
48
  public static function getInitializer(ClassLoader $loader)
49
  {
50
  return \Closure::bind(function () use ($loader) {
51
+ $loader->prefixLengthsPsr4 = ComposerStaticInit10fdccfb51ee373a2c21e3eb6420947e::$prefixLengthsPsr4;
52
+ $loader->prefixDirsPsr4 = ComposerStaticInit10fdccfb51ee373a2c21e3eb6420947e::$prefixDirsPsr4;
53
+ $loader->classMap = ComposerStaticInit10fdccfb51ee373a2c21e3eb6420947e::$classMap;
54
 
55
  }, null, ClassLoader::class);
56
  }