Cookiebot | GDPR Compliant Cookie Consent and Notice - Version 3.10.0

Version Description

Download this release

Release Info

Developer aytac
Plugin Icon 128x128 Cookiebot | GDPR Compliant Cookie Consent and Notice
Version 3.10.0
Comparing to
See all releases

Code changes from version 3.9.0 to 3.10.0

Files changed (151) hide show
  1. addons/addons.json +7 -0
  2. addons/composer.json +37 -2
  3. addons/composer.lock +987 -11
  4. addons/config/settings-config.php +10 -10
  5. addons/controller/addons/add-to-any/add-to-any.php +47 -1
  6. addons/controller/addons/custom-facebook-feed-old/custom-facebook-feed-old.php +347 -0
  7. addons/controller/addons/custom-facebook-feed/custom-facebook-feed.php +33 -296
  8. addons/controller/addons/embed-autocorrect/embed-autocorrect.php +12 -11
  9. addons/controller/addons/enfold/enfold.php +326 -0
  10. addons/controller/addons/enhanced-ecommerce-for-woocommerce-store/enhanced-ecommerce-for-woocommerce-store.php +1 -1
  11. addons/controller/addons/gadwp/gadwp.php +19 -10
  12. addons/controller/addons/google-analytics-plus/google-analytics-plus.php +1 -1
  13. addons/controller/addons/google-analytics/google-analytics.php +1 -1
  14. addons/controller/addons/google-site-kit/google-site-kit.php +1 -1
  15. addons/controller/addons/jetpack/visitor-cookies.php +2 -2
  16. addons/controller/addons/jetpack/widget/facebook-widget.php +2 -2
  17. addons/controller/addons/jetpack/widget/goodreads-widget.php +1 -1
  18. addons/controller/addons/jetpack/widget/google-maps-widget.php +1 -1
  19. addons/controller/addons/jetpack/widget/googleplus-badge-widget.php +1 -1
  20. addons/controller/addons/jetpack/widget/internet-defense-league-widget.php +1 -1
  21. addons/controller/addons/jetpack/widget/twitter-timeline-widget.php +1 -1
  22. addons/controller/addons/litespeed-cache/litespeed-cache.php +1 -1
  23. addons/controller/addons/official-facebook-pixel/official-facebook-pixel.php +3 -1
  24. addons/controller/addons/optinmonster/optinmonster.php +1 -1
  25. addons/controller/addons/pixel-caffeine/pixel-caffeine.php +1 -1
  26. addons/controller/addons/simple-share-buttons-adder/simple-share-buttons-adder.php +1 -1
  27. addons/controller/addons/wp-rocket/wp-rocket.php +1 -1
  28. addons/controller/addons/wpforms/wpforms.php +2 -2
  29. addons/controller/plugin-controller.php +5 -5
  30. addons/cookiebot-addons-init.php +12 -7
  31. addons/inc/Dependencies/DI/Annotation/Inject.php +95 -0
  32. addons/inc/Dependencies/DI/Annotation/Injectable.php +74 -0
  33. addons/inc/Dependencies/DI/Container.php +340 -0
  34. addons/inc/Dependencies/DI/ContainerBuilder.php +258 -0
  35. addons/inc/Dependencies/DI/Debug.php +39 -0
  36. addons/inc/Dependencies/DI/Definition/AbstractFunctionCallDefinition.php +82 -0
  37. addons/inc/Dependencies/DI/Definition/AliasDefinition.php +66 -0
  38. addons/inc/Dependencies/DI/Definition/ArrayDefinition.php +66 -0
  39. addons/inc/Dependencies/DI/Definition/ArrayDefinitionExtension.php +61 -0
  40. addons/inc/Dependencies/DI/Definition/CacheableDefinition.php +19 -0
  41. addons/inc/Dependencies/DI/Definition/DecoratorDefinition.php +48 -0
  42. addons/inc/Dependencies/DI/Definition/Definition.php +32 -0
  43. addons/inc/Dependencies/DI/Definition/Dumper/AliasDefinitionDumper.php +48 -0
  44. addons/inc/Dependencies/DI/Definition/Dumper/ArrayDefinitionDumper.php +65 -0
  45. addons/inc/Dependencies/DI/Definition/Dumper/DecoratorDefinitionDumper.php +37 -0
  46. addons/inc/Dependencies/DI/Definition/Dumper/DefinitionDumper.php +30 -0
  47. addons/inc/Dependencies/DI/Definition/Dumper/DefinitionDumperDispatcher.php +68 -0
  48. addons/inc/Dependencies/DI/Definition/Dumper/EnvironmentVariableDefinitionDumper.php +63 -0
  49. addons/inc/Dependencies/DI/Definition/Dumper/FactoryDefinitionDumper.php +37 -0
  50. addons/inc/Dependencies/DI/Definition/Dumper/ObjectDefinitionDumper.php +156 -0
  51. addons/inc/Dependencies/DI/Definition/Dumper/StringDefinitionDumper.php +37 -0
  52. addons/inc/Dependencies/DI/Definition/Dumper/ValueDefinitionDumper.php +44 -0
  53. addons/inc/Dependencies/DI/Definition/EntryReference.php +52 -0
  54. addons/inc/Dependencies/DI/Definition/EnvironmentVariableDefinition.php +116 -0
  55. addons/inc/Dependencies/DI/Definition/Exception/AnnotationException.php +19 -0
  56. addons/inc/Dependencies/DI/Definition/Exception/DefinitionException.php +30 -0
  57. addons/inc/Dependencies/DI/Definition/FactoryDefinition.php +75 -0
  58. addons/inc/Dependencies/DI/Definition/HasSubDefinition.php +28 -0
  59. addons/inc/Dependencies/DI/Definition/Helper/ArrayDefinitionExtensionHelper.php +46 -0
  60. addons/inc/Dependencies/DI/Definition/Helper/DefinitionHelper.php +24 -0
  61. addons/inc/Dependencies/DI/Definition/Helper/EnvironmentVariableDefinitionHelper.php +64 -0
  62. addons/inc/Dependencies/DI/Definition/Helper/FactoryDefinitionHelper.php +72 -0
  63. addons/inc/Dependencies/DI/Definition/Helper/ObjectDefinitionHelper.php +273 -0
  64. addons/inc/Dependencies/DI/Definition/Helper/StringDefinitionHelper.php +39 -0
  65. addons/inc/Dependencies/DI/Definition/Helper/ValueDefinitionHelper.php +42 -0
  66. addons/inc/Dependencies/DI/Definition/InstanceDefinition.php +76 -0
  67. addons/inc/Dependencies/DI/Definition/ObjectDefinition.php +294 -0
  68. addons/inc/Dependencies/DI/Definition/ObjectDefinition/MethodInjection.php +54 -0
  69. addons/inc/Dependencies/DI/Definition/ObjectDefinition/PropertyInjection.php +56 -0
  70. addons/inc/Dependencies/DI/Definition/Resolver/AliasResolver.php +77 -0
  71. addons/inc/Dependencies/DI/Definition/Resolver/ArrayResolver.php +105 -0
  72. addons/inc/Dependencies/DI/Definition/Resolver/DecoratorResolver.php +107 -0
  73. addons/inc/Dependencies/DI/Definition/Resolver/DefinitionResolver.php +44 -0
  74. addons/inc/Dependencies/DI/Definition/Resolver/EnvironmentVariableResolver.php +94 -0
  75. addons/inc/Dependencies/DI/Definition/Resolver/FactoryResolver.php +85 -0
  76. addons/inc/Dependencies/DI/Definition/Resolver/InstanceInjector.php +67 -0
  77. addons/inc/Dependencies/DI/Definition/Resolver/ObjectCreator.php +266 -0
  78. addons/inc/Dependencies/DI/Definition/Resolver/ParameterResolver.php +138 -0
  79. addons/inc/Dependencies/DI/Definition/Resolver/ResolverDispatcher.php +141 -0
  80. addons/inc/Dependencies/DI/Definition/Resolver/StringResolver.php +95 -0
  81. addons/inc/Dependencies/DI/Definition/Resolver/ValueResolver.php +58 -0
  82. addons/inc/Dependencies/DI/Definition/Source/AnnotationReader.php +298 -0
  83. addons/inc/Dependencies/DI/Definition/Source/Autowiring.php +68 -0
  84. addons/inc/Dependencies/DI/Definition/Source/CachedDefinitionSource.php +104 -0
  85. addons/inc/Dependencies/DI/Definition/Source/DefinitionArray.php +142 -0
  86. addons/inc/Dependencies/DI/Definition/Source/DefinitionFile.php +74 -0
  87. addons/inc/Dependencies/DI/Definition/Source/DefinitionSource.php +31 -0
  88. addons/inc/Dependencies/DI/Definition/Source/MutableDefinitionSource.php +15 -0
  89. addons/inc/Dependencies/DI/Definition/Source/SourceChain.php +108 -0
  90. addons/inc/Dependencies/DI/Definition/StringDefinition.php +66 -0
  91. addons/inc/Dependencies/DI/Definition/ValueDefinition.php +67 -0
  92. addons/inc/Dependencies/DI/DependencyException.php +19 -0
  93. addons/inc/Dependencies/DI/FactoryInterface.php +34 -0
  94. addons/inc/Dependencies/DI/Invoker/DefinitionParameterResolver.php +45 -0
  95. addons/inc/Dependencies/DI/InvokerInterface.php +19 -0
  96. addons/inc/Dependencies/DI/NotFoundException.php +19 -0
  97. addons/inc/Dependencies/DI/Proxy/ProxyFactory.php +88 -0
  98. addons/inc/Dependencies/DI/Reflection/CallableReflectionFactory.php +51 -0
  99. addons/inc/Dependencies/DI/Scope.php +54 -0
  100. addons/inc/Dependencies/DI/functions.php +181 -0
  101. addons/inc/Dependencies/Interop/Container/ContainerInterface.php +15 -0
  102. addons/inc/Dependencies/Interop/Container/Exception/ContainerException.php +15 -0
  103. addons/inc/Dependencies/Interop/Container/Exception/NotFoundException.php +15 -0
  104. addons/inc/Dependencies/Invoker/CallableResolver.php +127 -0
  105. addons/inc/Dependencies/Invoker/Exception/InvocationException.php +12 -0
  106. addons/inc/Dependencies/Invoker/Exception/NotCallableException.php +35 -0
  107. addons/inc/Dependencies/Invoker/Exception/NotEnoughParametersException.php +12 -0
  108. addons/inc/Dependencies/Invoker/Invoker.php +122 -0
  109. addons/inc/Dependencies/Invoker/InvokerInterface.php +29 -0
  110. addons/inc/Dependencies/Invoker/ParameterResolver/AssociativeArrayResolver.php +39 -0
  111. addons/inc/Dependencies/Invoker/ParameterResolver/Container/ParameterNameContainerResolver.php +51 -0
  112. addons/inc/Dependencies/Invoker/ParameterResolver/Container/TypeHintContainerResolver.php +51 -0
  113. addons/inc/Dependencies/Invoker/ParameterResolver/DefaultValueResolver.php +40 -0
  114. addons/inc/Dependencies/Invoker/ParameterResolver/NumericArrayResolver.php +39 -0
  115. addons/inc/Dependencies/Invoker/ParameterResolver/ParameterResolver.php +33 -0
  116. addons/inc/Dependencies/Invoker/ParameterResolver/ResolverChain.php +69 -0
  117. addons/inc/Dependencies/Invoker/ParameterResolver/TypeHintResolver.php +39 -0
  118. addons/inc/Dependencies/Invoker/Reflection/CallableReflection.php +61 -0
  119. addons/inc/Dependencies/PhpDocReader/AnnotationException.php +10 -0
  120. addons/inc/Dependencies/PhpDocReader/PhpDocReader.php +307 -0
  121. addons/inc/Dependencies/PhpDocReader/PhpParser/TokenParser.php +182 -0
  122. addons/inc/Dependencies/PhpDocReader/PhpParser/UseStatementParser.php +64 -0
  123. addons/inc/Dependencies/Psr/Container/ContainerExceptionInterface.php +13 -0
  124. addons/inc/Dependencies/Psr/Container/ContainerInterface.php +37 -0
  125. addons/inc/Dependencies/Psr/Container/NotFoundExceptionInterface.php +13 -0
  126. addons/inc/classes/dependencies/.gitkeep +0 -0
  127. addons/lib/helper.php +47 -3
  128. addons/lib/settings-service-interface.php +6 -5
  129. addons/lib/settings-service.php +12 -8
  130. addons/lib/theme-settings-service.php +70 -0
  131. addons/tests/integration/addons/test-custom-facebook-feed-old.php +24 -0
  132. addons/tests/integration/addons/test-custom-facebook-feed.php +5 -6
  133. addons/tests/integration/addons/test-google-site-kit.php +1 -1
  134. addons/tests/integration/addons/test-official-facebook-pixel.php +1 -1
  135. addons/tests/integration/test-buffer-priorities.php +0 -9
  136. addons/vendor/autoload.php +7 -0
  137. addons/vendor/composer/ClassLoader.php +445 -0
  138. addons/vendor/composer/LICENSE +21 -0
  139. addons/vendor/composer/autoload_classmap.php +9 -0
  140. addons/vendor/composer/autoload_files.php +10 -0
  141. addons/vendor/composer/autoload_namespaces.php +9 -0
  142. addons/vendor/composer/autoload_psr4.php +10 -0
  143. addons/vendor/composer/autoload_real.php +73 -0
  144. addons/vendor/composer/autoload_static.php +35 -0
  145. addons/vendor/composer/installed.json +1224 -0
  146. addons/view/admin/settings/available-addon-callback.php +7 -20
  147. addons/view/admin/settings/jetpack-addon-callback.php +7 -7
  148. addons/view/admin/settings/setting-page.php +6 -6
  149. cookiebot.php +1389 -1261
  150. readme.txt +14 -2
  151. widgets/cookiebot-declaration-widget.php +4 -4
addons/addons.json CHANGED
@@ -23,6 +23,9 @@
23
  "Hubspot_Tracking_Code": {
24
  "class": "cookiebot_addons\\controller\\addons\\hubspot_tracking_code\\Hubspot_Tracking_Code"
25
  },
 
 
 
26
  "Custom_Facebook_Feed": {
27
  "class": "cookiebot_addons\\controller\\addons\\custom_facebook_feed\\Custom_Facebook_Feed"
28
  },
@@ -94,5 +97,9 @@
94
  },
95
  "Google_Site_Kit": {
96
  "class": "cookiebot_addons\\controller\\addons\\google_site_kit\\Google_Site_Kit"
 
 
 
 
97
  }
98
  }
23
  "Hubspot_Tracking_Code": {
24
  "class": "cookiebot_addons\\controller\\addons\\hubspot_tracking_code\\Hubspot_Tracking_Code"
25
  },
26
+ "Custom_Facebook_Feed_Old": {
27
+ "class": "cookiebot_addons\\controller\\addons\\custom_facebook_feed_old\\Custom_Facebook_Feed_Old"
28
+ },
29
  "Custom_Facebook_Feed": {
30
  "class": "cookiebot_addons\\controller\\addons\\custom_facebook_feed\\Custom_Facebook_Feed"
31
  },
97
  },
98
  "Google_Site_Kit": {
99
  "class": "cookiebot_addons\\controller\\addons\\google_site_kit\\Google_Site_Kit"
100
+ },
101
+ "Enfold": {
102
+ "class": "cookiebot_addons\\controller\\addons\\enfold\\Enfold",
103
+ "is_theme": true
104
  }
105
  }
addons/composer.json CHANGED
@@ -2,7 +2,42 @@
2
  "require": {
3
  "php-di/php-di": "5.0"
4
  },
5
- "config":{
6
- "prepend-autoloader": false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
8
  }
2
  "require": {
3
  "php-di/php-di": "5.0"
4
  },
5
+ "require-dev": {
6
+ "coenjacobs/mozart": "^0.6.0-beta-3"
7
+ },
8
+ "extra": {
9
+ "mozart": {
10
+ "dep_namespace": "Cybot\\Dependencies\\",
11
+ "dep_directory": "/inc/Dependencies/",
12
+ "classmap_directory": "/inc/classes/dependencies/",
13
+ "classmap_prefix": "Cybot_",
14
+ "packages": [
15
+ "php-di/php-di"
16
+ ],
17
+ "delete_vendor_directories": true
18
+ }
19
+ },
20
+ "autoload": {
21
+ "classmap": [
22
+ "inc/classes"
23
+ ],
24
+ "psr-4": {
25
+ "Cybot\\": "inc/"
26
+ },
27
+ "files": [
28
+ "inc/Dependencies/DI/functions.php"
29
+ ]
30
+ },
31
+ "scripts": {
32
+ "post-install-cmd": [
33
+ "\"vendor/bin/mozart\" compose",
34
+ "rm -Rf vendor/symfony vendor/coenjacobs vendor/league",
35
+ "composer dump-autoload"
36
+ ],
37
+ "post-update-cmd": [
38
+ "\"vendor/bin/mozart\" compose",
39
+ "rm -Rf vendor/symfony vendor/coenjacobs vendor/league",
40
+ "composer dump-autoload"
41
+ ]
42
  }
43
  }
addons/composer.lock CHANGED
@@ -4,7 +4,7 @@
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
- "content-hash": "201899dc63377043c49159a10773dd47",
8
  "packages": [
9
  {
10
  "name": "container-interop/container-interop",
@@ -35,6 +35,7 @@
35
  ],
36
  "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
37
  "homepage": "https://github.com/container-interop/container-interop",
 
38
  "time": "2017-02-14T19:40:03+00:00"
39
  },
40
  {
@@ -136,23 +137,24 @@
136
  },
137
  {
138
  "name": "php-di/phpdoc-reader",
139
- "version": "2.1.1",
140
  "source": {
141
  "type": "git",
142
  "url": "https://github.com/PHP-DI/PhpDocReader.git",
143
- "reference": "15678f7451c020226807f520efb867ad26fbbfcf"
144
  },
145
  "dist": {
146
  "type": "zip",
147
- "url": "https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/15678f7451c020226807f520efb867ad26fbbfcf",
148
- "reference": "15678f7451c020226807f520efb867ad26fbbfcf",
149
  "shasum": ""
150
  },
151
  "require": {
152
- "php": ">=5.4.0"
153
  },
154
  "require-dev": {
155
- "phpunit/phpunit": "~4.6"
 
156
  },
157
  "type": "library",
158
  "autoload": {
@@ -169,7 +171,7 @@
169
  "phpdoc",
170
  "reflection"
171
  ],
172
- "time": "2019-09-26T11:24:58+00:00"
173
  },
174
  {
175
  "name": "psr/container",
@@ -221,12 +223,986 @@
221
  "time": "2017-02-14T16:28:37+00:00"
222
  }
223
  ],
224
- "packages-dev": [],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  "aliases": [],
226
  "minimum-stability": "stable",
227
- "stability-flags": [],
 
 
228
  "prefer-stable": false,
229
  "prefer-lowest": false,
230
  "platform": [],
231
- "platform-dev": []
 
232
  }
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
+ "content-hash": "da8cd89411908476f7e244c8b5404934",
8
  "packages": [
9
  {
10
  "name": "container-interop/container-interop",
35
  ],
36
  "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
37
  "homepage": "https://github.com/container-interop/container-interop",
38
+ "abandoned": "psr/container",
39
  "time": "2017-02-14T19:40:03+00:00"
40
  },
41
  {
137
  },
138
  {
139
  "name": "php-di/phpdoc-reader",
140
+ "version": "2.2.1",
141
  "source": {
142
  "type": "git",
143
  "url": "https://github.com/PHP-DI/PhpDocReader.git",
144
+ "reference": "66daff34cbd2627740ffec9469ffbac9f8c8185c"
145
  },
146
  "dist": {
147
  "type": "zip",
148
+ "url": "https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/66daff34cbd2627740ffec9469ffbac9f8c8185c",
149
+ "reference": "66daff34cbd2627740ffec9469ffbac9f8c8185c",
150
  "shasum": ""
151
  },
152
  "require": {
153
+ "php": ">=7.2.0"
154
  },
155
  "require-dev": {
156
+ "mnapoli/hard-mode": "~0.3.0",
157
+ "phpunit/phpunit": "^8.5|^9.0"
158
  },
159
  "type": "library",
160
  "autoload": {
171
  "phpdoc",
172
  "reflection"
173
  ],
174
+ "time": "2020-10-12T12:39:22+00:00"
175
  },
176
  {
177
  "name": "psr/container",
223
  "time": "2017-02-14T16:28:37+00:00"
224
  }
225
  ],
226
+ "packages-dev": [
227
+ {
228
+ "name": "coenjacobs/mozart",
229
+ "version": "0.6.0-beta-3",
230
+ "source": {
231
+ "type": "git",
232
+ "url": "https://github.com/coenjacobs/mozart.git",
233
+ "reference": "965d698d76639587b26c878b22f4373c32f3d9ee"
234
+ },
235
+ "dist": {
236
+ "type": "zip",
237
+ "url": "https://api.github.com/repos/coenjacobs/mozart/zipball/965d698d76639587b26c878b22f4373c32f3d9ee",
238
+ "reference": "965d698d76639587b26c878b22f4373c32f3d9ee",
239
+ "shasum": ""
240
+ },
241
+ "require": {
242
+ "league/flysystem": "^1.0",
243
+ "php": "^7.2",
244
+ "symfony/console": "^4|^5",
245
+ "symfony/finder": "^4|^5"
246
+ },
247
+ "require-dev": {
248
+ "phpunit/phpunit": "^8.5",
249
+ "squizlabs/php_codesniffer": "^3.5"
250
+ },
251
+ "bin": [
252
+ "bin/mozart"
253
+ ],
254
+ "type": "library",
255
+ "autoload": {
256
+ "psr-4": {
257
+ "CoenJacobs\\Mozart\\": "src/"
258
+ }
259
+ },
260
+ "notification-url": "https://packagist.org/downloads/",
261
+ "license": [
262
+ "MIT"
263
+ ],
264
+ "authors": [
265
+ {
266
+ "name": "Coen Jacobs",
267
+ "email": "coenjacobs@gmail.com"
268
+ }
269
+ ],
270
+ "description": "Composes all dependencies as a package inside a WordPress plugin",
271
+ "funding": [
272
+ {
273
+ "url": "https://github.com/coenjacobs",
274
+ "type": "github"
275
+ }
276
+ ],
277
+ "time": "2020-06-02T06:54:01+00:00"
278
+ },
279
+ {
280
+ "name": "league/flysystem",
281
+ "version": "1.1.3",
282
+ "source": {
283
+ "type": "git",
284
+ "url": "https://github.com/thephpleague/flysystem.git",
285
+ "reference": "9be3b16c877d477357c015cec057548cf9b2a14a"
286
+ },
287
+ "dist": {
288
+ "type": "zip",
289
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a",
290
+ "reference": "9be3b16c877d477357c015cec057548cf9b2a14a",
291
+ "shasum": ""
292
+ },
293
+ "require": {
294
+ "ext-fileinfo": "*",
295
+ "league/mime-type-detection": "^1.3",
296
+ "php": "^7.2.5 || ^8.0"
297
+ },
298
+ "conflict": {
299
+ "league/flysystem-sftp": "<1.0.6"
300
+ },
301
+ "require-dev": {
302
+ "phpspec/prophecy": "^1.11.1",
303
+ "phpunit/phpunit": "^8.5.8"
304
+ },
305
+ "suggest": {
306
+ "ext-fileinfo": "Required for MimeType",
307
+ "ext-ftp": "Allows you to use FTP server storage",
308
+ "ext-openssl": "Allows you to use FTPS server storage",
309
+ "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2",
310
+ "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3",
311
+ "league/flysystem-azure": "Allows you to use Windows Azure Blob storage",
312
+ "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching",
313
+ "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem",
314
+ "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files",
315
+ "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib",
316
+ "league/flysystem-webdav": "Allows you to use WebDAV storage",
317
+ "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter",
318
+ "spatie/flysystem-dropbox": "Allows you to use Dropbox storage",
319
+ "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications"
320
+ },
321
+ "type": "library",
322
+ "extra": {
323
+ "branch-alias": {
324
+ "dev-master": "1.1-dev"
325
+ }
326
+ },
327
+ "autoload": {
328
+ "psr-4": {
329
+ "League\\Flysystem\\": "src/"
330
+ }
331
+ },
332
+ "notification-url": "https://packagist.org/downloads/",
333
+ "license": [
334
+ "MIT"
335
+ ],
336
+ "authors": [
337
+ {
338
+ "name": "Frank de Jonge",
339
+ "email": "info@frenky.net"
340
+ }
341
+ ],
342
+ "description": "Filesystem abstraction: Many filesystems, one API.",
343
+ "keywords": [
344
+ "Cloud Files",
345
+ "WebDAV",
346
+ "abstraction",
347
+ "aws",
348
+ "cloud",
349
+ "copy.com",
350
+ "dropbox",
351
+ "file systems",
352
+ "files",
353
+ "filesystem",
354
+ "filesystems",
355
+ "ftp",
356
+ "rackspace",
357
+ "remote",
358
+ "s3",
359
+ "sftp",
360
+ "storage"
361
+ ],
362
+ "funding": [
363
+ {
364
+ "url": "https://offset.earth/frankdejonge",
365
+ "type": "other"
366
+ }
367
+ ],
368
+ "time": "2020-08-23T07:39:11+00:00"
369
+ },
370
+ {
371
+ "name": "league/mime-type-detection",
372
+ "version": "1.5.1",
373
+ "source": {
374
+ "type": "git",
375
+ "url": "https://github.com/thephpleague/mime-type-detection.git",
376
+ "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa"
377
+ },
378
+ "dist": {
379
+ "type": "zip",
380
+ "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/353f66d7555d8a90781f6f5e7091932f9a4250aa",
381
+ "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa",
382
+ "shasum": ""
383
+ },
384
+ "require": {
385
+ "ext-fileinfo": "*",
386
+ "php": "^7.2 || ^8.0"
387
+ },
388
+ "require-dev": {
389
+ "phpstan/phpstan": "^0.12.36",
390
+ "phpunit/phpunit": "^8.5.8"
391
+ },
392
+ "type": "library",
393
+ "autoload": {
394
+ "psr-4": {
395
+ "League\\MimeTypeDetection\\": "src"
396
+ }
397
+ },
398
+ "notification-url": "https://packagist.org/downloads/",
399
+ "license": [
400
+ "MIT"
401
+ ],
402
+ "authors": [
403
+ {
404
+ "name": "Frank de Jonge",
405
+ "email": "info@frankdejonge.nl"
406
+ }
407
+ ],
408
+ "description": "Mime-type detection for Flysystem",
409
+ "funding": [
410
+ {
411
+ "url": "https://github.com/frankdejonge",
412
+ "type": "github"
413
+ },
414
+ {
415
+ "url": "https://tidelift.com/funding/github/packagist/league/flysystem",
416
+ "type": "tidelift"
417
+ }
418
+ ],
419
+ "time": "2020-10-18T11:50:25+00:00"
420
+ },
421
+ {
422
+ "name": "symfony/console",
423
+ "version": "v5.2.1",
424
+ "source": {
425
+ "type": "git",
426
+ "url": "https://github.com/symfony/console.git",
427
+ "reference": "47c02526c532fb381374dab26df05e7313978976"
428
+ },
429
+ "dist": {
430
+ "type": "zip",
431
+ "url": "https://api.github.com/repos/symfony/console/zipball/47c02526c532fb381374dab26df05e7313978976",
432
+ "reference": "47c02526c532fb381374dab26df05e7313978976",
433
+ "shasum": ""
434
+ },
435
+ "require": {
436
+ "php": ">=7.2.5",
437
+ "symfony/polyfill-mbstring": "~1.0",
438
+ "symfony/polyfill-php73": "^1.8",
439
+ "symfony/polyfill-php80": "^1.15",
440
+ "symfony/service-contracts": "^1.1|^2",
441
+ "symfony/string": "^5.1"
442
+ },
443
+ "conflict": {
444
+ "symfony/dependency-injection": "<4.4",
445
+ "symfony/dotenv": "<5.1",
446
+ "symfony/event-dispatcher": "<4.4",
447
+ "symfony/lock": "<4.4",
448
+ "symfony/process": "<4.4"
449
+ },
450
+ "provide": {
451
+ "psr/log-implementation": "1.0"
452
+ },
453
+ "require-dev": {
454
+ "psr/log": "~1.0",
455
+ "symfony/config": "^4.4|^5.0",
456
+ "symfony/dependency-injection": "^4.4|^5.0",
457
+ "symfony/event-dispatcher": "^4.4|^5.0",
458
+ "symfony/lock": "^4.4|^5.0",
459
+ "symfony/process": "^4.4|^5.0",
460
+ "symfony/var-dumper": "^4.4|^5.0"
461
+ },
462
+ "suggest": {
463
+ "psr/log": "For using the console logger",
464
+ "symfony/event-dispatcher": "",
465
+ "symfony/lock": "",
466
+ "symfony/process": ""
467
+ },
468
+ "type": "library",
469
+ "autoload": {
470
+ "psr-4": {
471
+ "Symfony\\Component\\Console\\": ""
472
+ },
473
+ "exclude-from-classmap": [
474
+ "/Tests/"
475
+ ]
476
+ },
477
+ "notification-url": "https://packagist.org/downloads/",
478
+ "license": [
479
+ "MIT"
480
+ ],
481
+ "authors": [
482
+ {
483
+ "name": "Fabien Potencier",
484
+ "email": "fabien@symfony.com"
485
+ },
486
+ {
487
+ "name": "Symfony Community",
488
+ "homepage": "https://symfony.com/contributors"
489
+ }
490
+ ],
491
+ "description": "Symfony Console Component",
492
+ "homepage": "https://symfony.com",
493
+ "keywords": [
494
+ "cli",
495
+ "command line",
496
+ "console",
497
+ "terminal"
498
+ ],
499
+ "funding": [
500
+ {
501
+ "url": "https://symfony.com/sponsor",
502
+ "type": "custom"
503
+ },
504
+ {
505
+ "url": "https://github.com/fabpot",
506
+ "type": "github"
507
+ },
508
+ {
509
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
510
+ "type": "tidelift"
511
+ }
512
+ ],
513
+ "time": "2020-12-18T08:03:05+00:00"
514
+ },
515
+ {
516
+ "name": "symfony/finder",
517
+ "version": "v5.2.1",
518
+ "source": {
519
+ "type": "git",
520
+ "url": "https://github.com/symfony/finder.git",
521
+ "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba"
522
+ },
523
+ "dist": {
524
+ "type": "zip",
525
+ "url": "https://api.github.com/repos/symfony/finder/zipball/0b9231a5922fd7287ba5b411893c0ecd2733e5ba",
526
+ "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba",
527
+ "shasum": ""
528
+ },
529
+ "require": {
530
+ "php": ">=7.2.5"
531
+ },
532
+ "type": "library",
533
+ "autoload": {
534
+ "psr-4": {
535
+ "Symfony\\Component\\Finder\\": ""
536
+ },
537
+ "exclude-from-classmap": [
538
+ "/Tests/"
539
+ ]
540
+ },
541
+ "notification-url": "https://packagist.org/downloads/",
542
+ "license": [
543
+ "MIT"
544
+ ],
545
+ "authors": [
546
+ {
547
+ "name": "Fabien Potencier",
548
+ "email": "fabien@symfony.com"
549
+ },
550
+ {
551
+ "name": "Symfony Community",
552
+ "homepage": "https://symfony.com/contributors"
553
+ }
554
+ ],
555
+ "description": "Symfony Finder Component",
556
+ "homepage": "https://symfony.com",
557
+ "funding": [
558
+ {
559
+ "url": "https://symfony.com/sponsor",
560
+ "type": "custom"
561
+ },
562
+ {
563
+ "url": "https://github.com/fabpot",
564
+ "type": "github"
565
+ },
566
+ {
567
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
568
+ "type": "tidelift"
569
+ }
570
+ ],
571
+ "time": "2020-12-08T17:02:38+00:00"
572
+ },
573
+ {
574
+ "name": "symfony/polyfill-ctype",
575
+ "version": "v1.22.0",
576
+ "source": {
577
+ "type": "git",
578
+ "url": "https://github.com/symfony/polyfill-ctype.git",
579
+ "reference": "c6c942b1ac76c82448322025e084cadc56048b4e"
580
+ },
581
+ "dist": {
582
+ "type": "zip",
583
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e",
584
+ "reference": "c6c942b1ac76c82448322025e084cadc56048b4e",
585
+ "shasum": ""
586
+ },
587
+ "require": {
588
+ "php": ">=7.1"
589
+ },
590
+ "suggest": {
591
+ "ext-ctype": "For best performance"
592
+ },
593
+ "type": "library",
594
+ "extra": {
595
+ "branch-alias": {
596
+ "dev-main": "1.22-dev"
597
+ },
598
+ "thanks": {
599
+ "name": "symfony/polyfill",
600
+ "url": "https://github.com/symfony/polyfill"
601
+ }
602
+ },
603
+ "autoload": {
604
+ "psr-4": {
605
+ "Symfony\\Polyfill\\Ctype\\": ""
606
+ },
607
+ "files": [
608
+ "bootstrap.php"
609
+ ]
610
+ },
611
+ "notification-url": "https://packagist.org/downloads/",
612
+ "license": [
613
+ "MIT"
614
+ ],
615
+ "authors": [
616
+ {
617
+ "name": "Gert de Pagter",
618
+ "email": "BackEndTea@gmail.com"
619
+ },
620
+ {
621
+ "name": "Symfony Community",
622
+ "homepage": "https://symfony.com/contributors"
623
+ }
624
+ ],
625
+ "description": "Symfony polyfill for ctype functions",
626
+ "homepage": "https://symfony.com",
627
+ "keywords": [
628
+ "compatibility",
629
+ "ctype",
630
+ "polyfill",
631
+ "portable"
632
+ ],
633
+ "funding": [
634
+ {
635
+ "url": "https://symfony.com/sponsor",
636
+ "type": "custom"
637
+ },
638
+ {
639
+ "url": "https://github.com/fabpot",
640
+ "type": "github"
641
+ },
642
+ {
643
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
644
+ "type": "tidelift"
645
+ }
646
+ ],
647
+ "time": "2021-01-07T16:49:33+00:00"
648
+ },
649
+ {
650
+ "name": "symfony/polyfill-intl-grapheme",
651
+ "version": "v1.22.0",
652
+ "source": {
653
+ "type": "git",
654
+ "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
655
+ "reference": "267a9adeb8ecb8071040a740930e077cdfb987af"
656
+ },
657
+ "dist": {
658
+ "type": "zip",
659
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af",
660
+ "reference": "267a9adeb8ecb8071040a740930e077cdfb987af",
661
+ "shasum": ""
662
+ },
663
+ "require": {
664
+ "php": ">=7.1"
665
+ },
666
+ "suggest": {
667
+ "ext-intl": "For best performance"
668
+ },
669
+ "type": "library",
670
+ "extra": {
671
+ "branch-alias": {
672
+ "dev-main": "1.22-dev"
673
+ },
674
+ "thanks": {
675
+ "name": "symfony/polyfill",
676
+ "url": "https://github.com/symfony/polyfill"
677
+ }
678
+ },
679
+ "autoload": {
680
+ "psr-4": {
681
+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
682
+ },
683
+ "files": [
684
+ "bootstrap.php"
685
+ ]
686
+ },
687
+ "notification-url": "https://packagist.org/downloads/",
688
+ "license": [
689
+ "MIT"
690
+ ],
691
+ "authors": [
692
+ {
693
+ "name": "Nicolas Grekas",
694
+ "email": "p@tchwork.com"
695
+ },
696
+ {
697
+ "name": "Symfony Community",
698
+ "homepage": "https://symfony.com/contributors"
699
+ }
700
+ ],
701
+ "description": "Symfony polyfill for intl's grapheme_* functions",
702
+ "homepage": "https://symfony.com",
703
+ "keywords": [
704
+ "compatibility",
705
+ "grapheme",
706
+ "intl",
707
+ "polyfill",
708
+ "portable",
709
+ "shim"
710
+ ],
711
+ "funding": [
712
+ {
713
+ "url": "https://symfony.com/sponsor",
714
+ "type": "custom"
715
+ },
716
+ {
717
+ "url": "https://github.com/fabpot",
718
+ "type": "github"
719
+ },
720
+ {
721
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
722
+ "type": "tidelift"
723
+ }
724
+ ],
725
+ "time": "2021-01-07T16:49:33+00:00"
726
+ },
727
+ {
728
+ "name": "symfony/polyfill-intl-normalizer",
729
+ "version": "v1.22.0",
730
+ "source": {
731
+ "type": "git",
732
+ "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
733
+ "reference": "6e971c891537eb617a00bb07a43d182a6915faba"
734
+ },
735
+ "dist": {
736
+ "type": "zip",
737
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/6e971c891537eb617a00bb07a43d182a6915faba",
738
+ "reference": "6e971c891537eb617a00bb07a43d182a6915faba",
739
+ "shasum": ""
740
+ },
741
+ "require": {
742
+ "php": ">=7.1"
743
+ },
744
+ "suggest": {
745
+ "ext-intl": "For best performance"
746
+ },
747
+ "type": "library",
748
+ "extra": {
749
+ "branch-alias": {
750
+ "dev-main": "1.22-dev"
751
+ },
752
+ "thanks": {
753
+ "name": "symfony/polyfill",
754
+ "url": "https://github.com/symfony/polyfill"
755
+ }
756
+ },
757
+ "autoload": {
758
+ "psr-4": {
759
+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
760
+ },
761
+ "files": [
762
+ "bootstrap.php"
763
+ ],
764
+ "classmap": [
765
+ "Resources/stubs"
766
+ ]
767
+ },
768
+ "notification-url": "https://packagist.org/downloads/",
769
+ "license": [
770
+ "MIT"
771
+ ],
772
+ "authors": [
773
+ {
774
+ "name": "Nicolas Grekas",
775
+ "email": "p@tchwork.com"
776
+ },
777
+ {
778
+ "name": "Symfony Community",
779
+ "homepage": "https://symfony.com/contributors"
780
+ }
781
+ ],
782
+ "description": "Symfony polyfill for intl's Normalizer class and related functions",
783
+ "homepage": "https://symfony.com",
784
+ "keywords": [
785
+ "compatibility",
786
+ "intl",
787
+ "normalizer",
788
+ "polyfill",
789
+ "portable",
790
+ "shim"
791
+ ],
792
+ "funding": [
793
+ {
794
+ "url": "https://symfony.com/sponsor",
795
+ "type": "custom"
796
+ },
797
+ {
798
+ "url": "https://github.com/fabpot",
799
+ "type": "github"
800
+ },
801
+ {
802
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
803
+ "type": "tidelift"
804
+ }
805
+ ],
806
+ "time": "2021-01-07T17:09:11+00:00"
807
+ },
808
+ {
809
+ "name": "symfony/polyfill-mbstring",
810
+ "version": "v1.22.0",
811
+ "source": {
812
+ "type": "git",
813
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
814
+ "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13"
815
+ },
816
+ "dist": {
817
+ "type": "zip",
818
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
819
+ "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
820
+ "shasum": ""
821
+ },
822
+ "require": {
823
+ "php": ">=7.1"
824
+ },
825
+ "suggest": {
826
+ "ext-mbstring": "For best performance"
827
+ },
828
+ "type": "library",
829
+ "extra": {
830
+ "branch-alias": {
831
+ "dev-main": "1.22-dev"
832
+ },
833
+ "thanks": {
834
+ "name": "symfony/polyfill",
835
+ "url": "https://github.com/symfony/polyfill"
836
+ }
837
+ },
838
+ "autoload": {
839
+ "psr-4": {
840
+ "Symfony\\Polyfill\\Mbstring\\": ""
841
+ },
842
+ "files": [
843
+ "bootstrap.php"
844
+ ]
845
+ },
846
+ "notification-url": "https://packagist.org/downloads/",
847
+ "license": [
848
+ "MIT"
849
+ ],
850
+ "authors": [
851
+ {
852
+ "name": "Nicolas Grekas",
853
+ "email": "p@tchwork.com"
854
+ },
855
+ {
856
+ "name": "Symfony Community",
857
+ "homepage": "https://symfony.com/contributors"
858
+ }
859
+ ],
860
+ "description": "Symfony polyfill for the Mbstring extension",
861
+ "homepage": "https://symfony.com",
862
+ "keywords": [
863
+ "compatibility",
864
+ "mbstring",
865
+ "polyfill",
866
+ "portable",
867
+ "shim"
868
+ ],
869
+ "funding": [
870
+ {
871
+ "url": "https://symfony.com/sponsor",
872
+ "type": "custom"
873
+ },
874
+ {
875
+ "url": "https://github.com/fabpot",
876
+ "type": "github"
877
+ },
878
+ {
879
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
880
+ "type": "tidelift"
881
+ }
882
+ ],
883
+ "time": "2021-01-07T16:49:33+00:00"
884
+ },
885
+ {
886
+ "name": "symfony/polyfill-php73",
887
+ "version": "v1.22.0",
888
+ "source": {
889
+ "type": "git",
890
+ "url": "https://github.com/symfony/polyfill-php73.git",
891
+ "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2"
892
+ },
893
+ "dist": {
894
+ "type": "zip",
895
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
896
+ "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
897
+ "shasum": ""
898
+ },
899
+ "require": {
900
+ "php": ">=7.1"
901
+ },
902
+ "type": "library",
903
+ "extra": {
904
+ "branch-alias": {
905
+ "dev-main": "1.22-dev"
906
+ },
907
+ "thanks": {
908
+ "name": "symfony/polyfill",
909
+ "url": "https://github.com/symfony/polyfill"
910
+ }
911
+ },
912
+ "autoload": {
913
+ "psr-4": {
914
+ "Symfony\\Polyfill\\Php73\\": ""
915
+ },
916
+ "files": [
917
+ "bootstrap.php"
918
+ ],
919
+ "classmap": [
920
+ "Resources/stubs"
921
+ ]
922
+ },
923
+ "notification-url": "https://packagist.org/downloads/",
924
+ "license": [
925
+ "MIT"
926
+ ],
927
+ "authors": [
928
+ {
929
+ "name": "Nicolas Grekas",
930
+ "email": "p@tchwork.com"
931
+ },
932
+ {
933
+ "name": "Symfony Community",
934
+ "homepage": "https://symfony.com/contributors"
935
+ }
936
+ ],
937
+ "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions",
938
+ "homepage": "https://symfony.com",
939
+ "keywords": [
940
+ "compatibility",
941
+ "polyfill",
942
+ "portable",
943
+ "shim"
944
+ ],
945
+ "funding": [
946
+ {
947
+ "url": "https://symfony.com/sponsor",
948
+ "type": "custom"
949
+ },
950
+ {
951
+ "url": "https://github.com/fabpot",
952
+ "type": "github"
953
+ },
954
+ {
955
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
956
+ "type": "tidelift"
957
+ }
958
+ ],
959
+ "time": "2021-01-07T16:49:33+00:00"
960
+ },
961
+ {
962
+ "name": "symfony/polyfill-php80",
963
+ "version": "v1.22.0",
964
+ "source": {
965
+ "type": "git",
966
+ "url": "https://github.com/symfony/polyfill-php80.git",
967
+ "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91"
968
+ },
969
+ "dist": {
970
+ "type": "zip",
971
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91",
972
+ "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91",
973
+ "shasum": ""
974
+ },
975
+ "require": {
976
+ "php": ">=7.1"
977
+ },
978
+ "type": "library",
979
+ "extra": {
980
+ "branch-alias": {
981
+ "dev-main": "1.22-dev"
982
+ },
983
+ "thanks": {
984
+ "name": "symfony/polyfill",
985
+ "url": "https://github.com/symfony/polyfill"
986
+ }
987
+ },
988
+ "autoload": {
989
+ "psr-4": {
990
+ "Symfony\\Polyfill\\Php80\\": ""
991
+ },
992
+ "files": [
993
+ "bootstrap.php"
994
+ ],
995
+ "classmap": [
996
+ "Resources/stubs"
997
+ ]
998
+ },
999
+ "notification-url": "https://packagist.org/downloads/",
1000
+ "license": [
1001
+ "MIT"
1002
+ ],
1003
+ "authors": [
1004
+ {
1005
+ "name": "Ion Bazan",
1006
+ "email": "ion.bazan@gmail.com"
1007
+ },
1008
+ {
1009
+ "name": "Nicolas Grekas",
1010
+ "email": "p@tchwork.com"
1011
+ },
1012
+ {
1013
+ "name": "Symfony Community",
1014
+ "homepage": "https://symfony.com/contributors"
1015
+ }
1016
+ ],
1017
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
1018
+ "homepage": "https://symfony.com",
1019
+ "keywords": [
1020
+ "compatibility",
1021
+ "polyfill",
1022
+ "portable",
1023
+ "shim"
1024
+ ],
1025
+ "funding": [
1026
+ {
1027
+ "url": "https://symfony.com/sponsor",
1028
+ "type": "custom"
1029
+ },
1030
+ {
1031
+ "url": "https://github.com/fabpot",
1032
+ "type": "github"
1033
+ },
1034
+ {
1035
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
1036
+ "type": "tidelift"
1037
+ }
1038
+ ],
1039
+ "time": "2021-01-07T16:49:33+00:00"
1040
+ },
1041
+ {
1042
+ "name": "symfony/service-contracts",
1043
+ "version": "v2.2.0",
1044
+ "source": {
1045
+ "type": "git",
1046
+ "url": "https://github.com/symfony/service-contracts.git",
1047
+ "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1"
1048
+ },
1049
+ "dist": {
1050
+ "type": "zip",
1051
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1",
1052
+ "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1",
1053
+ "shasum": ""
1054
+ },
1055
+ "require": {
1056
+ "php": ">=7.2.5",
1057
+ "psr/container": "^1.0"
1058
+ },
1059
+ "suggest": {
1060
+ "symfony/service-implementation": ""
1061
+ },
1062
+ "type": "library",
1063
+ "extra": {
1064
+ "branch-alias": {
1065
+ "dev-master": "2.2-dev"
1066
+ },
1067
+ "thanks": {
1068
+ "name": "symfony/contracts",
1069
+ "url": "https://github.com/symfony/contracts"
1070
+ }
1071
+ },
1072
+ "autoload": {
1073
+ "psr-4": {
1074
+ "Symfony\\Contracts\\Service\\": ""
1075
+ }
1076
+ },
1077
+ "notification-url": "https://packagist.org/downloads/",
1078
+ "license": [
1079
+ "MIT"
1080
+ ],
1081
+ "authors": [
1082
+ {
1083
+ "name": "Nicolas Grekas",
1084
+ "email": "p@tchwork.com"
1085
+ },
1086
+ {
1087
+ "name": "Symfony Community",
1088
+ "homepage": "https://symfony.com/contributors"
1089
+ }
1090
+ ],
1091
+ "description": "Generic abstractions related to writing services",
1092
+ "homepage": "https://symfony.com",
1093
+ "keywords": [
1094
+ "abstractions",
1095
+ "contracts",
1096
+ "decoupling",
1097
+ "interfaces",
1098
+ "interoperability",
1099
+ "standards"
1100
+ ],
1101
+ "funding": [
1102
+ {
1103
+ "url": "https://symfony.com/sponsor",
1104
+ "type": "custom"
1105
+ },
1106
+ {
1107
+ "url": "https://github.com/fabpot",
1108
+ "type": "github"
1109
+ },
1110
+ {
1111
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
1112
+ "type": "tidelift"
1113
+ }
1114
+ ],
1115
+ "time": "2020-09-07T11:33:47+00:00"
1116
+ },
1117
+ {
1118
+ "name": "symfony/string",
1119
+ "version": "v5.2.1",
1120
+ "source": {
1121
+ "type": "git",
1122
+ "url": "https://github.com/symfony/string.git",
1123
+ "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed"
1124
+ },
1125
+ "dist": {
1126
+ "type": "zip",
1127
+ "url": "https://api.github.com/repos/symfony/string/zipball/5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed",
1128
+ "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed",
1129
+ "shasum": ""
1130
+ },
1131
+ "require": {
1132
+ "php": ">=7.2.5",
1133
+ "symfony/polyfill-ctype": "~1.8",
1134
+ "symfony/polyfill-intl-grapheme": "~1.0",
1135
+ "symfony/polyfill-intl-normalizer": "~1.0",
1136
+ "symfony/polyfill-mbstring": "~1.0",
1137
+ "symfony/polyfill-php80": "~1.15"
1138
+ },
1139
+ "require-dev": {
1140
+ "symfony/error-handler": "^4.4|^5.0",
1141
+ "symfony/http-client": "^4.4|^5.0",
1142
+ "symfony/translation-contracts": "^1.1|^2",
1143
+ "symfony/var-exporter": "^4.4|^5.0"
1144
+ },
1145
+ "type": "library",
1146
+ "autoload": {
1147
+ "psr-4": {
1148
+ "Symfony\\Component\\String\\": ""
1149
+ },
1150
+ "files": [
1151
+ "Resources/functions.php"
1152
+ ],
1153
+ "exclude-from-classmap": [
1154
+ "/Tests/"
1155
+ ]
1156
+ },
1157
+ "notification-url": "https://packagist.org/downloads/",
1158
+ "license": [
1159
+ "MIT"
1160
+ ],
1161
+ "authors": [
1162
+ {
1163
+ "name": "Nicolas Grekas",
1164
+ "email": "p@tchwork.com"
1165
+ },
1166
+ {
1167
+ "name": "Symfony Community",
1168
+ "homepage": "https://symfony.com/contributors"
1169
+ }
1170
+ ],
1171
+ "description": "Symfony String component",
1172
+ "homepage": "https://symfony.com",
1173
+ "keywords": [
1174
+ "grapheme",
1175
+ "i18n",
1176
+ "string",
1177
+ "unicode",
1178
+ "utf-8",
1179
+ "utf8"
1180
+ ],
1181
+ "funding": [
1182
+ {
1183
+ "url": "https://symfony.com/sponsor",
1184
+ "type": "custom"
1185
+ },
1186
+ {
1187
+ "url": "https://github.com/fabpot",
1188
+ "type": "github"
1189
+ },
1190
+ {
1191
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
1192
+ "type": "tidelift"
1193
+ }
1194
+ ],
1195
+ "time": "2020-12-05T07:33:16+00:00"
1196
+ }
1197
+ ],
1198
  "aliases": [],
1199
  "minimum-stability": "stable",
1200
+ "stability-flags": {
1201
+ "coenjacobs/mozart": 10
1202
+ },
1203
  "prefer-stable": false,
1204
  "prefer-lowest": false,
1205
  "platform": [],
1206
+ "platform-dev": [],
1207
+ "plugin-api-version": "1.1.0"
1208
  }
addons/config/settings-config.php CHANGED
@@ -43,12 +43,12 @@ class Settings_Config {
43
  * @since 1.3.0
44
  */
45
  public function add_submenu() {
46
- /*add_submenu_page('cookiebot', 'Prior Consent', __( 'Prior Consent', 'cookiebot' ), 'manage_options', 'cookiebot_addons', array(
47
  $this,
48
  'setting_page'
49
  ) );*/
50
 
51
- add_submenu_page( 'cookiebot', __( 'Prior Consent', 'cookiebot' ), __( 'Prior Consent', 'cookiebot' ), 'manage_options', 'cookiebot-addons', array(
52
  $this,
53
  'setting_page'
54
  ) );
@@ -67,7 +67,7 @@ class Settings_Config {
67
 
68
  wp_enqueue_script( 'cookiebot_tiptip_js', plugins_url( 'js/jquery.tipTip.js', dirname( __FILE__ ) ), array( 'jquery' ), '1.8', true );
69
  wp_enqueue_script( 'cookiebot_addons_custom_js', plugins_url( 'js/settings.js', dirname( __FILE__ ) ), array( 'jquery' ), '1.8', true );
70
- wp_localize_script( 'cookiebot_addons_custom_js', 'php', array( 'remove_link' => ' <a href="" class="submitdelete deletion">' . __( 'Remove language', 'cookiebot-addons' ) . '</a>' ) );
71
  wp_enqueue_style( 'cookiebot_addons_custom_css', plugins_url( 'style/css/admin_styles.css', dirname( __FILE__ ) ) );
72
  }
73
 
@@ -223,7 +223,7 @@ class Settings_Config {
223
  * @since 1.3.0
224
  */
225
  public function header_jetpack_addon() {
226
- echo '<p>' . __( 'Jetpack settings.', 'cookiebot' ) . '</p>';
227
  }
228
 
229
  /**
@@ -245,11 +245,11 @@ class Settings_Config {
245
  public function header_available_addons() {
246
  ?>
247
  <p>
248
- <?php _e( 'Below is a list of addons for Cookiebot. Addons help you make installed plugins GDPR compliant.', 'cookiebot' ); ?>
249
  <br/>
250
- <?php _e( 'These addons are available because you have the corresponding plugins installed and activated.', 'cookiebot' ); ?>
251
  <br/>
252
- <?php _e( 'Deactivate an addon if you want to handle GDPR compliance yourself, or through another plugin.', 'cookiebot' ); ?>
253
  </p>
254
  <?php
255
  }
@@ -273,7 +273,7 @@ class Settings_Config {
273
  * @since 1.3.0
274
  */
275
  public function header_unavailable_addons() {
276
- echo '<p>' . __( 'The following addons are unavailable. This is because the corresponding plugin is not installed.', 'cookiebot' ) . '</p>';
277
  }
278
 
279
  /**
@@ -290,9 +290,9 @@ class Settings_Config {
290
  <div class="postbox cookiebot-addon">
291
  <i><?php
292
  if ( ! $addon->is_addon_installed() ) {
293
- _e( 'The plugin is not installed.', 'cookiebot' );
294
  } else if ( ! $addon->is_addon_activated() ) {
295
- _e( 'The plugin is not activated.', 'cookiebot' );
296
  }
297
  ?></i>
298
  </div>
43
  * @since 1.3.0
44
  */
45
  public function add_submenu() {
46
+ /*add_submenu_page('cookiebot', 'Prior Consent', esc_html__( 'Prior Consent', 'cookiebot' ), 'manage_options', 'cookiebot_addons', array(
47
  $this,
48
  'setting_page'
49
  ) );*/
50
 
51
+ add_submenu_page( 'cookiebot', esc_html__( 'Prior Consent', 'cookiebot' ), esc_html__( 'Prior Consent', 'cookiebot' ), 'manage_options', 'cookiebot-addons', array(
52
  $this,
53
  'setting_page'
54
  ) );
67
 
68
  wp_enqueue_script( 'cookiebot_tiptip_js', plugins_url( 'js/jquery.tipTip.js', dirname( __FILE__ ) ), array( 'jquery' ), '1.8', true );
69
  wp_enqueue_script( 'cookiebot_addons_custom_js', plugins_url( 'js/settings.js', dirname( __FILE__ ) ), array( 'jquery' ), '1.8', true );
70
+ wp_localize_script( 'cookiebot_addons_custom_js', 'php', array( 'remove_link' => ' <a href="" class="submitdelete deletion">' . esc_html__( 'Remove language', 'cookiebot-addons' ) . '</a>' ) );
71
  wp_enqueue_style( 'cookiebot_addons_custom_css', plugins_url( 'style/css/admin_styles.css', dirname( __FILE__ ) ) );
72
  }
73
 
223
  * @since 1.3.0
224
  */
225
  public function header_jetpack_addon() {
226
+ echo '<p>' . esc_html__( 'Jetpack settings.', 'cookiebot' ) . '</p>';
227
  }
228
 
229
  /**
245
  public function header_available_addons() {
246
  ?>
247
  <p>
248
+ <?php esc_html_e( 'Below is a list of addons for Cookiebot. Addons help you make installed plugins GDPR compliant.', 'cookiebot' ); ?>
249
  <br/>
250
+ <?php esc_html_e( 'These addons are available because you have the corresponding plugins installed and activated.', 'cookiebot' ); ?>
251
  <br/>
252
+ <?php esc_html_e( 'Deactivate an addon if you want to handle GDPR compliance yourself, or through another plugin.', 'cookiebot' ); ?>
253
  </p>
254
  <?php
255
  }
273
  * @since 1.3.0
274
  */
275
  public function header_unavailable_addons() {
276
+ echo '<p>' . esc_html__( 'The following addons are unavailable. This is because the corresponding plugin is not installed.', 'cookiebot' ) . '</p>';
277
  }
278
 
279
  /**
290
  <div class="postbox cookiebot-addon">
291
  <i><?php
292
  if ( ! $addon->is_addon_installed() ) {
293
+ esc_html_e( 'The plugin is not installed.', 'cookiebot' );
294
  } else if ( ! $addon->is_addon_activated() ) {
295
+ esc_html_e( 'The plugin is not activated.', 'cookiebot' );
296
  }
297
  ?></i>
298
  </div>
addons/controller/addons/add-to-any/add-to-any.php CHANGED
@@ -2,6 +2,9 @@
2
 
3
  namespace cookiebot_addons\controller\addons\add_to_any;
4
 
 
 
 
5
  use cookiebot_addons\controller\addons\Cookiebot_Addons_Interface;
6
  use cookiebot_addons\lib\Cookie_Consent_Interface;
7
  use cookiebot_addons\lib\Settings_Service_Interface;
@@ -87,6 +90,49 @@ class Add_To_Any implements Cookiebot_Addons_Interface {
87
  if ( has_action( 'wp_enqueue_scripts', 'A2A_SHARE_SAVE_enqueue_script' ) ) {
88
  $this->script_loader_tag->add_tag( 'addtoany', $this->get_cookie_types() );
89
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  }
91
 
92
  /**
@@ -248,7 +294,7 @@ class Add_To_Any implements Cookiebot_Addons_Interface {
248
  * @since 1.8.0
249
  */
250
  public function get_extra_information() {
251
- return '<p>' . __( 'Blocks embedded videos from Youtube, Twitter, Vimeo and Facebook.', 'cookiebot-addons' ) . '</p>';
252
  }
253
 
254
  /**
2
 
3
  namespace cookiebot_addons\controller\addons\add_to_any;
4
 
5
+ use DOMDocument;
6
+ use DOMXPath;
7
+ use DOMElement;
8
  use cookiebot_addons\controller\addons\Cookiebot_Addons_Interface;
9
  use cookiebot_addons\lib\Cookie_Consent_Interface;
10
  use cookiebot_addons\lib\Settings_Service_Interface;
90
  if ( has_action( 'wp_enqueue_scripts', 'A2A_SHARE_SAVE_enqueue_script' ) ) {
91
  $this->script_loader_tag->add_tag( 'addtoany', $this->get_cookie_types() );
92
  }
93
+
94
+ add_filter( 'the_content', array(
95
+ $this,
96
+ 'cookiebot_addon_add_to_any_content',
97
+ ), 1000 ); //Ensure it is executed as the last filter
98
+
99
+ add_filter( 'the_excerpt', array(
100
+ $this,
101
+ 'cookiebot_addon_add_to_any_content',
102
+ ), 1000 ); //Ensure it is executed as the last filter
103
+ }
104
+
105
+ /**
106
+ * Display a placeholder on elements with "addtoany_share_save_container" class name.
107
+ *
108
+ * @param string $content
109
+ *
110
+ * @return string
111
+ */
112
+ public function cookiebot_addon_add_to_any_content( $content ) {
113
+ if ( ! class_exists( 'DOMDocument' ) || ! class_exists( 'DOMXPath' ) || ! class_exists( 'DOMElement' ) ) {
114
+ return $content;
115
+ }
116
+
117
+ if ( $this->has_placeholder() && $this->is_placeholder_enabled() ) {
118
+ $dom = new DOMDocument();
119
+ $dom->loadHTML( $content );
120
+ $finder = new DOMXPath( $dom );
121
+ $nodes = $finder->query( "//*[contains(@class, 'addtoany_share_save_container')]" );
122
+
123
+ $placeholder = $this->get_placeholder();
124
+ $placeholder_element = $dom->createDocumentFragment();
125
+ $placeholder_element->appendXML( '<div class="' . cookiebot_addons_cookieconsent_optout( $this->get_cookie_types() ) . '">' . $placeholder . '</div>' );
126
+
127
+ foreach ( $nodes as $node ) {
128
+ /* @var DOMElement $node */
129
+ $node->appendChild( $placeholder_element );
130
+ }
131
+
132
+ $content = $dom->saveHTML();
133
+ }
134
+
135
+ return $content;
136
  }
137
 
138
  /**
294
  * @since 1.8.0
295
  */
296
  public function get_extra_information() {
297
+ return '<p>' . esc_html__( 'Blocks embedded videos from Youtube, Twitter, Vimeo and Facebook.', 'cookiebot-addons' ) . '</p>';
298
  }
299
 
300
  /**
addons/controller/addons/custom-facebook-feed-old/custom-facebook-feed-old.php ADDED
@@ -0,0 +1,347 @@