Instant Articles for WP - Version 5.0.1

Version Description

Download this release

Release Info

Developer automattic
Plugin Icon 128x128 Instant Articles for WP
Version 5.0.1
Comparing to
See all releases

Code changes from version 5.0.0 to 5.0.1

Files changed (30) hide show
  1. CHANGELOG.md +6 -1
  2. LABELS.md +19 -0
  3. composer.lock +3008 -0
  4. facebook-instant-articles.php +2 -2
  5. readme.txt +10 -2
  6. vendor/autoload.php +6 -1
  7. vendor/composer/ClassLoader.php +102 -11
  8. vendor/composer/InstalledVersions.php +21 -6
  9. vendor/composer/autoload_classmap.php +1 -1
  10. vendor/composer/autoload_files.php +1 -1
  11. vendor/composer/autoload_namespaces.php +1 -1
  12. vendor/composer/autoload_psr4.php +2 -2
  13. vendor/composer/autoload_real.php +16 -24
  14. vendor/composer/autoload_static.php +6 -6
  15. vendor/composer/installed.json +6 -5
  16. vendor/composer/installed.php +15 -13
  17. vendor/facebook/facebook-instant-articles-sdk-php/.gitignore +1 -0
  18. vendor/facebook/facebook-instant-articles-sdk-php/composer.json +1 -1
  19. vendor/facebook/facebook-instant-articles-sdk-php/phpunit.xml +13 -18
  20. vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Transformer/Rules/InstantArticleRule.php +6 -6
  21. vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Transformer/Transformer.php +1 -1
  22. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Client/ClientTest.php +16 -19
  23. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Client/HelperTest.php +1 -1
  24. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/InstantArticleTest.php +1 -1
  25. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/TimeTest.php +1 -1
  26. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/Validators/InstantArticleValidatorTest.php +1 -1
  27. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/Validators/TypeTest.php +11 -10
  28. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Transformer/Example/SimpleTransformerTest.php +2 -4
  29. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Transformer/Rules/RuleTest.php +4 -8
  30. vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Transformer/TransformerTest.php +2 -2
CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
 
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
 
 
 
 
 
7
  ## [5.0.0] - 2022-10-18
8
 
9
  **Minimum PHP requirement is increased from PHP 5.4 to PHP 7.1.**
@@ -240,7 +244,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
240
  - [#39](https://github.com/automattic/fb-instant-articles/pull/39) Jetpack compat: YouTube and Facebook embeds (@bjornjohansen)
241
  - [#22](https://github.com/automattic/fb-instant-articles/pull/22) Migrate the wpcom-helper.php from WordPress.com. (@Automattic)
242
 
243
- [Unreleased]: https://github.com/automattic/fb-instant-articles/compare/5.0.0...HEAD
 
244
  [5.0.0]: https://github.com/automattic/fb-instant-articles/compare/4.2.1...5.0.0
245
  [4.2.1]: https://github.com/automattic/fb-instant-articles/compare/4.2.0...4.2.1
246
  [4.2.0]: https://github.com/automattic/fb-instant-articles/compare/4.1.1...4.2.0
4
 
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
 
7
+ ## [5.0.1] - 2022-10-18
8
+
9
+ - Refresh dependency that handles fixing of transformer encodings.
10
+
11
  ## [5.0.0] - 2022-10-18
12
 
13
  **Minimum PHP requirement is increased from PHP 5.4 to PHP 7.1.**
244
  - [#39](https://github.com/automattic/fb-instant-articles/pull/39) Jetpack compat: YouTube and Facebook embeds (@bjornjohansen)
245
  - [#22](https://github.com/automattic/fb-instant-articles/pull/22) Migrate the wpcom-helper.php from WordPress.com. (@Automattic)
246
 
247
+ [Unreleased]: https://github.com/automattic/fb-instant-articles/compare/5.0.1...HEAD
248
+ [5.0.1]: https://github.com/automattic/fb-instant-articles/compare/5.0.0...5.0.1
249
  [5.0.0]: https://github.com/automattic/fb-instant-articles/compare/4.2.1...5.0.0
250
  [4.2.1]: https://github.com/automattic/fb-instant-articles/compare/4.2.0...4.2.1
251
  [4.2.0]: https://github.com/automattic/fb-instant-articles/compare/4.1.1...4.2.0
LABELS.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## Labels
2
+ ### bug
3
+ A general bug in the plugin that needs to be fixed
4
+ ### compat: wordpress.com
5
+ An incompatibility between the plugin and wordpress.com
6
+ ### compat: 3rd party
7
+ An incompatibility between the plugin and another 3rd party plugin
8
+ ### documentation
9
+ Incomplete or misleading information in the official documentation
10
+ ### enhancement/feature request
11
+ Something that is currently not supported but requested by one or more users
12
+ ### help wanted
13
+ An issue for which the contributors look for help from the community
14
+ ### missing rule
15
+ A transformation rule that should be added
16
+ ### more info needed
17
+ The author of the issue has provided insufficient information
18
+ ### transformation
19
+ An bug in the transformation which is not related to a missing rule
composer.lock ADDED
@@ -0,0 +1,3008 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_readme": [
3
+ "This file locks the dependencies of your project to a known state",
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": "8bda7fcab73a0b2cc56efa4e411daf23",
8
+ "packages": [
9
+ {
10
+ "name": "doctrine/instantiator",
11
+ "version": "1.4.1",
12
+ "source": {
13
+ "type": "git",
14
+ "url": "https://github.com/doctrine/instantiator.git",
15
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc"
16
+ },
17
+ "dist": {
18
+ "type": "zip",
19
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc",
20
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc",
21
+ "shasum": ""
22
+ },
23
+ "require": {
24
+ "php": "^7.1 || ^8.0"
25
+ },
26
+ "require-dev": {
27
+ "doctrine/coding-standard": "^9",
28
+ "ext-pdo": "*",
29
+ "ext-phar": "*",
30
+ "phpbench/phpbench": "^0.16 || ^1",
31
+ "phpstan/phpstan": "^1.4",
32
+ "phpstan/phpstan-phpunit": "^1",
33
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
34
+ "vimeo/psalm": "^4.22"
35
+ },
36
+ "type": "library",
37
+ "autoload": {
38
+ "psr-4": {
39
+ "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
40
+ }
41
+ },
42
+ "notification-url": "https://packagist.org/downloads/",
43
+ "license": [
44
+ "MIT"
45
+ ],
46
+ "authors": [
47
+ {
48
+ "name": "Marco Pivetta",
49
+ "email": "ocramius@gmail.com",
50
+ "homepage": "https://ocramius.github.io/"
51
+ }
52
+ ],
53
+ "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
54
+ "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
55
+ "keywords": [
56
+ "constructor",
57
+ "instantiate"
58
+ ],
59
+ "support": {
60
+ "issues": "https://github.com/doctrine/instantiator/issues",
61
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.1"
62
+ },
63
+ "funding": [
64
+ {
65
+ "url": "https://www.doctrine-project.org/sponsorship.html",
66
+ "type": "custom"
67
+ },
68
+ {
69
+ "url": "https://www.patreon.com/phpdoctrine",
70
+ "type": "patreon"
71
+ },
72
+ {
73
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
74
+ "type": "tidelift"
75
+ }
76
+ ],
77
+ "time": "2022-03-03T08:28:38+00:00"
78
+ },
79
+ {
80
+ "name": "facebook/facebook-instant-articles-sdk-extensions-in-php",
81
+ "version": "dev-php8",
82
+ "source": {
83
+ "type": "git",
84
+ "url": "https://github.com/whyisjake/facebook-instant-articles-sdk-extensions-in-php.git",
85
+ "reference": "2e9c55f6f84479cefd147656e0d2bada95e0d99a"
86
+ },
87
+ "dist": {
88
+ "type": "zip",
89
+ "url": "https://api.github.com/repos/whyisjake/facebook-instant-articles-sdk-extensions-in-php/zipball/2e9c55f6f84479cefd147656e0d2bada95e0d99a",
90
+ "reference": "2e9c55f6f84479cefd147656e0d2bada95e0d99a",
91
+ "shasum": ""
92
+ },
93
+ "require": {
94
+ "doctrine/instantiator": "1.4.1",
95
+ "facebook/facebook-instant-articles-sdk-php": "dev-php8",
96
+ "php": "^5.4 || ^7.0 || ^8.0"
97
+ },
98
+ "require-dev": {
99
+ "phpcompatibility/phpcompatibility-wp": "^2.1",
100
+ "phpdocumentor/reflection-docblock": "^2.0",
101
+ "phpunit/phpunit": "^4.8",
102
+ "squizlabs/php_codesniffer": "^3.0.0"
103
+ },
104
+ "type": "library",
105
+ "autoload": {
106
+ "psr-4": {
107
+ "Facebook\\InstantArticles\\": "src/Facebook/InstantArticles/"
108
+ }
109
+ },
110
+ "autoload-dev": {
111
+ "psr-4": {
112
+ "Facebook\\InstantArticles\\": "tests/Facebook/InstantArticles/"
113
+ }
114
+ },
115
+ "scripts": {
116
+ "all": [
117
+ "@cs",
118
+ "@test"
119
+ ],
120
+ "cs": [
121
+ "composer install",
122
+ "phpcbf --standard=phpcs.xml -p || phpcs --standard=phpcs.xml -p"
123
+ ],
124
+ "test": [
125
+ "composer install",
126
+ "phpunit"
127
+ ]
128
+ },
129
+ "license": [
130
+ "proprietary"
131
+ ],
132
+ "authors": [
133
+ {
134
+ "name": "Facebook",
135
+ "homepage": "https://github.com/facebook/facebook-instant-articles-sdk-extensions-in-php/contributors"
136
+ }
137
+ ],
138
+ "description": "Facebook Instant Articles SDK Extensions in PHP to transform Instant Articles markup file into AMP",
139
+ "homepage": "https://github.com/facebook/facebook-instant-articles-sdk-extensions-in-php",
140
+ "keywords": [
141
+ "amp",
142
+ "articles",
143
+ "extensions",
144
+ "facebook",
145
+ "instant",
146
+ "instantarticles",
147
+ "sdk"
148
+ ],
149
+ "support": {
150
+ "source": "https://github.com/whyisjake/facebook-instant-articles-sdk-extensions-in-php/tree/php8"
151
+ },
152
+ "time": "2022-10-17T21:35:17+00:00"
153
+ },
154
+ {
155
+ "name": "facebook/facebook-instant-articles-sdk-php",
156
+ "version": "dev-php8",
157
+ "source": {
158
+ "type": "git",
159
+ "url": "https://github.com/whyisjake/facebook-instant-articles-sdk-php.git",
160
+ "reference": "da27dc7ada04e9313d40bca83de2e3cdd4a746a7"
161
+ },
162
+ "dist": {
163
+ "type": "zip",
164
+ "url": "https://api.github.com/repos/whyisjake/facebook-instant-articles-sdk-php/zipball/da27dc7ada04e9313d40bca83de2e3cdd4a746a7",
165
+ "reference": "da27dc7ada04e9313d40bca83de2e3cdd4a746a7",
166
+ "shasum": ""
167
+ },
168
+ "require": {
169
+ "facebook/graph-sdk": "dev-php8",
170
+ "php": ">=5.4",
171
+ "symfony/css-selector": "^2.8 || ^3.1 || ^4.1"
172
+ },
173
+ "require-dev": {
174
+ "fzaninotto/faker": "dev-master",
175
+ "phpcompatibility/phpcompatibility-wp": "^2.1",
176
+ "phpdocumentor/reflection-docblock": "^2.0 || ^4.0",
177
+ "phpunit/phpunit": "^9.5",
178
+ "squizlabs/php_codesniffer": "^2.6.0 || ^3.0.0",
179
+ "symfony/yaml": "2.1.* || 3.4.*"
180
+ },
181
+ "default-branch": true,
182
+ "type": "library",
183
+ "autoload": {
184
+ "psr-4": {
185
+ "Facebook\\InstantArticles\\": "src/Facebook/InstantArticles/"
186
+ }
187
+ },
188
+ "autoload-dev": {
189
+ "psr-4": {
190
+ "Facebook\\": "tests/Facebook/"
191
+ }
192
+ },
193
+ "scripts": {
194
+ "all": [
195
+ "@cs",
196
+ "@test"
197
+ ],
198
+ "cs": [
199
+ "composer install",
200
+ "phpcbf --standard=phpcs.xml -p || phpcs --standard=phpcs.xml -p"
201
+ ],
202
+ "test": [
203
+ "composer install",
204
+ "phpunit"
205
+ ]
206
+ },
207
+ "license": [
208
+ "proprietary"
209
+ ],
210
+ "authors": [
211
+ {
212
+ "name": "Facebook",
213
+ "homepage": "https://github.com/facebook/facebook-instant-articles-sdk-php/contributors"
214
+ }
215
+ ],
216
+ "description": "Facebook Instant Articles SDK for PHP",
217
+ "homepage": "https://github.com/facebook/facebook-instant-articles-sdk-php",
218
+ "keywords": [
219
+ "articles",
220
+ "facebook",
221
+ "instant",
222
+ "sdk"
223
+ ],
224
+ "support": {
225
+ "source": "https://github.com/whyisjake/facebook-instant-articles-sdk-php/tree/php8"
226
+ },
227
+ "time": "2022-10-18T19:04:20+00:00"
228
+ },
229
+ {
230
+ "name": "facebook/graph-sdk",
231
+ "version": "dev-php8",
232
+ "source": {
233
+ "type": "git",
234
+ "url": "https://github.com/whyisjake/php-graph-sdk.git",
235
+ "reference": "2a225c96b5f8fda6f44aabadd36cbb219d0f736d"
236
+ },
237
+ "dist": {
238
+ "type": "zip",
239
+ "url": "https://api.github.com/repos/whyisjake/php-graph-sdk/zipball/2a225c96b5f8fda6f44aabadd36cbb219d0f736d",
240
+ "reference": "2a225c96b5f8fda6f44aabadd36cbb219d0f736d",
241
+ "shasum": ""
242
+ },
243
+ "require": {
244
+ "php": ">=5.4"
245
+ },
246
+ "require-dev": {
247
+ "guzzlehttp/guzzle": "~5.0",
248
+ "mockery/mockery": "~0.8",
249
+ "phpcompatibility/phpcompatibility-wp": "^2.1",
250
+ "phpunit/phpunit": "~4.0"
251
+ },
252
+ "suggest": {
253
+ "guzzlehttp/guzzle": "Allows for implementation of the Guzzle HTTP client",
254
+ "paragonie/random_compat": "Provides a better CSPRNG option in PHP 5"
255
+ },
256
+ "type": "library",
257
+ "extra": {
258
+ "branch-alias": {
259
+ "dev-master": "5.x-dev"
260
+ }
261
+ },
262
+ "autoload": {
263
+ "psr-4": {
264
+ "Facebook\\": "src/Facebook/"
265
+ },
266
+ "files": [
267
+ "src/Facebook/polyfills.php"
268
+ ]
269
+ },
270
+ "autoload-dev": {
271
+ "psr-4": {
272
+ "Facebook\\Tests\\": "tests/"
273
+ }
274
+ },
275
+ "license": [
276
+ "Facebook Platform"
277
+ ],
278
+ "authors": [
279
+ {
280
+ "name": "Facebook",
281
+ "homepage": "https://github.com/facebook/php-graph-sdk/contributors"
282
+ }
283
+ ],
284
+ "description": "Facebook SDK for PHP",
285
+ "homepage": "https://github.com/facebook/php-graph-sdk",
286
+ "keywords": [
287
+ "facebook",
288
+ "sdk"
289
+ ],
290
+ "support": {
291
+ "source": "https://github.com/whyisjake/php-graph-sdk/tree/php8"
292
+ },
293
+ "time": "2022-10-17T21:35:07+00:00"
294
+ },
295
+ {
296
+ "name": "symfony/css-selector",
297
+ "version": "v2.8.52",
298
+ "source": {
299
+ "type": "git",
300
+ "url": "https://github.com/symfony/css-selector.git",
301
+ "reference": "7b1692e418d7ccac24c373528453bc90e42797de"
302
+ },
303
+ "dist": {
304
+ "type": "zip",
305
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/7b1692e418d7ccac24c373528453bc90e42797de",
306
+ "reference": "7b1692e418d7ccac24c373528453bc90e42797de",
307
+ "shasum": ""
308
+ },
309
+ "require": {
310
+ "php": ">=5.3.9"
311
+ },
312
+ "type": "library",
313
+ "extra": {
314
+ "branch-alias": {
315
+ "dev-master": "2.8-dev"
316
+ }
317
+ },
318
+ "autoload": {
319
+ "psr-4": {
320
+ "Symfony\\Component\\CssSelector\\": ""
321
+ },
322
+ "exclude-from-classmap": [
323
+ "/Tests/"
324
+ ]
325
+ },
326
+ "notification-url": "https://packagist.org/downloads/",
327
+ "license": [
328
+ "MIT"
329
+ ],
330
+ "authors": [
331
+ {
332
+ "name": "Fabien Potencier",
333
+ "email": "fabien@symfony.com"
334
+ },
335
+ {
336
+ "name": "Jean-François Simon",
337
+ "email": "jeanfrancois.simon@sensiolabs.com"
338
+ },
339
+ {
340
+ "name": "Symfony Community",
341
+ "homepage": "https://symfony.com/contributors"
342
+ }
343
+ ],
344
+ "description": "Symfony CssSelector Component",
345
+ "homepage": "https://symfony.com",
346
+ "support": {
347
+ "source": "https://github.com/symfony/css-selector/tree/v2.8.52"
348
+ },
349
+ "time": "2018-11-11T11:18:13+00:00"
350
+ }
351
+ ],
352
+ "packages-dev": [
353
+ {
354
+ "name": "antecedent/patchwork",
355
+ "version": "2.1.21",
356
+ "source": {
357
+ "type": "git",
358
+ "url": "https://github.com/antecedent/patchwork.git",
359
+ "reference": "25c1fa0cd9a6e6d0d13863d8df8f050b6733f16d"
360
+ },
361
+ "dist": {
362
+ "type": "zip",
363
+ "url": "https://api.github.com/repos/antecedent/patchwork/zipball/25c1fa0cd9a6e6d0d13863d8df8f050b6733f16d",
364
+ "reference": "25c1fa0cd9a6e6d0d13863d8df8f050b6733f16d",
365
+ "shasum": ""
366
+ },
367
+ "require": {
368
+ "php": ">=5.4.0"
369
+ },
370
+ "require-dev": {
371
+ "phpunit/phpunit": ">=4"
372
+ },
373
+ "type": "library",
374
+ "notification-url": "https://packagist.org/downloads/",
375
+ "license": [
376
+ "MIT"
377
+ ],
378
+ "authors": [
379
+ {
380
+ "name": "Ignas Rudaitis",
381
+ "email": "ignas.rudaitis@gmail.com"
382
+ }
383
+ ],
384
+ "description": "Method redefinition (monkey-patching) functionality for PHP.",
385
+ "homepage": "http://patchwork2.org/",
386
+ "keywords": [
387
+ "aop",
388
+ "aspect",
389
+ "interception",
390
+ "monkeypatching",
391
+ "redefinition",
392
+ "runkit",
393
+ "testing"
394
+ ],
395
+ "support": {
396
+ "issues": "https://github.com/antecedent/patchwork/issues",
397
+ "source": "https://github.com/antecedent/patchwork/tree/2.1.21"
398
+ },
399
+ "time": "2022-02-07T07:28:34+00:00"
400
+ },
401
+ {
402
+ "name": "automattic/vipwpcs",
403
+ "version": "2.3.3",
404
+ "source": {
405
+ "type": "git",
406
+ "url": "https://github.com/Automattic/VIP-Coding-Standards.git",
407
+ "reference": "6cd0a6a82bc0ac988dbf9d6a7c2e293dc8ac640b"
408
+ },
409
+ "dist": {
410
+ "type": "zip",
411
+ "url": "https://api.github.com/repos/Automattic/VIP-Coding-Standards/zipball/6cd0a6a82bc0ac988dbf9d6a7c2e293dc8ac640b",
412
+ "reference": "6cd0a6a82bc0ac988dbf9d6a7c2e293dc8ac640b",
413
+ "shasum": ""
414
+ },
415
+ "require": {
416
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7",
417
+ "php": ">=5.4",
418
+ "sirbrillig/phpcs-variable-analysis": "^2.11.1",
419
+ "squizlabs/php_codesniffer": "^3.5.5",
420
+ "wp-coding-standards/wpcs": "^2.3"
421
+ },
422
+ "require-dev": {
423
+ "php-parallel-lint/php-console-highlighter": "^0.5",
424
+ "php-parallel-lint/php-parallel-lint": "^1.0",
425
+ "phpcompatibility/php-compatibility": "^9",
426
+ "phpcsstandards/phpcsdevtools": "^1.0",
427
+ "phpunit/phpunit": "^4 || ^5 || ^6 || ^7"
428
+ },
429
+ "type": "phpcodesniffer-standard",
430
+ "notification-url": "https://packagist.org/downloads/",
431
+ "license": [
432
+ "MIT"
433
+ ],
434
+ "authors": [
435
+ {
436
+ "name": "Contributors",
437
+ "homepage": "https://github.com/Automattic/VIP-Coding-Standards/graphs/contributors"
438
+ }
439
+ ],
440
+ "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions",
441
+ "keywords": [
442
+ "phpcs",
443
+ "standards",
444
+ "wordpress"
445
+ ],
446
+ "support": {
447
+ "issues": "https://github.com/Automattic/VIP-Coding-Standards/issues",
448
+ "source": "https://github.com/Automattic/VIP-Coding-Standards",
449
+ "wiki": "https://github.com/Automattic/VIP-Coding-Standards/wiki"
450
+ },
451
+ "time": "2021-09-29T16:20:23+00:00"
452
+ },
453
+ {
454
+ "name": "brain/monkey",
455
+ "version": "2.6.1",
456
+ "source": {
457
+ "type": "git",
458
+ "url": "https://github.com/Brain-WP/BrainMonkey.git",
459
+ "reference": "a31c84515bb0d49be9310f52ef1733980ea8ffbb"
460
+ },
461
+ "dist": {
462
+ "type": "zip",
463
+ "url": "https://api.github.com/repos/Brain-WP/BrainMonkey/zipball/a31c84515bb0d49be9310f52ef1733980ea8ffbb",
464
+ "reference": "a31c84515bb0d49be9310f52ef1733980ea8ffbb",
465
+ "shasum": ""
466
+ },
467
+ "require": {
468
+ "antecedent/patchwork": "^2.1.17",
469
+ "mockery/mockery": "^1.3.5 || ^1.4.4",
470
+ "php": ">=5.6.0"
471
+ },
472
+ "require-dev": {
473
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
474
+ "phpcompatibility/php-compatibility": "^9.3.0",
475
+ "phpunit/phpunit": "^5.7.26 || ^6.0 || ^7.0 || >=8.0 <8.5.12 || ^8.5.14 || ^9.0"
476
+ },
477
+ "type": "library",
478
+ "extra": {
479
+ "branch-alias": {
480
+ "dev-version/1": "1.x-dev",
481
+ "dev-master": "2.0.x-dev"
482
+ }
483
+ },
484
+ "autoload": {
485
+ "files": [
486
+ "inc/api.php"
487
+ ],
488
+ "psr-4": {
489
+ "Brain\\Monkey\\": "src/"
490
+ }
491
+ },
492
+ "notification-url": "https://packagist.org/downloads/",
493
+ "license": [
494
+ "MIT"
495
+ ],
496
+ "authors": [
497
+ {
498
+ "name": "Giuseppe Mazzapica",
499
+ "email": "giuseppe.mazzapica@gmail.com",
500
+ "homepage": "https://gmazzap.me",
501
+ "role": "Developer"
502
+ }
503
+ ],
504
+ "description": "Mocking utility for PHP functions and WordPress plugin API",
505
+ "keywords": [
506
+ "Monkey Patching",
507
+ "interception",
508
+ "mock",
509
+ "mock functions",
510
+ "mockery",
511
+ "patchwork",
512
+ "redefinition",
513
+ "runkit",
514
+ "test",
515
+ "testing"
516
+ ],
517
+ "support": {
518
+ "issues": "https://github.com/Brain-WP/BrainMonkey/issues",
519
+ "source": "https://github.com/Brain-WP/BrainMonkey"
520
+ },
521
+ "time": "2021-11-11T15:53:55+00:00"
522
+ },
523
+ {
524
+ "name": "dealerdirect/phpcodesniffer-composer-installer",
525
+ "version": "v0.7.2",
526
+ "source": {
527
+ "type": "git",
528
+ "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
529
+ "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db"
530
+ },
531
+ "dist": {
532
+ "type": "zip",
533
+ "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
534
+ "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
535
+ "shasum": ""
536
+ },
537
+ "require": {
538
+ "composer-plugin-api": "^1.0 || ^2.0",
539
+ "php": ">=5.3",
540
+ "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
541
+ },
542
+ "require-dev": {
543
+ "composer/composer": "*",
544
+ "php-parallel-lint/php-parallel-lint": "^1.3.1",
545
+ "phpcompatibility/php-compatibility": "^9.0"
546
+ },
547
+ "type": "composer-plugin",
548
+ "extra": {
549
+ "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
550
+ },
551
+ "autoload": {
552
+ "psr-4": {
553
+ "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
554
+ }
555
+ },
556
+ "notification-url": "https://packagist.org/downloads/",
557
+ "license": [
558
+ "MIT"
559
+ ],
560
+ "authors": [
561
+ {
562
+ "name": "Franck Nijhof",
563
+ "email": "franck.nijhof@dealerdirect.com",
564
+ "homepage": "http://www.frenck.nl",
565
+ "role": "Developer / IT Manager"
566
+ },
567
+ {
568
+ "name": "Contributors",
569
+ "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors"
570
+ }
571
+ ],
572
+ "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
573
+ "homepage": "http://www.dealerdirect.com",
574
+ "keywords": [
575
+ "PHPCodeSniffer",
576
+ "PHP_CodeSniffer",
577
+ "code quality",
578
+ "codesniffer",
579
+ "composer",
580
+ "installer",
581
+ "phpcbf",
582
+ "phpcs",
583
+ "plugin",
584
+ "qa",
585
+ "quality",
586
+ "standard",
587
+ "standards",
588
+ "style guide",
589
+ "stylecheck",
590
+ "tests"
591
+ ],
592
+ "support": {
593
+ "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
594
+ "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
595
+ },
596
+ "time": "2022-02-04T12:51:07+00:00"
597
+ },
598
+ {
599
+ "name": "hamcrest/hamcrest-php",
600
+ "version": "v2.0.1",
601
+ "source": {
602
+ "type": "git",
603
+ "url": "https://github.com/hamcrest/hamcrest-php.git",
604
+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3"
605
+ },
606
+ "dist": {
607
+ "type": "zip",
608
+ "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
609
+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
610
+ "shasum": ""
611
+ },
612
+ "require": {
613
+ "php": "^5.3|^7.0|^8.0"
614
+ },
615
+ "replace": {
616
+ "cordoval/hamcrest-php": "*",
617
+ "davedevelopment/hamcrest-php": "*",
618
+ "kodova/hamcrest-php": "*"
619
+ },
620
+ "require-dev": {
621
+ "phpunit/php-file-iterator": "^1.4 || ^2.0",
622
+ "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0"
623
+ },
624
+ "type": "library",
625
+ "extra": {
626
+ "branch-alias": {
627
+ "dev-master": "2.1-dev"
628
+ }
629
+ },
630
+ "autoload": {
631
+ "classmap": [
632
+ "hamcrest"
633
+ ]
634
+ },
635
+ "notification-url": "https://packagist.org/downloads/",
636
+ "license": [
637
+ "BSD-3-Clause"
638
+ ],
639
+ "description": "This is the PHP port of Hamcrest Matchers",
640
+ "keywords": [
641
+ "test"
642
+ ],
643
+ "support": {
644
+ "issues": "https://github.com/hamcrest/hamcrest-php/issues",
645
+ "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"
646
+ },
647
+ "time": "2020-07-09T08:09:16+00:00"
648
+ },
649
+ {
650
+ "name": "mockery/mockery",
651
+ "version": "1.5.1",
652
+ "source": {
653
+ "type": "git",
654
+ "url": "https://github.com/mockery/mockery.git",
655
+ "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e"
656
+ },
657
+ "dist": {
658
+ "type": "zip",
659
+ "url": "https://api.github.com/repos/mockery/mockery/zipball/e92dcc83d5a51851baf5f5591d32cb2b16e3684e",
660
+ "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e",
661
+ "shasum": ""
662
+ },
663
+ "require": {
664
+ "hamcrest/hamcrest-php": "^2.0.1",
665
+ "lib-pcre": ">=7.0",
666
+ "php": "^7.3 || ^8.0"
667
+ },
668
+ "conflict": {
669
+ "phpunit/phpunit": "<8.0"
670
+ },
671
+ "require-dev": {
672
+ "phpunit/phpunit": "^8.5 || ^9.3"
673
+ },
674
+ "type": "library",
675
+ "extra": {
676
+ "branch-alias": {
677
+ "dev-master": "1.4.x-dev"
678
+ }
679
+ },
680
+ "autoload": {
681
+ "psr-0": {
682
+ "Mockery": "library/"
683
+ }
684
+ },
685
+ "notification-url": "https://packagist.org/downloads/",
686
+ "license": [
687
+ "BSD-3-Clause"
688
+ ],
689
+ "authors": [
690
+ {
691
+ "name": "Pádraic Brady",
692
+ "email": "padraic.brady@gmail.com",
693
+ "homepage": "http://blog.astrumfutura.com"
694
+ },
695
+ {
696
+ "name": "Dave Marshall",
697
+ "email": "dave.marshall@atstsolutions.co.uk",
698
+ "homepage": "http://davedevelopment.co.uk"
699
+ }
700
+ ],
701
+ "description": "Mockery is a simple yet flexible PHP mock object framework",
702
+ "homepage": "https://github.com/mockery/mockery",
703
+ "keywords": [
704
+ "BDD",
705
+ "TDD",
706
+ "library",
707
+ "mock",
708
+ "mock objects",
709
+ "mockery",
710
+ "stub",
711
+ "test",
712
+ "test double",
713
+ "testing"
714
+ ],
715
+ "support": {
716
+ "issues": "https://github.com/mockery/mockery/issues",
717
+ "source": "https://github.com/mockery/mockery/tree/1.5.1"
718
+ },
719
+ "time": "2022-09-07T15:32:08+00:00"
720
+ },
721
+ {
722
+ "name": "myclabs/deep-copy",
723
+ "version": "1.11.0",
724
+ "source": {
725
+ "type": "git",
726
+ "url": "https://github.com/myclabs/DeepCopy.git",
727
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614"
728
+ },
729
+ "dist": {
730
+ "type": "zip",
731
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614",
732
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614",
733
+ "shasum": ""
734
+ },
735
+ "require": {
736
+ "php": "^7.1 || ^8.0"
737
+ },
738
+ "conflict": {
739
+ "doctrine/collections": "<1.6.8",
740
+ "doctrine/common": "<2.13.3 || >=3,<3.2.2"
741
+ },
742
+ "require-dev": {
743
+ "doctrine/collections": "^1.6.8",
744
+ "doctrine/common": "^2.13.3 || ^3.2.2",
745
+ "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
746
+ },
747
+ "type": "library",
748
+ "autoload": {
749
+ "files": [
750
+ "src/DeepCopy/deep_copy.php"
751
+ ],
752
+ "psr-4": {
753
+ "DeepCopy\\": "src/DeepCopy/"
754
+ }
755
+ },
756
+ "notification-url": "https://packagist.org/downloads/",
757
+ "license": [
758
+ "MIT"
759
+ ],
760
+ "description": "Create deep copies (clones) of your objects",
761
+ "keywords": [
762
+ "clone",
763
+ "copy",
764
+ "duplicate",
765
+ "object",
766
+ "object graph"
767
+ ],
768
+ "support": {
769
+ "issues": "https://github.com/myclabs/DeepCopy/issues",
770
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0"
771
+ },
772
+ "funding": [
773
+ {
774
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
775
+ "type": "tidelift"
776
+ }
777
+ ],
778
+ "time": "2022-03-03T13:19:32+00:00"
779
+ },
780
+ {
781
+ "name": "nikic/php-parser",
782
+ "version": "v4.15.1",
783
+ "source": {
784
+ "type": "git",
785
+ "url": "https://github.com/nikic/PHP-Parser.git",
786
+ "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900"
787
+ },
788
+ "dist": {
789
+ "type": "zip",
790
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/0ef6c55a3f47f89d7a374e6f835197a0b5fcf900",
791
+ "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900",
792
+ "shasum": ""
793
+ },
794
+ "require": {
795
+ "ext-tokenizer": "*",
796
+ "php": ">=7.0"
797
+ },
798
+ "require-dev": {
799
+ "ircmaxell/php-yacc": "^0.0.7",
800
+ "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
801
+ },
802
+ "bin": [
803
+ "bin/php-parse"
804
+ ],
805
+ "type": "library",
806
+ "extra": {
807
+ "branch-alias": {
808
+ "dev-master": "4.9-dev"
809
+ }
810
+ },
811
+ "autoload": {
812
+ "psr-4": {
813
+ "PhpParser\\": "lib/PhpParser"
814
+ }
815
+ },
816
+ "notification-url": "https://packagist.org/downloads/",
817
+ "license": [
818
+ "BSD-3-Clause"
819
+ ],
820
+ "authors": [
821
+ {
822
+ "name": "Nikita Popov"
823
+ }
824
+ ],
825
+ "description": "A PHP parser written in PHP",
826
+ "keywords": [
827
+ "parser",
828
+ "php"
829
+ ],
830
+ "support": {
831
+ "issues": "https://github.com/nikic/PHP-Parser/issues",
832
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.1"
833
+ },
834
+ "time": "2022-09-04T07:30:47+00:00"
835
+ },
836
+ {
837
+ "name": "phar-io/manifest",
838
+ "version": "2.0.3",
839
+ "source": {
840
+ "type": "git",
841
+ "url": "https://github.com/phar-io/manifest.git",
842
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53"
843
+ },
844
+ "dist": {
845
+ "type": "zip",
846
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53",
847
+ "reference": "97803eca37d319dfa7826cc2437fc020857acb53",
848
+ "shasum": ""
849
+ },
850
+ "require": {
851
+ "ext-dom": "*",
852
+ "ext-phar": "*",
853
+ "ext-xmlwriter": "*",
854
+ "phar-io/version": "^3.0.1",
855
+ "php": "^7.2 || ^8.0"
856
+ },
857
+ "type": "library",
858
+ "extra": {
859
+ "branch-alias": {
860
+ "dev-master": "2.0.x-dev"
861
+ }
862
+ },
863
+ "autoload": {
864
+ "classmap": [
865
+ "src/"
866
+ ]
867
+ },
868
+ "notification-url": "https://packagist.org/downloads/",
869
+ "license": [
870
+ "BSD-3-Clause"
871
+ ],
872
+ "authors": [
873
+ {
874
+ "name": "Arne Blankerts",
875
+ "email": "arne@blankerts.de",
876
+ "role": "Developer"
877
+ },
878
+ {
879
+ "name": "Sebastian Heuer",
880
+ "email": "sebastian@phpeople.de",
881
+ "role": "Developer"
882
+ },
883
+ {
884
+ "name": "Sebastian Bergmann",
885
+ "email": "sebastian@phpunit.de",
886
+ "role": "Developer"
887
+ }
888
+ ],
889
+ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
890
+ "support": {
891
+ "issues": "https://github.com/phar-io/manifest/issues",
892
+ "source": "https://github.com/phar-io/manifest/tree/2.0.3"
893
+ },
894
+ "time": "2021-07-20T11:28:43+00:00"
895
+ },
896
+ {
897
+ "name": "phar-io/version",
898
+ "version": "3.2.1",
899
+ "source": {
900
+ "type": "git",
901
+ "url": "https://github.com/phar-io/version.git",
902
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74"
903
+ },
904
+ "dist": {
905
+ "type": "zip",
906
+ "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
907
+ "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
908
+ "shasum": ""
909
+ },
910
+ "require": {
911
+ "php": "^7.2 || ^8.0"
912
+ },
913
+ "type": "library",
914
+ "autoload": {
915
+ "classmap": [
916
+ "src/"
917
+ ]
918
+ },
919
+ "notification-url": "https://packagist.org/downloads/",
920
+ "license": [
921
+ "BSD-3-Clause"
922
+ ],
923
+ "authors": [
924
+ {
925
+ "name": "Arne Blankerts",
926
+ "email": "arne@blankerts.de",
927
+ "role": "Developer"
928
+ },
929
+ {
930
+ "name": "Sebastian Heuer",
931
+ "email": "sebastian@phpeople.de",
932
+ "role": "Developer"
933
+ },
934
+ {
935
+ "name": "Sebastian Bergmann",
936
+ "email": "sebastian@phpunit.de",
937
+ "role": "Developer"
938
+ }
939
+ ],
940
+ "description": "Library for handling version information and constraints",
941
+ "support": {
942
+ "issues": "https://github.com/phar-io/version/issues",
943
+ "source": "https://github.com/phar-io/version/tree/3.2.1"
944
+ },
945
+ "time": "2022-02-21T01:04:05+00:00"
946
+ },
947
+ {
948
+ "name": "php-parallel-lint/php-parallel-lint",
949
+ "version": "v1.3.2",
950
+ "source": {
951
+ "type": "git",
952
+ "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git",
953
+ "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de"
954
+ },
955
+ "dist": {
956
+ "type": "zip",
957
+ "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de",
958
+ "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de",
959
+ "shasum": ""
960
+ },
961
+ "require": {
962
+ "ext-json": "*",
963
+ "php": ">=5.3.0"
964
+ },
965
+ "replace": {
966
+ "grogy/php-parallel-lint": "*",
967
+ "jakub-onderka/php-parallel-lint": "*"
968
+ },
969
+ "require-dev": {
970
+ "nette/tester": "^1.3 || ^2.0",
971
+ "php-parallel-lint/php-console-highlighter": "0.* || ^1.0",
972
+ "squizlabs/php_codesniffer": "^3.6"
973
+ },
974
+ "suggest": {
975
+ "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet"
976
+ },
977
+ "bin": [
978
+ "parallel-lint"
979
+ ],
980
+ "type": "library",
981
+ "autoload": {
982
+ "classmap": [
983
+ "./src/"
984
+ ]
985
+ },
986
+ "notification-url": "https://packagist.org/downloads/",
987
+ "license": [
988
+ "BSD-2-Clause"
989
+ ],
990
+ "authors": [
991
+ {
992
+ "name": "Jakub Onderka",
993
+ "email": "ahoj@jakubonderka.cz"
994
+ }
995
+ ],
996
+ "description": "This tool check syntax of PHP files about 20x faster than serial check.",
997
+ "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint",
998
+ "support": {
999
+ "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues",
1000
+ "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2"
1001
+ },
1002
+ "time": "2022-02-21T12:50:22+00:00"
1003
+ },
1004
+ {
1005
+ "name": "phpcompatibility/php-compatibility",
1006
+ "version": "dev-develop",
1007
+ "source": {
1008
+ "type": "git",
1009
+ "url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
1010
+ "reference": "f2fa041a1eaef7e7d86fe6b4a2766d14ade415f5"
1011
+ },
1012
+ "dist": {
1013
+ "type": "zip",
1014
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/f2fa041a1eaef7e7d86fe6b4a2766d14ade415f5",
1015
+ "reference": "f2fa041a1eaef7e7d86fe6b4a2766d14ade415f5",
1016
+ "shasum": ""
1017
+ },
1018
+ "require": {
1019
+ "php": ">=5.4",
1020
+ "phpcsstandards/phpcsutils": "^1.0",
1021
+ "squizlabs/php_codesniffer": "^3.7.1"
1022
+ },
1023
+ "replace": {
1024
+ "wimg/php-compatibility": "*"
1025
+ },
1026
+ "require-dev": {
1027
+ "php-parallel-lint/php-console-highlighter": "^1.0.0",
1028
+ "php-parallel-lint/php-parallel-lint": "^1.3.2",
1029
+ "phpcsstandards/phpcsdevcs": "^1.1.3",
1030
+ "phpcsstandards/phpcsdevtools": "^1.2.0",
1031
+ "phpunit/phpunit": "^4.8 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4",
1032
+ "yoast/phpunit-polyfills": "^1.0"
1033
+ },
1034
+ "suggest": {
1035
+ "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
1036
+ },
1037
+ "default-branch": true,
1038
+ "type": "phpcodesniffer-standard",
1039
+ "extra": {
1040
+ "branch-alias": {
1041
+ "dev-master": "9.x-dev",
1042
+ "dev-develop": "10.x-dev"
1043
+ }
1044
+ },
1045
+ "notification-url": "https://packagist.org/downloads/",
1046
+ "license": [
1047
+ "LGPL-3.0-or-later"
1048
+ ],
1049
+ "authors": [
1050
+ {
1051
+ "name": "Wim Godden",
1052
+ "homepage": "https://github.com/wimg",
1053
+ "role": "lead"
1054
+ },
1055
+ {
1056
+ "name": "Juliette Reinders Folmer",
1057
+ "homepage": "https://github.com/jrfnl",
1058
+ "role": "lead"
1059
+ },
1060
+ {
1061
+ "name": "Contributors",
1062
+ "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
1063
+ }
1064
+ ],
1065
+ "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
1066
+ "homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
1067
+ "keywords": [
1068
+ "compatibility",
1069
+ "phpcs",
1070
+ "standards",
1071
+ "static analysis"
1072
+ ],
1073
+ "support": {
1074
+ "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
1075
+ "source": "https://github.com/PHPCompatibility/PHPCompatibility"
1076
+ },
1077
+ "time": "2022-10-15T13:25:15+00:00"
1078
+ },
1079
+ {
1080
+ "name": "phpcompatibility/phpcompatibility-paragonie",
1081
+ "version": "1.3.1",
1082
+ "source": {
1083
+ "type": "git",
1084
+ "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
1085
+ "reference": "ddabec839cc003651f2ce695c938686d1086cf43"
1086
+ },
1087
+ "dist": {
1088
+ "type": "zip",
1089
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/ddabec839cc003651f2ce695c938686d1086cf43",
1090
+ "reference": "ddabec839cc003651f2ce695c938686d1086cf43",
1091
+ "shasum": ""
1092
+ },
1093
+ "require": {
1094
+ "phpcompatibility/php-compatibility": "^9.0"
1095
+ },
1096
+ "require-dev": {
1097
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
1098
+ "paragonie/random_compat": "dev-master",
1099
+ "paragonie/sodium_compat": "dev-master"
1100
+ },
1101
+ "suggest": {
1102
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
1103
+ "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
1104
+ },
1105
+ "type": "phpcodesniffer-standard",
1106
+ "notification-url": "https://packagist.org/downloads/",
1107
+ "license": [
1108
+ "LGPL-3.0-or-later"
1109
+ ],
1110
+ "authors": [
1111
+ {
1112
+ "name": "Wim Godden",
1113
+ "role": "lead"
1114
+ },
1115
+ {
1116
+ "name": "Juliette Reinders Folmer",
1117
+ "role": "lead"
1118
+ }
1119
+ ],
1120
+ "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.",
1121
+ "homepage": "http://phpcompatibility.com/",
1122
+ "keywords": [
1123
+ "compatibility",
1124
+ "paragonie",
1125
+ "phpcs",
1126
+ "polyfill",
1127
+ "standards"
1128
+ ],
1129
+ "support": {
1130
+ "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
1131
+ "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
1132
+ },
1133
+ "time": "2021-02-15T10:24:51+00:00"
1134
+ },
1135
+ {
1136
+ "name": "phpcompatibility/phpcompatibility-wp",
1137
+ "version": "2.1.3",
1138
+ "source": {
1139
+ "type": "git",
1140
+ "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
1141
+ "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308"
1142
+ },
1143
+ "dist": {
1144
+ "type": "zip",
1145
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/d55de55f88697b9cdb94bccf04f14eb3b11cf308",
1146
+ "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308",
1147
+ "shasum": ""
1148
+ },
1149
+ "require": {
1150
+ "phpcompatibility/php-compatibility": "^9.0",
1151
+ "phpcompatibility/phpcompatibility-paragonie": "^1.0"
1152
+ },
1153
+ "require-dev": {
1154
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7"
1155
+ },
1156
+ "suggest": {
1157
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
1158
+ "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
1159
+ },
1160
+ "type": "phpcodesniffer-standard",
1161
+ "notification-url": "https://packagist.org/downloads/",
1162
+ "license": [
1163
+ "LGPL-3.0-or-later"
1164
+ ],
1165
+ "authors": [
1166
+ {
1167
+ "name": "Wim Godden",
1168
+ "role": "lead"
1169
+ },
1170
+ {
1171
+ "name": "Juliette Reinders Folmer",
1172
+ "role": "lead"
1173
+ }
1174
+ ],
1175
+ "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.",
1176
+ "homepage": "http://phpcompatibility.com/",
1177
+ "keywords": [
1178
+ "compatibility",
1179
+ "phpcs",
1180
+ "standards",
1181
+ "wordpress"
1182
+ ],
1183
+ "support": {
1184
+ "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
1185
+ "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
1186
+ },
1187
+ "time": "2021-12-30T16:37:40+00:00"
1188
+ },
1189
+ {
1190
+ "name": "phpcsstandards/phpcsutils",
1191
+ "version": "1.0.0-alpha3",
1192
+ "source": {
1193
+ "type": "git",
1194
+ "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
1195
+ "reference": "a16c989b8421e29c336ece5c4099b48585994673"
1196
+ },
1197
+ "dist": {
1198
+ "type": "zip",
1199
+ "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/a16c989b8421e29c336ece5c4099b48585994673",
1200
+ "reference": "a16c989b8421e29c336ece5c4099b48585994673",
1201
+ "shasum": ""
1202
+ },
1203
+ "require": {
1204
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7",
1205
+ "php": ">=5.4",
1206
+ "squizlabs/php_codesniffer": "^2.6.0 || ^3.1.0 || 4.0.x-dev@dev"
1207
+ },
1208
+ "conflict": {
1209
+ "squizlabs/php_codesniffer": "3.5.3"
1210
+ },
1211
+ "require-dev": {
1212
+ "php-parallel-lint/php-console-highlighter": "^0.5",
1213
+ "php-parallel-lint/php-parallel-lint": "^1.2.0",
1214
+ "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
1215
+ },
1216
+ "type": "phpcodesniffer-standard",
1217
+ "autoload": {
1218
+ "classmap": [
1219
+ "PHPCSUtils/"
1220
+ ]
1221
+ },
1222
+ "notification-url": "https://packagist.org/downloads/",
1223
+ "license": [
1224
+ "LGPL-3.0-or-later"
1225
+ ],
1226
+ "authors": [
1227
+ {
1228
+ "name": "Juliette Reinders Folmer",
1229
+ "homepage": "https://github.com/jrfnl",
1230
+ "role": "lead"
1231
+ },
1232
+ {
1233
+ "name": "Contributors",
1234
+ "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors"
1235
+ }
1236
+ ],
1237
+ "description": "A suite of utility functions for use with PHP_CodeSniffer",
1238
+ "homepage": "https://phpcsutils.com/",
1239
+ "keywords": [
1240
+ "PHP_CodeSniffer",
1241
+ "phpcbf",
1242
+ "phpcodesniffer-standard",
1243
+ "phpcs",
1244
+ "phpcs2",
1245
+ "phpcs3",
1246
+ "standards",
1247
+ "tokens",
1248
+ "utility"
1249
+ ],
1250
+ "support": {
1251
+ "docs": "https://phpcsutils.com/",
1252
+ "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
1253
+ "source": "https://github.com/PHPCSStandards/PHPCSUtils"
1254
+ },
1255
+ "time": "2020-06-28T21:57:33+00:00"
1256
+ },
1257
+ {
1258
+ "name": "phpunit/php-code-coverage",
1259
+ "version": "9.2.17",
1260
+ "source": {
1261
+ "type": "git",
1262
+ "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
1263
+ "reference": "aa94dc41e8661fe90c7316849907cba3007b10d8"
1264
+ },
1265
+ "dist": {
1266
+ "type": "zip",
1267
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/aa94dc41e8661fe90c7316849907cba3007b10d8",
1268
+ "reference": "aa94dc41e8661fe90c7316849907cba3007b10d8",
1269
+ "shasum": ""
1270
+ },
1271
+ "require": {
1272
+ "ext-dom": "*",
1273
+ "ext-libxml": "*",
1274
+ "ext-xmlwriter": "*",
1275
+ "nikic/php-parser": "^4.14",
1276
+ "php": ">=7.3",
1277
+ "phpunit/php-file-iterator": "^3.0.3",
1278
+ "phpunit/php-text-template": "^2.0.2",
1279
+ "sebastian/code-unit-reverse-lookup": "^2.0.2",
1280
+ "sebastian/complexity": "^2.0",
1281
+ "sebastian/environment": "^5.1.2",
1282
+ "sebastian/lines-of-code": "^1.0.3",
1283
+ "sebastian/version": "^3.0.1",
1284
+ "theseer/tokenizer": "^1.2.0"
1285
+ },
1286
+ "require-dev": {
1287
+ "phpunit/phpunit": "^9.3"
1288
+ },
1289
+ "suggest": {
1290
+ "ext-pcov": "*",
1291
+ "ext-xdebug": "*"
1292
+ },
1293
+ "type": "library",
1294
+ "extra": {
1295
+ "branch-alias": {
1296
+ "dev-master": "9.2-dev"
1297
+ }
1298
+ },
1299
+ "autoload": {
1300
+ "classmap": [
1301
+ "src/"
1302
+ ]
1303
+ },
1304
+ "notification-url": "https://packagist.org/downloads/",
1305
+ "license": [
1306
+ "BSD-3-Clause"
1307
+ ],
1308
+ "authors": [
1309
+ {
1310
+ "name": "Sebastian Bergmann",
1311
+ "email": "sebastian@phpunit.de",
1312
+ "role": "lead"
1313
+ }
1314
+ ],
1315
+ "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
1316
+ "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
1317
+ "keywords": [
1318
+ "coverage",
1319
+ "testing",
1320
+ "xunit"
1321
+ ],
1322
+ "support": {
1323
+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
1324
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.17"
1325
+ },
1326
+ "funding": [
1327
+ {
1328
+ "url": "https://github.com/sebastianbergmann",
1329
+ "type": "github"
1330
+ }
1331
+ ],
1332
+ "time": "2022-08-30T12:24:04+00:00"
1333
+ },
1334
+ {
1335
+ "name": "phpunit/php-file-iterator",
1336
+ "version": "3.0.6",
1337
+ "source": {
1338
+ "type": "git",
1339
+ "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
1340
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf"
1341
+ },
1342
+ "dist": {
1343
+ "type": "zip",
1344
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
1345
+ "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
1346
+ "shasum": ""
1347
+ },
1348
+ "require": {
1349
+ "php": ">=7.3"
1350
+ },
1351
+ "require-dev": {
1352
+ "phpunit/phpunit": "^9.3"
1353
+ },
1354
+ "type": "library",
1355
+ "extra": {
1356
+ "branch-alias": {
1357
+ "dev-master": "3.0-dev"
1358
+ }
1359
+ },
1360
+ "autoload": {
1361
+ "classmap": [
1362
+ "src/"
1363
+ ]
1364
+ },
1365
+ "notification-url": "https://packagist.org/downloads/",
1366
+ "license": [
1367
+ "BSD-3-Clause"
1368
+ ],
1369
+ "authors": [
1370
+ {
1371
+ "name": "Sebastian Bergmann",
1372
+ "email": "sebastian@phpunit.de",
1373
+ "role": "lead"
1374
+ }
1375
+ ],
1376
+ "description": "FilterIterator implementation that filters files based on a list of suffixes.",
1377
+ "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
1378
+ "keywords": [
1379
+ "filesystem",
1380
+ "iterator"
1381
+ ],
1382
+ "support": {
1383
+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
1384
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6"
1385
+ },
1386
+ "funding": [
1387
+ {
1388
+ "url": "https://github.com/sebastianbergmann",
1389
+ "type": "github"
1390
+ }
1391
+ ],
1392
+ "time": "2021-12-02T12:48:52+00:00"
1393
+ },
1394
+ {
1395
+ "name": "phpunit/php-invoker",
1396
+ "version": "3.1.1",
1397
+ "source": {
1398
+ "type": "git",
1399
+ "url": "https://github.com/sebastianbergmann/php-invoker.git",
1400
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
1401
+ },
1402
+ "dist": {
1403
+ "type": "zip",
1404
+ "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
1405
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
1406
+ "shasum": ""
1407
+ },
1408
+ "require": {
1409
+ "php": ">=7.3"
1410
+ },
1411
+ "require-dev": {
1412
+ "ext-pcntl": "*",
1413
+ "phpunit/phpunit": "^9.3"
1414
+ },
1415
+ "suggest": {
1416
+ "ext-pcntl": "*"
1417
+ },
1418
+ "type": "library",
1419
+ "extra": {
1420
+ "branch-alias": {
1421
+ "dev-master": "3.1-dev"
1422
+ }
1423
+ },
1424
+ "autoload": {
1425
+ "classmap": [
1426
+ "src/"
1427
+ ]
1428
+ },
1429
+ "notification-url": "https://packagist.org/downloads/",
1430
+ "license": [
1431
+ "BSD-3-Clause"
1432
+ ],
1433
+ "authors": [
1434
+ {
1435
+ "name": "Sebastian Bergmann",
1436
+ "email": "sebastian@phpunit.de",
1437
+ "role": "lead"
1438
+ }
1439
+ ],
1440
+ "description": "Invoke callables with a timeout",
1441
+ "homepage": "https://github.com/sebastianbergmann/php-invoker/",
1442
+ "keywords": [
1443
+ "process"
1444
+ ],
1445
+ "support": {
1446
+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
1447
+ "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
1448
+ },
1449
+ "funding": [
1450
+ {
1451
+ "url": "https://github.com/sebastianbergmann",
1452
+ "type": "github"
1453
+ }
1454
+ ],
1455
+ "time": "2020-09-28T05:58:55+00:00"
1456
+ },
1457
+ {
1458
+ "name": "phpunit/php-text-template",
1459
+ "version": "2.0.4",
1460
+ "source": {
1461
+ "type": "git",
1462
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
1463
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
1464
+ },
1465
+ "dist": {
1466
+ "type": "zip",
1467
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
1468
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
1469
+ "shasum": ""
1470
+ },
1471
+ "require": {
1472
+ "php": ">=7.3"
1473
+ },
1474
+ "require-dev": {
1475
+ "phpunit/phpunit": "^9.3"
1476
+ },
1477
+ "type": "library",
1478
+ "extra": {
1479
+ "branch-alias": {
1480
+ "dev-master": "2.0-dev"
1481
+ }
1482
+ },
1483
+ "autoload": {
1484
+ "classmap": [
1485
+ "src/"
1486
+ ]
1487
+ },
1488
+ "notification-url": "https://packagist.org/downloads/",
1489
+ "license": [
1490
+ "BSD-3-Clause"
1491
+ ],
1492
+ "authors": [
1493
+ {
1494
+ "name": "Sebastian Bergmann",
1495
+ "email": "sebastian@phpunit.de",
1496
+ "role": "lead"
1497
+ }
1498
+ ],
1499
+ "description": "Simple template engine.",
1500
+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",
1501
+ "keywords": [
1502
+ "template"
1503
+ ],
1504
+ "support": {
1505
+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
1506
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
1507
+ },
1508
+ "funding": [
1509
+ {
1510
+ "url": "https://github.com/sebastianbergmann",
1511
+ "type": "github"
1512
+ }
1513
+ ],
1514
+ "time": "2020-10-26T05:33:50+00:00"
1515
+ },
1516
+ {
1517
+ "name": "phpunit/php-timer",
1518
+ "version": "5.0.3",
1519
+ "source": {
1520
+ "type": "git",
1521
+ "url": "https://github.com/sebastianbergmann/php-timer.git",
1522
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
1523
+ },
1524
+ "dist": {
1525
+ "type": "zip",
1526
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
1527
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
1528
+ "shasum": ""
1529
+ },
1530
+ "require": {
1531
+ "php": ">=7.3"
1532
+ },
1533
+ "require-dev": {
1534
+ "phpunit/phpunit": "^9.3"
1535
+ },
1536
+ "type": "library",
1537
+ "extra": {
1538
+ "branch-alias": {
1539
+ "dev-master": "5.0-dev"
1540
+ }
1541
+ },
1542
+ "autoload": {
1543
+ "classmap": [
1544
+ "src/"
1545
+ ]
1546
+ },
1547
+ "notification-url": "https://packagist.org/downloads/",
1548
+ "license": [
1549
+ "BSD-3-Clause"
1550
+ ],
1551
+ "authors": [
1552
+ {
1553
+ "name": "Sebastian Bergmann",
1554
+ "email": "sebastian@phpunit.de",
1555
+ "role": "lead"
1556
+ }
1557
+ ],
1558
+ "description": "Utility class for timing",
1559
+ "homepage": "https://github.com/sebastianbergmann/php-timer/",
1560
+ "keywords": [
1561
+ "timer"
1562
+ ],
1563
+ "support": {
1564
+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",
1565
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
1566
+ },
1567
+ "funding": [
1568
+ {
1569
+ "url": "https://github.com/sebastianbergmann",
1570
+ "type": "github"
1571
+ }
1572
+ ],
1573
+ "time": "2020-10-26T13:16:10+00:00"
1574
+ },
1575
+ {
1576
+ "name": "phpunit/phpunit",
1577
+ "version": "9.5.25",
1578
+ "source": {
1579
+ "type": "git",
1580
+ "url": "https://github.com/sebastianbergmann/phpunit.git",
1581
+ "reference": "3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d"
1582
+ },
1583
+ "dist": {
1584
+ "type": "zip",
1585
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d",
1586
+ "reference": "3e6f90ca7e3d02025b1d147bd8d4a89fd4ca8a1d",
1587
+ "shasum": ""
1588
+ },
1589
+ "require": {
1590
+ "doctrine/instantiator": "^1.3.1",
1591
+ "ext-dom": "*",
1592
+ "ext-json": "*",
1593
+ "ext-libxml": "*",
1594
+ "ext-mbstring": "*",
1595
+ "ext-xml": "*",
1596
+ "ext-xmlwriter": "*",
1597
+ "myclabs/deep-copy": "^1.10.1",
1598
+ "phar-io/manifest": "^2.0.3",
1599
+ "phar-io/version": "^3.0.2",
1600
+ "php": ">=7.3",
1601
+ "phpunit/php-code-coverage": "^9.2.13",
1602
+ "phpunit/php-file-iterator": "^3.0.5",
1603
+ "phpunit/php-invoker": "^3.1.1",
1604
+ "phpunit/php-text-template": "^2.0.3",
1605
+ "phpunit/php-timer": "^5.0.2",
1606
+ "sebastian/cli-parser": "^1.0.1",
1607
+ "sebastian/code-unit": "^1.0.6",
1608
+ "sebastian/comparator": "^4.0.8",
1609
+ "sebastian/diff": "^4.0.3",
1610
+ "sebastian/environment": "^5.1.3",
1611
+ "sebastian/exporter": "^4.0.5",
1612
+ "sebastian/global-state": "^5.0.1",
1613
+ "sebastian/object-enumerator": "^4.0.3",
1614
+ "sebastian/resource-operations": "^3.0.3",
1615
+ "sebastian/type": "^3.2",
1616
+ "sebastian/version": "^3.0.2"
1617
+ },
1618
+ "suggest": {
1619
+ "ext-soap": "*",
1620
+ "ext-xdebug": "*"
1621
+ },
1622
+ "bin": [
1623
+ "phpunit"
1624
+ ],
1625
+ "type": "library",
1626
+ "extra": {
1627
+ "branch-alias": {
1628
+ "dev-master": "9.5-dev"
1629
+ }
1630
+ },
1631
+ "autoload": {
1632
+ "files": [
1633
+ "src/Framework/Assert/Functions.php"
1634
+ ],
1635
+ "classmap": [
1636
+ "src/"
1637
+ ]
1638
+ },
1639
+ "notification-url": "https://packagist.org/downloads/",
1640
+ "license": [
1641
+ "BSD-3-Clause"
1642
+ ],
1643
+ "authors": [
1644
+ {
1645
+ "name": "Sebastian Bergmann",
1646
+ "email": "sebastian@phpunit.de",
1647
+ "role": "lead"
1648
+ }
1649
+ ],
1650
+ "description": "The PHP Unit Testing framework.",
1651
+ "homepage": "https://phpunit.de/",
1652
+ "keywords": [
1653
+ "phpunit",
1654
+ "testing",
1655
+ "xunit"
1656
+ ],
1657
+ "support": {
1658
+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",
1659
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.25"
1660
+ },
1661
+ "funding": [
1662
+ {
1663
+ "url": "https://phpunit.de/sponsors.html",
1664
+ "type": "custom"
1665
+ },
1666
+ {
1667
+ "url": "https://github.com/sebastianbergmann",
1668
+ "type": "github"
1669
+ },
1670
+ {
1671
+ "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit",
1672
+ "type": "tidelift"
1673
+ }
1674
+ ],
1675
+ "time": "2022-09-25T03:44:45+00:00"
1676
+ },
1677
+ {
1678
+ "name": "sebastian/cli-parser",
1679
+ "version": "1.0.1",
1680
+ "source": {
1681
+ "type": "git",
1682
+ "url": "https://github.com/sebastianbergmann/cli-parser.git",
1683
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2"
1684
+ },
1685
+ "dist": {
1686
+ "type": "zip",
1687
+ "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2",
1688
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2",
1689
+ "shasum": ""
1690
+ },
1691
+ "require": {
1692
+ "php": ">=7.3"
1693
+ },
1694
+ "require-dev": {
1695
+ "phpunit/phpunit": "^9.3"
1696
+ },
1697
+ "type": "library",
1698
+ "extra": {
1699
+ "branch-alias": {
1700
+ "dev-master": "1.0-dev"
1701
+ }
1702
+ },
1703
+ "autoload": {
1704
+ "classmap": [
1705
+ "src/"
1706
+ ]
1707
+ },
1708
+ "notification-url": "https://packagist.org/downloads/",
1709
+ "license": [
1710
+ "BSD-3-Clause"
1711
+ ],
1712
+ "authors": [
1713
+ {
1714
+ "name": "Sebastian Bergmann",
1715
+ "email": "sebastian@phpunit.de",
1716
+ "role": "lead"
1717
+ }
1718
+ ],
1719
+ "description": "Library for parsing CLI options",
1720
+ "homepage": "https://github.com/sebastianbergmann/cli-parser",
1721
+ "support": {
1722
+ "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
1723
+ "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"
1724
+ },
1725
+ "funding": [
1726
+ {
1727
+ "url": "https://github.com/sebastianbergmann",
1728
+ "type": "github"
1729
+ }
1730
+ ],
1731
+ "time": "2020-09-28T06:08:49+00:00"
1732
+ },
1733
+ {
1734
+ "name": "sebastian/code-unit",
1735
+ "version": "1.0.8",
1736
+ "source": {
1737
+ "type": "git",
1738
+ "url": "https://github.com/sebastianbergmann/code-unit.git",
1739
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
1740
+ },
1741
+ "dist": {
1742
+ "type": "zip",
1743
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
1744
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
1745
+ "shasum": ""
1746
+ },
1747
+ "require": {
1748
+ "php": ">=7.3"
1749
+ },
1750
+ "require-dev": {
1751
+ "phpunit/phpunit": "^9.3"
1752
+ },
1753
+ "type": "library",
1754
+ "extra": {
1755
+ "branch-alias": {
1756
+ "dev-master": "1.0-dev"
1757
+ }
1758
+ },
1759
+ "autoload": {
1760
+ "classmap": [
1761
+ "src/"
1762
+ ]
1763
+ },
1764
+ "notification-url": "https://packagist.org/downloads/",
1765
+ "license": [
1766
+ "BSD-3-Clause"
1767
+ ],
1768
+ "authors": [
1769
+ {
1770
+ "name": "Sebastian Bergmann",
1771
+ "email": "sebastian@phpunit.de",
1772
+ "role": "lead"
1773
+ }
1774
+ ],
1775
+ "description": "Collection of value objects that represent the PHP code units",
1776
+ "homepage": "https://github.com/sebastianbergmann/code-unit",
1777
+ "support": {
1778
+ "issues": "https://github.com/sebastianbergmann/code-unit/issues",
1779
+ "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
1780
+ },
1781
+ "funding": [
1782
+ {
1783
+ "url": "https://github.com/sebastianbergmann",
1784
+ "type": "github"
1785
+ }
1786
+ ],
1787
+ "time": "2020-10-26T13:08:54+00:00"
1788
+ },
1789
+ {
1790
+ "name": "sebastian/code-unit-reverse-lookup",
1791
+ "version": "2.0.3",
1792
+ "source": {
1793
+ "type": "git",
1794
+ "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
1795
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
1796
+ },
1797
+ "dist": {
1798
+ "type": "zip",
1799
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
1800
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
1801
+ "shasum": ""
1802
+ },
1803
+ "require": {
1804
+ "php": ">=7.3"
1805
+ },
1806
+ "require-dev": {
1807
+ "phpunit/phpunit": "^9.3"
1808
+ },
1809
+ "type": "library",
1810
+ "extra": {
1811
+ "branch-alias": {
1812
+ "dev-master": "2.0-dev"
1813
+ }
1814
+ },
1815
+ "autoload": {
1816
+ "classmap": [
1817
+ "src/"
1818
+ ]
1819
+ },
1820
+ "notification-url": "https://packagist.org/downloads/",
1821
+ "license": [
1822
+ "BSD-3-Clause"
1823
+ ],
1824
+ "authors": [
1825
+ {
1826
+ "name": "Sebastian Bergmann",
1827
+ "email": "sebastian@phpunit.de"
1828
+ }
1829
+ ],
1830
+ "description": "Looks up which function or method a line of code belongs to",
1831
+ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
1832
+ "support": {
1833
+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
1834
+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
1835
+ },
1836
+ "funding": [
1837
+ {
1838
+ "url": "https://github.com/sebastianbergmann",
1839
+ "type": "github"
1840
+ }
1841
+ ],
1842
+ "time": "2020-09-28T05:30:19+00:00"
1843
+ },
1844
+ {
1845
+ "name": "sebastian/comparator",
1846
+ "version": "4.0.8",
1847
+ "source": {
1848
+ "type": "git",
1849
+ "url": "https://github.com/sebastianbergmann/comparator.git",
1850
+ "reference": "fa0f136dd2334583309d32b62544682ee972b51a"
1851
+ },
1852
+ "dist": {
1853
+ "type": "zip",
1854
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a",
1855
+ "reference": "fa0f136dd2334583309d32b62544682ee972b51a",
1856
+ "shasum": ""
1857
+ },
1858
+ "require": {
1859
+ "php": ">=7.3",
1860
+ "sebastian/diff": "^4.0",
1861
+ "sebastian/exporter": "^4.0"
1862
+ },
1863
+ "require-dev": {
1864
+ "phpunit/phpunit": "^9.3"
1865
+ },
1866
+ "type": "library",
1867
+ "extra": {
1868
+ "branch-alias": {
1869
+ "dev-master": "4.0-dev"
1870
+ }
1871
+ },
1872
+ "autoload": {
1873
+ "classmap": [
1874
+ "src/"
1875
+ ]
1876
+ },
1877
+ "notification-url": "https://packagist.org/downloads/",
1878
+ "license": [
1879
+ "BSD-3-Clause"
1880
+ ],
1881
+ "authors": [
1882
+ {
1883
+ "name": "Sebastian Bergmann",
1884
+ "email": "sebastian@phpunit.de"
1885
+ },
1886
+ {
1887
+ "name": "Jeff Welch",
1888
+ "email": "whatthejeff@gmail.com"
1889
+ },
1890
+ {
1891
+ "name": "Volker Dusch",
1892
+ "email": "github@wallbash.com"
1893
+ },
1894
+ {
1895
+ "name": "Bernhard Schussek",
1896
+ "email": "bschussek@2bepublished.at"
1897
+ }
1898
+ ],
1899
+ "description": "Provides the functionality to compare PHP values for equality",
1900
+ "homepage": "https://github.com/sebastianbergmann/comparator",
1901
+ "keywords": [
1902
+ "comparator",
1903
+ "compare",
1904
+ "equality"
1905
+ ],
1906
+ "support": {
1907
+ "issues": "https://github.com/sebastianbergmann/comparator/issues",
1908
+ "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8"
1909
+ },
1910
+ "funding": [
1911
+ {
1912
+ "url": "https://github.com/sebastianbergmann",
1913
+ "type": "github"
1914
+ }
1915
+ ],
1916
+ "time": "2022-09-14T12:41:17+00:00"
1917
+ },
1918
+ {
1919
+ "name": "sebastian/complexity",
1920
+ "version": "2.0.2",
1921
+ "source": {
1922
+ "type": "git",
1923
+ "url": "https://github.com/sebastianbergmann/complexity.git",
1924
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
1925
+ },
1926
+ "dist": {
1927
+ "type": "zip",
1928
+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
1929
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
1930
+ "shasum": ""
1931
+ },
1932
+ "require": {
1933
+ "nikic/php-parser": "^4.7",
1934
+ "php": ">=7.3"
1935
+ },
1936
+ "require-dev": {
1937
+ "phpunit/phpunit": "^9.3"
1938
+ },
1939
+ "type": "library",
1940
+ "extra": {
1941
+ "branch-alias": {
1942
+ "dev-master": "2.0-dev"
1943
+ }
1944
+ },
1945
+ "autoload": {
1946
+ "classmap": [
1947
+ "src/"
1948
+ ]
1949
+ },
1950
+ "notification-url": "https://packagist.org/downloads/",
1951
+ "license": [
1952
+ "BSD-3-Clause"
1953
+ ],
1954
+ "authors": [
1955
+ {
1956
+ "name": "Sebastian Bergmann",
1957
+ "email": "sebastian@phpunit.de",
1958
+ "role": "lead"
1959
+ }
1960
+ ],
1961
+ "description": "Library for calculating the complexity of PHP code units",
1962
+ "homepage": "https://github.com/sebastianbergmann/complexity",
1963
+ "support": {
1964
+ "issues": "https://github.com/sebastianbergmann/complexity/issues",
1965
+ "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
1966
+ },
1967
+ "funding": [
1968
+ {
1969
+ "url": "https://github.com/sebastianbergmann",
1970
+ "type": "github"
1971
+ }
1972
+ ],
1973
+ "time": "2020-10-26T15:52:27+00:00"
1974
+ },
1975
+ {
1976
+ "name": "sebastian/diff",
1977
+ "version": "4.0.4",
1978
+ "source": {
1979
+ "type": "git",
1980
+ "url": "https://github.com/sebastianbergmann/diff.git",
1981
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
1982
+ },
1983
+ "dist": {
1984
+ "type": "zip",
1985
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
1986
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
1987
+ "shasum": ""
1988
+ },
1989
+ "require": {
1990
+ "php": ">=7.3"
1991
+ },
1992
+ "require-dev": {
1993
+ "phpunit/phpunit": "^9.3",
1994
+ "symfony/process": "^4.2 || ^5"
1995
+ },
1996
+ "type": "library",
1997
+ "extra": {
1998
+ "branch-alias": {
1999
+ "dev-master": "4.0-dev"
2000
+ }
2001
+ },
2002
+ "autoload": {
2003
+ "classmap": [
2004
+ "src/"
2005
+ ]
2006
+ },
2007
+ "notification-url": "https://packagist.org/downloads/",
2008
+ "license": [
2009
+ "BSD-3-Clause"
2010
+ ],
2011
+ "authors": [
2012
+ {
2013
+ "name": "Sebastian Bergmann",
2014
+ "email": "sebastian@phpunit.de"
2015
+ },
2016
+ {
2017
+ "name": "Kore Nordmann",
2018
+ "email": "mail@kore-nordmann.de"
2019
+ }
2020
+ ],
2021
+ "description": "Diff implementation",
2022
+ "homepage": "https://github.com/sebastianbergmann/diff",
2023
+ "keywords": [
2024
+ "diff",
2025
+ "udiff",
2026
+ "unidiff",
2027
+ "unified diff"
2028
+ ],
2029
+ "support": {
2030
+ "issues": "https://github.com/sebastianbergmann/diff/issues",
2031
+ "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
2032
+ },
2033
+ "funding": [
2034
+ {
2035
+ "url": "https://github.com/sebastianbergmann",
2036
+ "type": "github"
2037
+ }
2038
+ ],
2039
+ "time": "2020-10-26T13:10:38+00:00"
2040
+ },
2041
+ {
2042
+ "name": "sebastian/environment",
2043
+ "version": "5.1.4",
2044
+ "source": {
2045
+ "type": "git",
2046
+ "url": "https://github.com/sebastianbergmann/environment.git",
2047
+ "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7"
2048
+ },
2049
+ "dist": {
2050
+ "type": "zip",
2051
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7",
2052
+ "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7",
2053
+ "shasum": ""
2054
+ },
2055
+ "require": {
2056
+ "php": ">=7.3"
2057
+ },
2058
+ "require-dev": {
2059
+ "phpunit/phpunit": "^9.3"
2060
+ },
2061
+ "suggest": {
2062
+ "ext-posix": "*"
2063
+ },
2064
+ "type": "library",
2065
+ "extra": {
2066
+ "branch-alias": {
2067
+ "dev-master": "5.1-dev"
2068
+ }
2069
+ },
2070
+ "autoload": {
2071
+ "classmap": [
2072
+ "src/"
2073
+ ]
2074
+ },
2075
+ "notification-url": "https://packagist.org/downloads/",
2076
+ "license": [
2077
+ "BSD-3-Clause"
2078
+ ],
2079
+ "authors": [
2080
+ {
2081
+ "name": "Sebastian Bergmann",
2082
+ "email": "sebastian@phpunit.de"
2083
+ }
2084
+ ],
2085
+ "description": "Provides functionality to handle HHVM/PHP environments",
2086
+ "homepage": "http://www.github.com/sebastianbergmann/environment",
2087
+ "keywords": [
2088
+ "Xdebug",
2089
+ "environment",
2090
+ "hhvm"
2091
+ ],
2092
+ "support": {
2093
+ "issues": "https://github.com/sebastianbergmann/environment/issues",
2094
+ "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4"
2095
+ },
2096
+ "funding": [
2097
+ {
2098
+ "url": "https://github.com/sebastianbergmann",
2099
+ "type": "github"
2100
+ }
2101
+ ],
2102
+ "time": "2022-04-03T09:37:03+00:00"
2103
+ },
2104
+ {
2105
+ "name": "sebastian/exporter",
2106
+ "version": "4.0.5",
2107
+ "source": {
2108
+ "type": "git",
2109
+ "url": "https://github.com/sebastianbergmann/exporter.git",
2110
+ "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d"
2111
+ },
2112
+ "dist": {
2113
+ "type": "zip",
2114
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d",
2115
+ "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d",
2116
+ "shasum": ""
2117
+ },
2118
+ "require": {
2119
+ "php": ">=7.3",
2120
+ "sebastian/recursion-context": "^4.0"
2121
+ },
2122
+ "require-dev": {
2123
+ "ext-mbstring": "*",
2124
+ "phpunit/phpunit": "^9.3"
2125
+ },
2126
+ "type": "library",
2127
+ "extra": {
2128
+ "branch-alias": {
2129
+ "dev-master": "4.0-dev"
2130
+ }
2131
+ },
2132
+ "autoload": {
2133
+ "classmap": [
2134
+ "src/"
2135
+ ]
2136
+ },
2137
+ "notification-url": "https://packagist.org/downloads/",
2138
+ "license": [
2139
+ "BSD-3-Clause"
2140
+ ],
2141
+ "authors": [
2142
+ {
2143
+ "name": "Sebastian Bergmann",
2144
+ "email": "sebastian@phpunit.de"
2145
+ },
2146
+ {
2147
+ "name": "Jeff Welch",
2148
+ "email": "whatthejeff@gmail.com"
2149
+ },
2150
+ {
2151
+ "name": "Volker Dusch",
2152
+ "email": "github@wallbash.com"
2153
+ },
2154
+ {
2155
+ "name": "Adam Harvey",
2156
+ "email": "aharvey@php.net"
2157
+ },
2158
+ {
2159
+ "name": "Bernhard Schussek",
2160
+ "email": "bschussek@gmail.com"
2161
+ }
2162
+ ],
2163
+ "description": "Provides the functionality to export PHP variables for visualization",
2164
+ "homepage": "https://www.github.com/sebastianbergmann/exporter",
2165
+ "keywords": [
2166
+ "export",
2167
+ "exporter"
2168
+ ],
2169
+ "support": {
2170
+ "issues": "https://github.com/sebastianbergmann/exporter/issues",
2171
+ "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5"
2172
+ },
2173
+ "funding": [
2174
+ {
2175
+ "url": "https://github.com/sebastianbergmann",
2176
+ "type": "github"
2177
+ }
2178
+ ],
2179
+ "time": "2022-09-14T06:03:37+00:00"
2180
+ },
2181
+ {
2182
+ "name": "sebastian/global-state",
2183
+ "version": "5.0.5",
2184
+ "source": {
2185
+ "type": "git",
2186
+ "url": "https://github.com/sebastianbergmann/global-state.git",
2187
+ "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2"
2188
+ },
2189
+ "dist": {
2190
+ "type": "zip",
2191
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2",
2192
+ "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2",
2193
+ "shasum": ""
2194
+ },
2195
+ "require": {
2196
+ "php": ">=7.3",
2197
+ "sebastian/object-reflector": "^2.0",
2198
+ "sebastian/recursion-context": "^4.0"
2199
+ },
2200
+ "require-dev": {
2201
+ "ext-dom": "*",
2202
+ "phpunit/phpunit": "^9.3"
2203
+ },
2204
+ "suggest": {
2205
+ "ext-uopz": "*"
2206
+ },
2207
+ "type": "library",
2208
+ "extra": {
2209
+ "branch-alias": {
2210
+ "dev-master": "5.0-dev"
2211
+ }
2212
+ },
2213
+ "autoload": {
2214
+ "classmap": [
2215
+ "src/"
2216
+ ]
2217
+ },
2218
+ "notification-url": "https://packagist.org/downloads/",
2219
+ "license": [
2220
+ "BSD-3-Clause"
2221
+ ],
2222
+ "authors": [
2223
+ {
2224
+ "name": "Sebastian Bergmann",
2225
+ "email": "sebastian@phpunit.de"
2226
+ }
2227
+ ],
2228
+ "description": "Snapshotting of global state",
2229
+ "homepage": "http://www.github.com/sebastianbergmann/global-state",
2230
+ "keywords": [
2231
+ "global state"
2232
+ ],
2233
+ "support": {
2234
+ "issues": "https://github.com/sebastianbergmann/global-state/issues",
2235
+ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5"
2236
+ },
2237
+ "funding": [
2238
+ {
2239
+ "url": "https://github.com/sebastianbergmann",
2240
+ "type": "github"
2241
+ }
2242
+ ],
2243
+ "time": "2022-02-14T08:28:10+00:00"
2244
+ },
2245
+ {
2246
+ "name": "sebastian/lines-of-code",
2247
+ "version": "1.0.3",
2248
+ "source": {
2249
+ "type": "git",
2250
+ "url": "https://github.com/sebastianbergmann/lines-of-code.git",
2251
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
2252
+ },
2253
+ "dist": {
2254
+ "type": "zip",
2255
+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
2256
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
2257
+ "shasum": ""
2258
+ },
2259
+ "require": {
2260
+ "nikic/php-parser": "^4.6",
2261
+ "php": ">=7.3"
2262
+ },
2263
+ "require-dev": {
2264
+ "phpunit/phpunit": "^9.3"
2265
+ },
2266
+ "type": "library",
2267
+ "extra": {
2268
+ "branch-alias": {
2269
+ "dev-master": "1.0-dev"
2270
+ }
2271
+ },
2272
+ "autoload": {
2273
+ "classmap": [
2274
+ "src/"
2275
+ ]
2276
+ },
2277
+ "notification-url": "https://packagist.org/downloads/",
2278
+ "license": [
2279
+ "BSD-3-Clause"
2280
+ ],
2281
+ "authors": [
2282
+ {
2283
+ "name": "Sebastian Bergmann",
2284
+ "email": "sebastian@phpunit.de",
2285
+ "role": "lead"
2286
+ }
2287
+ ],
2288
+ "description": "Library for counting the lines of code in PHP source code",
2289
+ "homepage": "https://github.com/sebastianbergmann/lines-of-code",
2290
+ "support": {
2291
+ "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
2292
+ "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3"
2293
+ },
2294
+ "funding": [
2295
+ {
2296
+ "url": "https://github.com/sebastianbergmann",
2297
+ "type": "github"
2298
+ }
2299
+ ],
2300
+ "time": "2020-11-28T06:42:11+00:00"
2301
+ },
2302
+ {
2303
+ "name": "sebastian/object-enumerator",
2304
+ "version": "4.0.4",
2305
+ "source": {
2306
+ "type": "git",
2307
+ "url": "https://github.com/sebastianbergmann/object-enumerator.git",
2308
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
2309
+ },
2310
+ "dist": {
2311
+ "type": "zip",
2312
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
2313
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
2314
+ "shasum": ""
2315
+ },
2316
+ "require": {
2317
+ "php": ">=7.3",
2318
+ "sebastian/object-reflector": "^2.0",
2319
+ "sebastian/recursion-context": "^4.0"
2320
+ },
2321
+ "require-dev": {
2322
+ "phpunit/phpunit": "^9.3"
2323
+ },
2324
+ "type": "library",
2325
+ "extra": {
2326
+ "branch-alias": {
2327
+ "dev-master": "4.0-dev"
2328
+ }
2329
+ },
2330
+ "autoload": {
2331
+ "classmap": [
2332
+ "src/"
2333
+ ]
2334
+ },
2335
+ "notification-url": "https://packagist.org/downloads/",
2336
+ "license": [
2337
+ "BSD-3-Clause"
2338
+ ],
2339
+ "authors": [
2340
+ {
2341
+ "name": "Sebastian Bergmann",
2342
+ "email": "sebastian@phpunit.de"
2343
+ }
2344
+ ],
2345
+ "description": "Traverses array structures and object graphs to enumerate all referenced objects",
2346
+ "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
2347
+ "support": {
2348
+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
2349
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
2350
+ },
2351
+ "funding": [
2352
+ {
2353
+ "url": "https://github.com/sebastianbergmann",
2354
+ "type": "github"
2355
+ }
2356
+ ],
2357
+ "time": "2020-10-26T13:12:34+00:00"
2358
+ },
2359
+ {
2360
+ "name": "sebastian/object-reflector",
2361
+ "version": "2.0.4",
2362
+ "source": {
2363
+ "type": "git",
2364
+ "url": "https://github.com/sebastianbergmann/object-reflector.git",
2365
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
2366
+ },
2367
+ "dist": {
2368
+ "type": "zip",
2369
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
2370
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
2371
+ "shasum": ""
2372
+ },
2373
+ "require": {
2374
+ "php": ">=7.3"
2375
+ },
2376
+ "require-dev": {
2377
+ "phpunit/phpunit": "^9.3"
2378
+ },
2379
+ "type": "library",
2380
+ "extra": {
2381
+ "branch-alias": {
2382
+ "dev-master": "2.0-dev"
2383
+ }
2384
+ },
2385
+ "autoload": {
2386
+ "classmap": [
2387
+ "src/"
2388
+ ]
2389
+ },
2390
+ "notification-url": "https://packagist.org/downloads/",
2391
+ "license": [
2392
+ "BSD-3-Clause"
2393
+ ],
2394
+ "authors": [
2395
+ {
2396
+ "name": "Sebastian Bergmann",
2397
+ "email": "sebastian@phpunit.de"
2398
+ }
2399
+ ],
2400
+ "description": "Allows reflection of object attributes, including inherited and non-public ones",
2401
+ "homepage": "https://github.com/sebastianbergmann/object-reflector/",
2402
+ "support": {
2403
+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
2404
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
2405
+ },
2406
+ "funding": [
2407
+ {
2408
+ "url": "https://github.com/sebastianbergmann",
2409
+ "type": "github"
2410
+ }
2411
+ ],
2412
+ "time": "2020-10-26T13:14:26+00:00"
2413
+ },
2414
+ {
2415
+ "name": "sebastian/recursion-context",
2416
+ "version": "4.0.4",
2417
+ "source": {
2418
+ "type": "git",
2419
+ "url": "https://github.com/sebastianbergmann/recursion-context.git",
2420
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
2421
+ },
2422
+ "dist": {
2423
+ "type": "zip",
2424
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
2425
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
2426
+ "shasum": ""
2427
+ },
2428
+ "require": {
2429
+ "php": ">=7.3"
2430
+ },
2431
+ "require-dev": {
2432
+ "phpunit/phpunit": "^9.3"
2433
+ },
2434
+ "type": "library",
2435
+ "extra": {
2436
+ "branch-alias": {
2437
+ "dev-master": "4.0-dev"
2438
+ }
2439
+ },
2440
+ "autoload": {
2441
+ "classmap": [
2442
+ "src/"
2443
+ ]
2444
+ },
2445
+ "notification-url": "https://packagist.org/downloads/",
2446
+ "license": [
2447
+ "BSD-3-Clause"
2448
+ ],
2449
+ "authors": [
2450
+ {
2451
+ "name": "Sebastian Bergmann",
2452
+ "email": "sebastian@phpunit.de"
2453
+ },
2454
+ {
2455
+ "name": "Jeff Welch",
2456
+ "email": "whatthejeff@gmail.com"
2457
+ },
2458
+ {
2459
+ "name": "Adam Harvey",
2460
+ "email": "aharvey@php.net"
2461
+ }
2462
+ ],
2463
+ "description": "Provides functionality to recursively process PHP variables",
2464
+ "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
2465
+ "support": {
2466
+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
2467
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
2468
+ },
2469
+ "funding": [
2470
+ {
2471
+ "url": "https://github.com/sebastianbergmann",
2472
+ "type": "github"
2473
+ }
2474
+ ],
2475
+ "time": "2020-10-26T13:17:30+00:00"
2476
+ },
2477
+ {
2478
+ "name": "sebastian/resource-operations",
2479
+ "version": "3.0.3",
2480
+ "source": {
2481
+ "type": "git",
2482
+ "url": "https://github.com/sebastianbergmann/resource-operations.git",
2483
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8"
2484
+ },
2485
+ "dist": {
2486
+ "type": "zip",
2487
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
2488
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
2489
+ "shasum": ""
2490
+ },
2491
+ "require": {
2492
+ "php": ">=7.3"
2493
+ },
2494
+ "require-dev": {
2495
+ "phpunit/phpunit": "^9.0"
2496
+ },
2497
+ "type": "library",
2498
+ "extra": {
2499
+ "branch-alias": {
2500
+ "dev-master": "3.0-dev"
2501
+ }
2502
+ },
2503
+ "autoload": {
2504
+ "classmap": [
2505
+ "src/"
2506
+ ]
2507
+ },
2508
+ "notification-url": "https://packagist.org/downloads/",
2509
+ "license": [
2510
+ "BSD-3-Clause"
2511
+ ],
2512
+ "authors": [
2513
+ {
2514
+ "name": "Sebastian Bergmann",
2515
+ "email": "sebastian@phpunit.de"
2516
+ }
2517
+ ],
2518
+ "description": "Provides a list of PHP built-in functions that operate on resources",
2519
+ "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
2520
+ "support": {
2521
+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
2522
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"
2523
+ },
2524
+ "funding": [
2525
+ {
2526
+ "url": "https://github.com/sebastianbergmann",
2527
+ "type": "github"
2528
+ }
2529
+ ],
2530
+ "time": "2020-09-28T06:45:17+00:00"
2531
+ },
2532
+ {
2533
+ "name": "sebastian/type",
2534
+ "version": "3.2.0",
2535
+ "source": {
2536
+ "type": "git",
2537
+ "url": "https://github.com/sebastianbergmann/type.git",
2538
+ "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e"
2539
+ },
2540
+ "dist": {
2541
+ "type": "zip",
2542
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e",
2543
+ "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e",
2544
+ "shasum": ""
2545
+ },
2546
+ "require": {
2547
+ "php": ">=7.3"
2548
+ },
2549
+ "require-dev": {
2550
+ "phpunit/phpunit": "^9.5"
2551
+ },
2552
+ "type": "library",
2553
+ "extra": {
2554
+ "branch-alias": {
2555
+ "dev-master": "3.2-dev"
2556
+ }
2557
+ },
2558
+ "autoload": {
2559
+ "classmap": [
2560
+ "src/"
2561
+ ]
2562
+ },
2563
+ "notification-url": "https://packagist.org/downloads/",
2564
+ "license": [
2565
+ "BSD-3-Clause"
2566
+ ],
2567
+ "authors": [
2568
+ {
2569
+ "name": "Sebastian Bergmann",
2570
+ "email": "sebastian@phpunit.de",
2571
+ "role": "lead"
2572
+ }
2573
+ ],
2574
+ "description": "Collection of value objects that represent the types of the PHP type system",
2575
+ "homepage": "https://github.com/sebastianbergmann/type",
2576
+ "support": {
2577
+ "issues": "https://github.com/sebastianbergmann/type/issues",
2578
+ "source": "https://github.com/sebastianbergmann/type/tree/3.2.0"
2579
+ },
2580
+ "funding": [
2581
+ {
2582
+ "url": "https://github.com/sebastianbergmann",
2583
+ "type": "github"
2584
+ }
2585
+ ],
2586
+ "time": "2022-09-12T14:47:03+00:00"
2587
+ },
2588
+ {
2589
+ "name": "sebastian/version",
2590
+ "version": "3.0.2",
2591
+ "source": {
2592
+ "type": "git",
2593
+ "url": "https://github.com/sebastianbergmann/version.git",
2594
+ "reference": "c6c1022351a901512170118436c764e473f6de8c"
2595
+ },
2596
+ "dist": {
2597
+ "type": "zip",
2598
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
2599
+ "reference": "c6c1022351a901512170118436c764e473f6de8c",
2600
+ "shasum": ""
2601
+ },
2602
+ "require": {
2603
+ "php": ">=7.3"
2604
+ },
2605
+ "type": "library",
2606
+ "extra": {
2607
+ "branch-alias": {
2608
+ "dev-master": "3.0-dev"
2609
+ }
2610
+ },
2611
+ "autoload": {
2612
+ "classmap": [
2613
+ "src/"
2614
+ ]
2615
+ },
2616
+ "notification-url": "https://packagist.org/downloads/",
2617
+ "license": [
2618
+ "BSD-3-Clause"
2619
+ ],
2620
+ "authors": [
2621
+ {
2622
+ "name": "Sebastian Bergmann",
2623
+ "email": "sebastian@phpunit.de",
2624
+ "role": "lead"
2625
+ }
2626
+ ],
2627
+ "description": "Library that helps with managing the version number of Git-hosted PHP projects",
2628
+ "homepage": "https://github.com/sebastianbergmann/version",
2629
+ "support": {
2630
+ "issues": "https://github.com/sebastianbergmann/version/issues",
2631
+ "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
2632
+ },
2633
+ "funding": [
2634
+ {
2635
+ "url": "https://github.com/sebastianbergmann",
2636
+ "type": "github"
2637
+ }
2638
+ ],
2639
+ "time": "2020-09-28T06:39:44+00:00"
2640
+ },
2641
+ {
2642
+ "name": "sirbrillig/phpcs-variable-analysis",
2643
+ "version": "v2.11.9",
2644
+ "source": {
2645
+ "type": "git",
2646
+ "url": "https://github.com/sirbrillig/phpcs-variable-analysis.git",
2647
+ "reference": "62730888d225d55a613854b6a76fb1f9f57d1618"
2648
+ },
2649
+ "dist": {
2650
+ "type": "zip",
2651
+ "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/62730888d225d55a613854b6a76fb1f9f57d1618",
2652
+ "reference": "62730888d225d55a613854b6a76fb1f9f57d1618",
2653
+ "shasum": ""
2654
+ },
2655
+ "require": {
2656
+ "php": ">=5.4.0",
2657
+ "squizlabs/php_codesniffer": "^3.5.6"
2658
+ },
2659
+ "require-dev": {
2660
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
2661
+ "phpcsstandards/phpcsdevcs": "^1.1",
2662
+ "phpstan/phpstan": "^1.7",
2663
+ "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.5 || ^7.0 || ^8.0 || ^9.0",
2664
+ "sirbrillig/phpcs-import-detection": "^1.1",
2665
+ "vimeo/psalm": "^0.2 || ^0.3 || ^1.1 || ^4.24 || ^5.0@beta"
2666
+ },
2667
+ "type": "phpcodesniffer-standard",
2668
+ "autoload": {
2669
+ "psr-4": {
2670
+ "VariableAnalysis\\": "VariableAnalysis/"
2671
+ }
2672
+ },
2673
+ "notification-url": "https://packagist.org/downloads/",
2674
+ "license": [
2675
+ "BSD-2-Clause"
2676
+ ],
2677
+ "authors": [
2678
+ {
2679
+ "name": "Sam Graham",
2680
+ "email": "php-codesniffer-variableanalysis@illusori.co.uk"
2681
+ },
2682
+ {
2683
+ "name": "Payton Swick",
2684
+ "email": "payton@foolord.com"
2685
+ }
2686
+ ],
2687
+ "description": "A PHPCS sniff to detect problems with variables.",
2688
+ "keywords": [
2689
+ "phpcs",
2690
+ "static analysis"
2691
+ ],
2692
+ "support": {
2693
+ "issues": "https://github.com/sirbrillig/phpcs-variable-analysis/issues",
2694
+ "source": "https://github.com/sirbrillig/phpcs-variable-analysis",
2695
+ "wiki": "https://github.com/sirbrillig/phpcs-variable-analysis/wiki"
2696
+ },
2697
+ "time": "2022-10-05T23:31:46+00:00"
2698
+ },
2699
+ {
2700
+ "name": "squizlabs/php_codesniffer",
2701
+ "version": "3.7.1",
2702
+ "source": {
2703
+ "type": "git",
2704
+ "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
2705
+ "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619"
2706
+ },
2707
+ "dist": {
2708
+ "type": "zip",
2709
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1359e176e9307e906dc3d890bcc9603ff6d90619",
2710
+ "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619",
2711
+ "shasum": ""
2712
+ },
2713
+ "require": {
2714
+ "ext-simplexml": "*",
2715
+ "ext-tokenizer": "*",
2716
+ "ext-xmlwriter": "*",
2717
+ "php": ">=5.4.0"
2718
+ },
2719
+ "require-dev": {
2720
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
2721
+ },
2722
+ "bin": [
2723
+ "bin/phpcs",
2724
+ "bin/phpcbf"
2725
+ ],
2726
+ "type": "library",
2727
+ "extra": {
2728
+ "branch-alias": {
2729
+ "dev-master": "3.x-dev"
2730
+ }
2731
+ },
2732
+ "notification-url": "https://packagist.org/downloads/",
2733
+ "license": [
2734
+ "BSD-3-Clause"
2735
+ ],
2736
+ "authors": [
2737
+ {
2738
+ "name": "Greg Sherwood",
2739
+ "role": "lead"
2740
+ }
2741
+ ],
2742
+ "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
2743
+ "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
2744
+ "keywords": [
2745
+ "phpcs",
2746
+ "standards"
2747
+ ],
2748
+ "support": {
2749
+ "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
2750
+ "source": "https://github.com/squizlabs/PHP_CodeSniffer",
2751
+ "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
2752
+ },
2753
+ "time": "2022-06-18T07:21:10+00:00"
2754
+ },
2755
+ {
2756
+ "name": "theseer/tokenizer",
2757
+ "version": "1.2.1",
2758
+ "source": {
2759
+ "type": "git",
2760
+ "url": "https://github.com/theseer/tokenizer.git",
2761
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
2762
+ },
2763
+ "dist": {
2764
+ "type": "zip",
2765
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
2766
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
2767
+ "shasum": ""
2768
+ },
2769
+ "require": {
2770
+ "ext-dom": "*",
2771
+ "ext-tokenizer": "*",
2772
+ "ext-xmlwriter": "*",
2773
+ "php": "^7.2 || ^8.0"
2774
+ },
2775
+ "type": "library",
2776
+ "autoload": {
2777
+ "classmap": [
2778
+ "src/"
2779
+ ]
2780
+ },
2781
+ "notification-url": "https://packagist.org/downloads/",
2782
+ "license": [
2783
+ "BSD-3-Clause"
2784
+ ],
2785
+ "authors": [
2786
+ {
2787
+ "name": "Arne Blankerts",
2788
+ "email": "arne@blankerts.de",
2789
+ "role": "Developer"
2790
+ }
2791
+ ],
2792
+ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
2793
+ "support": {
2794
+ "issues": "https://github.com/theseer/tokenizer/issues",
2795
+ "source": "https://github.com/theseer/tokenizer/tree/1.2.1"
2796
+ },
2797
+ "funding": [
2798
+ {
2799
+ "url": "https://github.com/theseer",
2800
+ "type": "github"
2801
+ }
2802
+ ],
2803
+ "time": "2021-07-28T10:34:58+00:00"
2804
+ },
2805
+ {
2806
+ "name": "wp-coding-standards/wpcs",
2807
+ "version": "2.3.0",
2808
+ "source": {
2809
+ "type": "git",
2810
+ "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
2811
+ "reference": "7da1894633f168fe244afc6de00d141f27517b62"
2812
+ },
2813
+ "dist": {
2814
+ "type": "zip",
2815
+ "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62",
2816
+ "reference": "7da1894633f168fe244afc6de00d141f27517b62",
2817
+ "shasum": ""
2818
+ },
2819
+ "require": {
2820
+ "php": ">=5.4",
2821
+ "squizlabs/php_codesniffer": "^3.3.1"
2822
+ },
2823
+ "require-dev": {
2824
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
2825
+ "phpcompatibility/php-compatibility": "^9.0",
2826
+ "phpcsstandards/phpcsdevtools": "^1.0",
2827
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
2828
+ },
2829
+ "suggest": {
2830
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
2831
+ },
2832
+ "type": "phpcodesniffer-standard",
2833
+ "notification-url": "https://packagist.org/downloads/",
2834
+ "license": [
2835
+ "MIT"
2836
+ ],
2837
+ "authors": [
2838
+ {
2839
+ "name": "Contributors",
2840
+ "homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors"
2841
+ }
2842
+ ],
2843
+ "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
2844
+ "keywords": [
2845
+ "phpcs",
2846
+ "standards",
2847
+ "wordpress"
2848
+ ],
2849
+ "support": {
2850
+ "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues",
2851
+ "source": "https://github.com/WordPress/WordPress-Coding-Standards",
2852
+ "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
2853
+ },
2854
+ "time": "2020-05-13T23:57:56+00:00"
2855
+ },
2856
+ {
2857
+ "name": "yoast/phpunit-polyfills",
2858
+ "version": "1.0.3",
2859
+ "source": {
2860
+ "type": "git",
2861
+ "url": "https://github.com/Yoast/PHPUnit-Polyfills.git",
2862
+ "reference": "5ea3536428944955f969bc764bbe09738e151ada"
2863
+ },
2864
+ "dist": {
2865
+ "type": "zip",
2866
+ "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/5ea3536428944955f969bc764bbe09738e151ada",
2867
+ "reference": "5ea3536428944955f969bc764bbe09738e151ada",
2868
+ "shasum": ""
2869
+ },
2870
+ "require": {
2871
+ "php": ">=5.4",
2872
+ "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
2873
+ },
2874
+ "require-dev": {
2875
+ "yoast/yoastcs": "^2.2.0"
2876
+ },
2877
+ "type": "library",
2878
+ "extra": {
2879
+ "branch-alias": {
2880
+ "dev-main": "1.x-dev",
2881
+ "dev-develop": "1.x-dev"
2882
+ }
2883
+ },
2884
+ "autoload": {
2885
+ "files": [
2886
+ "phpunitpolyfills-autoload.php"
2887
+ ]
2888
+ },
2889
+ "notification-url": "https://packagist.org/downloads/",
2890
+ "license": [
2891
+ "BSD-3-Clause"
2892
+ ],
2893
+ "authors": [
2894
+ {
2895
+ "name": "Team Yoast",
2896
+ "email": "support@yoast.com",
2897
+ "homepage": "https://yoast.com"
2898
+ },
2899
+ {
2900
+ "name": "Contributors",
2901
+ "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors"
2902
+ }
2903
+ ],
2904
+ "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests",
2905
+ "homepage": "https://github.com/Yoast/PHPUnit-Polyfills",
2906
+ "keywords": [
2907
+ "phpunit",
2908
+ "polyfill",
2909
+ "testing"
2910
+ ],
2911
+ "support": {
2912
+ "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues",
2913
+ "source": "https://github.com/Yoast/PHPUnit-Polyfills"
2914
+ },
2915
+ "time": "2021-11-23T01:37:03+00:00"
2916
+ },
2917
+ {
2918
+ "name": "yoast/wp-test-utils",
2919
+ "version": "1.0.0",
2920
+ "source": {
2921
+ "type": "git",
2922
+ "url": "https://github.com/Yoast/wp-test-utils.git",
2923
+ "reference": "21df3a08974ee62f489f64e34be7f26a32ec872c"
2924
+ },
2925
+ "dist": {
2926
+ "type": "zip",
2927
+ "url": "https://api.github.com/repos/Yoast/wp-test-utils/zipball/21df3a08974ee62f489f64e34be7f26a32ec872c",
2928
+ "reference": "21df3a08974ee62f489f64e34be7f26a32ec872c",
2929
+ "shasum": ""
2930
+ },
2931
+ "require": {
2932
+ "brain/monkey": "^2.6.0",
2933
+ "php": ">=5.6",
2934
+ "yoast/phpunit-polyfills": "^1.0.1"
2935
+ },
2936
+ "require-dev": {
2937
+ "yoast/yoastcs": "^2.2.0"
2938
+ },
2939
+ "type": "library",
2940
+ "extra": {
2941
+ "branch-alias": {
2942
+ "dev-main": "1.x-dev",
2943
+ "dev-develop": "1.x-dev"
2944
+ }
2945
+ },
2946
+ "autoload": {
2947
+ "classmap": [
2948
+ "src/"
2949
+ ],
2950
+ "exclude-from-classmap": [
2951
+ "/src/WPIntegration/TestCase.php",
2952
+ "/src/WPIntegration/TestCaseNoPolyfills.php"
2953
+ ]
2954
+ },
2955
+ "notification-url": "https://packagist.org/downloads/",
2956
+ "license": [
2957
+ "BSD-3-Clause"
2958
+ ],
2959
+ "authors": [
2960
+ {
2961
+ "name": "Team Yoast",
2962
+ "email": "support@yoast.com",
2963
+ "homepage": "https://yoast.com"
2964
+ },
2965
+ {
2966
+ "name": "Contributors",
2967
+ "homepage": "https://github.com/Yoast/wp-test-utils/graphs/contributors"
2968
+ }
2969
+ ],
2970
+ "description": "PHPUnit cross-version compatibility layer for testing plugins and themes build for WordPress",
2971
+ "homepage": "https://github.com/Yoast/wp-test-utils/",
2972
+ "keywords": [
2973
+ "brainmonkey",
2974
+ "integration-testing",
2975
+ "phpunit",
2976
+ "unit-testing",
2977
+ "wordpress"
2978
+ ],
2979
+ "support": {
2980
+ "issues": "https://github.com/Yoast/wp-test-utils/issues",
2981
+ "source": "https://github.com/Yoast/wp-test-utils"
2982
+ },
2983
+ "time": "2021-09-27T05:50:36+00:00"
2984
+ }
2985
+ ],
2986
+ "aliases": [
2987
+ {
2988
+ "package": "phpcompatibility/php-compatibility",
2989
+ "version": "dev-develop",
2990
+ "alias": "9.99.99",
2991
+ "alias_normalized": "9.99.99.0"
2992
+ }
2993
+ ],
2994
+ "minimum-stability": "dev",
2995
+ "stability-flags": {
2996
+ "facebook/facebook-instant-articles-sdk-extensions-in-php": 20,
2997
+ "facebook/facebook-instant-articles-sdk-php": 20,
2998
+ "facebook/graph-sdk": 20,
2999
+ "phpcompatibility/php-compatibility": 20
3000
+ },
3001
+ "prefer-stable": true,
3002
+ "prefer-lowest": false,
3003
+ "platform": {
3004
+ "php": ">=7.1"
3005
+ },
3006
+ "platform-dev": [],
3007
+ "plugin-api-version": "2.3.0"
3008
+ }
facebook-instant-articles.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: Instant Articles for WP
11
  * Description: Add support for Instant Articles for Facebook to your WordPress site.
12
  * Author: Automattic, Dekode, Facebook
13
- * Version: 5.0.0
14
  * Text Domain: instant-articles
15
  * License: GPL-2.0-or-later
16
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -21,7 +21,7 @@
21
 
22
  defined( 'ABSPATH' ) || die();
23
 
24
- const IA_PLUGIN_VERSION = '5.0.0';
25
  const IA_PLUGIN_FILE = __FILE__;
26
  const IA_PLUGIN_FORCE_SUBMIT_KEY = 'instant_articles_force_submit';
27
 
10
  * Plugin Name: Instant Articles for WP
11
  * Description: Add support for Instant Articles for Facebook to your WordPress site.
12
  * Author: Automattic, Dekode, Facebook
13
+ * Version: 5.0.1
14
  * Text Domain: instant-articles
15
  * License: GPL-2.0-or-later
16
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
21
 
22
  defined( 'ABSPATH' ) || die();
23
 
24
+ const IA_PLUGIN_VERSION = '5.0.1';
25
  const IA_PLUGIN_FILE = __FILE__;
26
  const IA_PLUGIN_FORCE_SUBMIT_KEY = 'instant_articles_force_submit';
27
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: trrine, olethomas, bjornjohansen, dekode, GaryJ, automattic, fb
3
  Tags: instant-articles, fb, mobile, instant articles
4
  Requires at least: 4.7
5
  Requires PHP: 7.1
6
- Tested up to: 6.0.2
7
- Stable tag: 5.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -20,6 +20,10 @@ A best effort is made to generate valid Instant Article markup from your posts'
20
 
21
  Built-in to the plugin are many [pre-defined transformer rules](https://github.com/Automattic/fb-instant-articles/blob/master/rules-configuration.json) which aims to cover standard WordPress installations. If your WordPress content contains elements which are not covered by the built-in ruleset, you can define your own additional rules to extend or override the defaults in the Settings of this plugin, under: **Plugin Configuration** > **Publishing Settings** > **Custom transformer rules**.
22
 
 
 
 
 
23
  = Access to Instant Articles =
24
 
25
  The current criteria for access to Instant Articles are:
@@ -89,6 +93,10 @@ Usually simply visiting the permalinks settings page in the WordPress dashboard
89
  1. Customized transformer rules enabled on the main Settings page. The particular configuration shown here would cause `<u>` and `<bold>` tags in the source markup to be rendered in *italics* and **bold**, respectively, in the generated Instant Article.
90
 
91
  == Changelog ==
 
 
 
 
92
  ### 5.0.0 - 2022-10-18
93
  **Minimum PHP requirement is increased from PHP 5.4 to PHP 7.1.**
94
  **Minimum WordPress requirement is increased from WP 4.3.0 to WP 4.7.0.**
3
  Tags: instant-articles, fb, mobile, instant articles
4
  Requires at least: 4.7
5
  Requires PHP: 7.1
6
+ Tested up to: 6.0.3
7
+ Stable tag: 5.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
20
 
21
  Built-in to the plugin are many [pre-defined transformer rules](https://github.com/Automattic/fb-instant-articles/blob/master/rules-configuration.json) which aims to cover standard WordPress installations. If your WordPress content contains elements which are not covered by the built-in ruleset, you can define your own additional rules to extend or override the defaults in the Settings of this plugin, under: **Plugin Configuration** > **Publishing Settings** > **Custom transformer rules**.
22
 
23
+ = Maintenance =
24
+ Support for this plugin is provided for PHP 8 migrations, but both Automattic/WPVIP and Facebook/Meta have stopped all active development. At this point in the product lifecycle, publishers should be advised to stop using this plugin, and instead, use direct site traffic for Facebook content.
25
+ Meta have announced that Instant Articles will have all support dropped at April 2023.
26
+
27
  = Access to Instant Articles =
28
 
29
  The current criteria for access to Instant Articles are:
93
  1. Customized transformer rules enabled on the main Settings page. The particular configuration shown here would cause `<u>` and `<bold>` tags in the source markup to be rendered in *italics* and **bold**, respectively, in the generated Instant Article.
94
 
95
  == Changelog ==
96
+ ### 5.0.1 - 2022-10-18
97
+
98
+ - Refresh dependency that handles fixing of transformer encodings.
99
+
100
  ### 5.0.0 - 2022-10-18
101
  **Minimum PHP requirement is increased from PHP 5.4 to PHP 7.1.**
102
  **Minimum WordPress requirement is increased from WP 4.3.0 to WP 4.7.0.**
vendor/autoload.php CHANGED
@@ -2,6 +2,11 @@
2
 
3
  // autoload.php @generated by Composer
4
 
 
 
 
 
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit6eba24516d4931b3ebc92cc334e50d01::getLoader();
2
 
3
  // autoload.php @generated by Composer
4
 
5
+ if (PHP_VERSION_ID < 50600) {
6
+ echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
7
+ exit(1);
8
+ }
9
+
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit7c5af9e3aaeb69a9bf3e07ea646961e9::getLoader();
vendor/composer/ClassLoader.php CHANGED
@@ -42,30 +42,75 @@ namespace Composer\Autoload;
42
  */
43
  class ClassLoader
44
  {
 
45
  private $vendorDir;
46
 
47
  // PSR-4
 
 
 
 
48
  private $prefixLengthsPsr4 = array();
 
 
 
 
49
  private $prefixDirsPsr4 = array();
 
 
 
 
50
  private $fallbackDirsPsr4 = array();
51
 
52
  // PSR-0
 
 
 
 
53
  private $prefixesPsr0 = array();
 
 
 
 
54
  private $fallbackDirsPsr0 = array();
55
 
 
56
  private $useIncludePath = false;
 
 
 
 
 
57
  private $classMap = array();
 
 
58
  private $classMapAuthoritative = false;
 
 
 
 
 
59
  private $missingClasses = array();
 
 
60
  private $apcuPrefix;
61
 
 
 
 
62
  private static $registeredLoaders = array();
63
 
 
 
 
64
  public function __construct($vendorDir = null)
65
  {
66
  $this->vendorDir = $vendorDir;
67
  }
68
 
 
 
 
69
  public function getPrefixes()
70
  {
71
  if (!empty($this->prefixesPsr0)) {
@@ -75,28 +120,47 @@ class ClassLoader
75
  return array();
76
  }
77
 
 
 
 
 
78
  public function getPrefixesPsr4()
79
  {
80
  return $this->prefixDirsPsr4;
81
  }
82
 
 
 
 
 
83
  public function getFallbackDirs()
84
  {
85
  return $this->fallbackDirsPsr0;
86
  }
87
 
 
 
 
 
88
  public function getFallbackDirsPsr4()
89
  {
90
  return $this->fallbackDirsPsr4;
91
  }
92
 
 
 
 
 
93
  public function getClassMap()
94
  {
95
  return $this->classMap;
96
  }
97
 
98
  /**
99
- * @param array $classMap Class to filename map
 
 
 
100
  */
101
  public function addClassMap(array $classMap)
102
  {
@@ -111,9 +175,11 @@ class ClassLoader
111
  * Registers a set of PSR-0 directories for a given prefix, either
112
  * appending or prepending to the ones previously set for this prefix.
113
  *
114
- * @param string $prefix The prefix
115
- * @param array|string $paths The PSR-0 root directories
116
- * @param bool $prepend Whether to prepend the directories
 
 
117
  */
118
  public function add($prefix, $paths, $prepend = false)
119
  {
@@ -156,11 +222,13 @@ class ClassLoader
156
  * Registers a set of PSR-4 directories for a given namespace, either
157
  * appending or prepending to the ones previously set for this namespace.
158
  *
159
- * @param string $prefix The prefix/namespace, with trailing '\\'
160
- * @param array|string $paths The PSR-4 base directories
161
- * @param bool $prepend Whether to prepend the directories
162
  *
163
  * @throws \InvalidArgumentException
 
 
164
  */
165
  public function addPsr4($prefix, $paths, $prepend = false)
166
  {
@@ -204,8 +272,10 @@ class ClassLoader
204
  * Registers a set of PSR-0 directories for a given prefix,
205
  * replacing any others previously set for this prefix.
206
  *
207
- * @param string $prefix The prefix
208
- * @param array|string $paths The PSR-0 base directories
 
 
209
  */
210
  public function set($prefix, $paths)
211
  {
@@ -220,10 +290,12 @@ class ClassLoader
220
  * Registers a set of PSR-4 directories for a given namespace,
221
  * replacing any others previously set for this namespace.
222
  *
223
- * @param string $prefix The prefix/namespace, with trailing '\\'
224
- * @param array|string $paths The PSR-4 base directories
225
  *
226
  * @throws \InvalidArgumentException
 
 
227
  */
228
  public function setPsr4($prefix, $paths)
229
  {
@@ -243,6 +315,8 @@ class ClassLoader
243
  * Turns on searching the include path for class files.
244
  *
245
  * @param bool $useIncludePath
 
 
246
  */
247
  public function setUseIncludePath($useIncludePath)
248
  {
@@ -265,6 +339,8 @@ class ClassLoader
265
  * that have not been registered with the class map.
266
  *
267
  * @param bool $classMapAuthoritative
 
 
268
  */
269
  public function setClassMapAuthoritative($classMapAuthoritative)
270
  {
@@ -285,6 +361,8 @@ class ClassLoader
285
  * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
286
  *
287
  * @param string|null $apcuPrefix
 
 
288
  */
289
  public function setApcuPrefix($apcuPrefix)
290
  {
@@ -305,6 +383,8 @@ class ClassLoader
305
  * Registers this instance as an autoloader.
306
  *
307
  * @param bool $prepend Whether to prepend the autoloader or not
 
 
308
  */
309
  public function register($prepend = false)
310
  {
@@ -324,6 +404,8 @@ class ClassLoader
324
 
325
  /**
326
  * Unregisters this instance as an autoloader.
 
 
327
  */
328
  public function unregister()
329
  {
@@ -403,6 +485,11 @@ class ClassLoader
403
  return self::$registeredLoaders;
404
  }
405
 
 
 
 
 
 
406
  private function findFileWithExtension($class, $ext)
407
  {
408
  // PSR-4 lookup
@@ -474,6 +561,10 @@ class ClassLoader
474
  * Scope isolated include.
475
  *
476
  * Prevents access to $this/self from included files.
 
 
 
 
477
  */
478
  function includeFile($file)
479
  {
42
  */
43
  class ClassLoader
44
  {
45
+ /** @var ?string */
46
  private $vendorDir;
47
 
48
  // PSR-4
49
+ /**
50
+ * @var array[]
51
+ * @psalm-var array<string, array<string, int>>
52
+ */
53
  private $prefixLengthsPsr4 = array();
54
+ /**
55
+ * @var array[]
56
+ * @psalm-var array<string, array<int, string>>
57
+ */
58
  private $prefixDirsPsr4 = array();
59
+ /**
60
+ * @var array[]
61
+ * @psalm-var array<string, string>
62
+ */
63
  private $fallbackDirsPsr4 = array();
64
 
65
  // PSR-0
66
+ /**
67
+ * @var array[]
68
+ * @psalm-var array<string, array<string, string[]>>
69
+ */
70
  private $prefixesPsr0 = array();
71
+ /**
72
+ * @var array[]
73
+ * @psalm-var array<string, string>
74
+ */
75
  private $fallbackDirsPsr0 = array();
76
 
77
+ /** @var bool */
78
  private $useIncludePath = false;
79
+
80
+ /**
81
+ * @var string[]
82
+ * @psalm-var array<string, string>
83
+ */
84
  private $classMap = array();
85
+
86
+ /** @var bool */
87
  private $classMapAuthoritative = false;
88
+
89
+ /**
90
+ * @var bool[]
91
+ * @psalm-var array<string, bool>
92
+ */
93
  private $missingClasses = array();
94
+
95
+ /** @var ?string */
96
  private $apcuPrefix;
97
 
98
+ /**
99
+ * @var self[]
100
+ */
101
  private static $registeredLoaders = array();
102
 
103
+ /**
104
+ * @param ?string $vendorDir
105
+ */
106
  public function __construct($vendorDir = null)
107
  {
108
  $this->vendorDir = $vendorDir;
109
  }
110
 
111
+ /**
112
+ * @return string[]
113
+ */
114
  public function getPrefixes()
115
  {
116
  if (!empty($this->prefixesPsr0)) {
120
  return array();
121
  }
122
 
123
+ /**
124
+ * @return array[]
125
+ * @psalm-return array<string, array<int, string>>
126
+ */
127
  public function getPrefixesPsr4()
128
  {
129
  return $this->prefixDirsPsr4;
130
  }
131
 
132
+ /**
133
+ * @return array[]
134
+ * @psalm-return array<string, string>
135
+ */
136
  public function getFallbackDirs()
137
  {
138
  return $this->fallbackDirsPsr0;
139
  }
140
 
141
+ /**
142
+ * @return array[]
143
+ * @psalm-return array<string, string>
144
+ */
145
  public function getFallbackDirsPsr4()
146
  {
147
  return $this->fallbackDirsPsr4;
148
  }
149
 
150
+ /**
151
+ * @return string[] Array of classname => path
152
+ * @psalm-return array<string, string>
153
+ */
154
  public function getClassMap()
155
  {
156
  return $this->classMap;
157
  }
158
 
159
  /**
160
+ * @param string[] $classMap Class to filename map
161
+ * @psalm-param array<string, string> $classMap
162
+ *
163
+ * @return void
164
  */
165
  public function addClassMap(array $classMap)
166
  {
175
  * Registers a set of PSR-0 directories for a given prefix, either
176
  * appending or prepending to the ones previously set for this prefix.
177
  *
178
+ * @param string $prefix The prefix
179
+ * @param string[]|string $paths The PSR-0 root directories
180
+ * @param bool $prepend Whether to prepend the directories
181
+ *
182
+ * @return void
183
  */
184
  public function add($prefix, $paths, $prepend = false)
185
  {
222
  * Registers a set of PSR-4 directories for a given namespace, either
223
  * appending or prepending to the ones previously set for this namespace.
224
  *
225
+ * @param string $prefix The prefix/namespace, with trailing '\\'
226
+ * @param string[]|string $paths The PSR-4 base directories
227
+ * @param bool $prepend Whether to prepend the directories
228
  *
229
  * @throws \InvalidArgumentException
230
+ *
231
+ * @return void
232
  */
233
  public function addPsr4($prefix, $paths, $prepend = false)
234
  {
272
  * Registers a set of PSR-0 directories for a given prefix,
273
  * replacing any others previously set for this prefix.
274
  *
275
+ * @param string $prefix The prefix
276
+ * @param string[]|string $paths The PSR-0 base directories
277
+ *
278
+ * @return void
279
  */
280
  public function set($prefix, $paths)
281
  {
290
  * Registers a set of PSR-4 directories for a given namespace,
291
  * replacing any others previously set for this namespace.
292
  *
293
+ * @param string $prefix The prefix/namespace, with trailing '\\'
294
+ * @param string[]|string $paths The PSR-4 base directories
295
  *
296
  * @throws \InvalidArgumentException
297
+ *
298
+ * @return void
299
  */
300
  public function setPsr4($prefix, $paths)
301
  {
315
  * Turns on searching the include path for class files.
316
  *
317
  * @param bool $useIncludePath
318
+ *
319
+ * @return void
320
  */
321
  public function setUseIncludePath($useIncludePath)
322
  {
339
  * that have not been registered with the class map.
340
  *
341
  * @param bool $classMapAuthoritative
342
+ *
343
+ * @return void
344
  */
345
  public function setClassMapAuthoritative($classMapAuthoritative)
346
  {
361
  * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
362
  *
363
  * @param string|null $apcuPrefix
364
+ *
365
+ * @return void
366
  */
367
  public function setApcuPrefix($apcuPrefix)
368
  {
383
  * Registers this instance as an autoloader.
384
  *
385
  * @param bool $prepend Whether to prepend the autoloader or not
386
+ *
387
+ * @return void
388
  */
389
  public function register($prepend = false)
390
  {
404
 
405
  /**
406
  * Unregisters this instance as an autoloader.
407
+ *
408
+ * @return void
409
  */
410
  public function unregister()
411
  {
485
  return self::$registeredLoaders;
486
  }
487
 
488
+ /**
489
+ * @param string $class
490
+ * @param string $ext
491
+ * @return string|false
492
+ */
493
  private function findFileWithExtension($class, $ext)
494
  {
495
  // PSR-4 lookup
561
  * Scope isolated include.
562
  *
563
  * Prevents access to $this/self from included files.
564
+ *
565
+ * @param string $file
566
+ * @return void
567
+ * @private
568
  */
569
  function includeFile($file)
570
  {
vendor/composer/InstalledVersions.php CHANGED
@@ -20,12 +20,27 @@ use Composer\Semver\VersionParser;
20
  *
21
  * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22
  *
23
- * To require it's presence, you can require `composer-runtime-api ^2.0`
 
 
24
  */
25
  class InstalledVersions
26
  {
 
 
 
 
27
  private static $installed;
 
 
 
 
28
  private static $canGetVendors;
 
 
 
 
 
29
  private static $installedByVendor = array();
30
 
31
  /**
@@ -228,7 +243,7 @@ class InstalledVersions
228
 
229
  /**
230
  * @return array
231
- * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
232
  */
233
  public static function getRootPackage()
234
  {
@@ -242,7 +257,7 @@ class InstalledVersions
242
  *
243
  * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
244
  * @return array[]
245
- * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
246
  */
247
  public static function getRawData()
248
  {
@@ -265,7 +280,7 @@ class InstalledVersions
265
  * Returns the raw data of all installed.php which are currently loaded for custom implementations
266
  *
267
  * @return array[]
268
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
269
  */
270
  public static function getAllRawData()
271
  {
@@ -288,7 +303,7 @@ class InstalledVersions
288
  * @param array[] $data A vendor/composer/installed.php data set
289
  * @return void
290
  *
291
- * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
292
  */
293
  public static function reload($data)
294
  {
@@ -298,7 +313,7 @@ class InstalledVersions
298
 
299
  /**
300
  * @return array[]
301
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
302
  */
303
  private static function getInstalled()
304
  {
20
  *
21
  * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22
  *
23
+ * To require its presence, you can require `composer-runtime-api ^2.0`
24
+ *
25
+ * @final
26
  */
27
  class InstalledVersions
28
  {
29
+ /**
30
+ * @var mixed[]|null
31
+ * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
32
+ */
33
  private static $installed;
34
+
35
+ /**
36
+ * @var bool|null
37
+ */
38
  private static $canGetVendors;
39
+
40
+ /**
41
+ * @var array[]
42
+ * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
43
+ */
44
  private static $installedByVendor = array();
45
 
46
  /**
243
 
244
  /**
245
  * @return array
246
+ * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
247
  */
248
  public static function getRootPackage()
249
  {
257
  *
258
  * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
259
  * @return array[]
260
+ * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
261
  */
262
  public static function getRawData()
263
  {
280
  * Returns the raw data of all installed.php which are currently loaded for custom implementations
281
  *
282
  * @return array[]
283
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
284
  */
285
  public static function getAllRawData()
286
  {
303
  * @param array[] $data A vendor/composer/installed.php data set
304
  * @return void
305
  *
306
+ * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
307
  */
308
  public static function reload($data)
309
  {
313
 
314
  /**
315
  * @return array[]
316
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
317
  */
318
  private static function getInstalled()
319
  {
vendor/composer/autoload_classmap.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_classmap.php @generated by Composer
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
2
 
3
  // autoload_classmap.php @generated by Composer
4
 
5
+ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
vendor/composer/autoload_files.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_files.php @generated by Composer
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
2
 
3
  // autoload_files.php @generated by Composer
4
 
5
+ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
vendor/composer/autoload_namespaces.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_namespaces.php @generated by Composer
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
2
 
3
  // autoload_namespaces.php @generated by Composer
4
 
5
+ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
vendor/composer/autoload_psr4.php CHANGED
@@ -2,12 +2,12 @@
2
 
3
  // autoload_psr4.php @generated by Composer
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
  'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'),
10
- 'Facebook\\InstantArticles\\' => array($vendorDir . '/facebook/facebook-instant-articles-sdk-extensions-in-php/src/Facebook/InstantArticles', $vendorDir . '/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles'),
11
  'Facebook\\' => array($vendorDir . '/facebook/graph-sdk/src/Facebook'),
12
  'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
13
  );
2
 
3
  // autoload_psr4.php @generated by Composer
4
 
5
+ $vendorDir = dirname(__DIR__);
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
  'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'),
10
+ 'Facebook\\InstantArticles\\' => array($vendorDir . '/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles', $vendorDir . '/facebook/facebook-instant-articles-sdk-extensions-in-php/src/Facebook/InstantArticles'),
11
  'Facebook\\' => array($vendorDir . '/facebook/graph-sdk/src/Facebook'),
12
  'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
13
  );
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit6eba24516d4931b3ebc92cc334e50d01
6
  {
7
  private static $loader;
8
 
@@ -24,43 +24,35 @@ class ComposerAutoloaderInit6eba24516d4931b3ebc92cc334e50d01
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit6eba24516d4931b3ebc92cc334e50d01', 'loadClassLoader'), true, true);
28
- self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit6eba24516d4931b3ebc92cc334e50d01', 'loadClassLoader'));
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';
34
-
35
- call_user_func(\Composer\Autoload\ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01::getInitializer($loader));
36
- } else {
37
- $classMap = require __DIR__ . '/autoload_classmap.php';
38
- if ($classMap) {
39
- $loader->addClassMap($classMap);
40
- }
41
- }
42
 
43
  $loader->setClassMapAuthoritative(true);
44
  $loader->register(true);
45
 
46
- if ($useStaticLoader) {
47
- $includeFiles = Composer\Autoload\ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01::$files;
48
- } else {
49
- $includeFiles = require __DIR__ . '/autoload_files.php';
50
- }
51
  foreach ($includeFiles as $fileIdentifier => $file) {
52
- composerRequire6eba24516d4931b3ebc92cc334e50d01($fileIdentifier, $file);
53
  }
54
 
55
  return $loader;
56
  }
57
  }
58
 
59
- function composerRequire6eba24516d4931b3ebc92cc334e50d01($fileIdentifier, $file)
 
 
 
 
 
60
  {
61
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
62
- require $file;
63
-
64
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
 
 
65
  }
66
  }
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit7c5af9e3aaeb69a9bf3e07ea646961e9
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit7c5af9e3aaeb69a9bf3e07ea646961e9', 'loadClassLoader'), true, true);
28
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit7c5af9e3aaeb69a9bf3e07ea646961e9', 'loadClassLoader'));
30
 
31
+ require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit7c5af9e3aaeb69a9bf3e07ea646961e9::getInitializer($loader));
 
 
 
 
 
 
 
 
 
33
 
34
  $loader->setClassMapAuthoritative(true);
35
  $loader->register(true);
36
 
37
+ $includeFiles = \Composer\Autoload\ComposerStaticInit7c5af9e3aaeb69a9bf3e07ea646961e9::$files;
 
 
 
 
38
  foreach ($includeFiles as $fileIdentifier => $file) {
39
+ composerRequire7c5af9e3aaeb69a9bf3e07ea646961e9($fileIdentifier, $file);
40
  }
41
 
42
  return $loader;
43
  }
44
  }
45
 
46
+ /**
47
+ * @param string $fileIdentifier
48
+ * @param string $file
49
+ * @return void
50
+ */
51
+ function composerRequire7c5af9e3aaeb69a9bf3e07ea646961e9($fileIdentifier, $file)
52
  {
53
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
 
 
54
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
55
+
56
+ require $file;
57
  }
58
  }
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01
8
  {
9
  public static $files = array (
10
  'c65d09b6820da036953a371c8c73a9b1' => __DIR__ . '/..' . '/facebook/graph-sdk/src/Facebook/polyfills.php',
@@ -33,8 +33,8 @@ class ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01
33
  ),
34
  'Facebook\\InstantArticles\\' =>
35
  array (
36
- 0 => __DIR__ . '/..' . '/facebook/facebook-instant-articles-sdk-extensions-in-php/src/Facebook/InstantArticles',
37
- 1 => __DIR__ . '/..' . '/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles',
38
  ),
39
  'Facebook\\' =>
40
  array (
@@ -321,9 +321,9 @@ class ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01
321
  public static function getInitializer(ClassLoader $loader)
322
  {
323
  return \Closure::bind(function () use ($loader) {
324
- $loader->prefixLengthsPsr4 = ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01::$prefixLengthsPsr4;
325
- $loader->prefixDirsPsr4 = ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01::$prefixDirsPsr4;
326
- $loader->classMap = ComposerStaticInit6eba24516d4931b3ebc92cc334e50d01::$classMap;
327
 
328
  }, null, ClassLoader::class);
329
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit7c5af9e3aaeb69a9bf3e07ea646961e9
8
  {
9
  public static $files = array (
10
  'c65d09b6820da036953a371c8c73a9b1' => __DIR__ . '/..' . '/facebook/graph-sdk/src/Facebook/polyfills.php',
33
  ),
34
  'Facebook\\InstantArticles\\' =>
35
  array (
36
+ 0 => __DIR__ . '/..' . '/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles',
37
+ 1 => __DIR__ . '/..' . '/facebook/facebook-instant-articles-sdk-extensions-in-php/src/Facebook/InstantArticles',
38
  ),
39
  'Facebook\\' =>
40
  array (
321
  public static function getInitializer(ClassLoader $loader)
322
  {
323
  return \Closure::bind(function () use ($loader) {
324
+ $loader->prefixLengthsPsr4 = ComposerStaticInit7c5af9e3aaeb69a9bf3e07ea646961e9::$prefixLengthsPsr4;
325
+ $loader->prefixDirsPsr4 = ComposerStaticInit7c5af9e3aaeb69a9bf3e07ea646961e9::$prefixDirsPsr4;
326
+ $loader->classMap = ComposerStaticInit7c5af9e3aaeb69a9bf3e07ea646961e9::$classMap;
327
 
328
  }, null, ClassLoader::class);
329
  }
vendor/composer/installed.json CHANGED
@@ -158,12 +158,12 @@
158
  "source": {
159
  "type": "git",
160
  "url": "https://github.com/whyisjake/facebook-instant-articles-sdk-php.git",
161
- "reference": "ec12f3cc823249599778ce2be1a88068b2a7e3f6"
162
  },
163
  "dist": {
164
  "type": "zip",
165
- "url": "https://api.github.com/repos/whyisjake/facebook-instant-articles-sdk-php/zipball/ec12f3cc823249599778ce2be1a88068b2a7e3f6",
166
- "reference": "ec12f3cc823249599778ce2be1a88068b2a7e3f6",
167
  "shasum": ""
168
  },
169
  "require": {
@@ -175,11 +175,12 @@
175
  "fzaninotto/faker": "dev-master",
176
  "phpcompatibility/phpcompatibility-wp": "^2.1",
177
  "phpdocumentor/reflection-docblock": "^2.0 || ^4.0",
178
- "phpunit/phpunit": "4.8.*",
179
  "squizlabs/php_codesniffer": "^2.6.0 || ^3.0.0",
180
  "symfony/yaml": "2.1.* || 3.4.*"
181
  },
182
- "time": "2022-10-17T21:34:53+00:00",
 
183
  "type": "library",
184
  "installation-source": "dist",
185
  "autoload": {
158
  "source": {
159
  "type": "git",
160
  "url": "https://github.com/whyisjake/facebook-instant-articles-sdk-php.git",
161
+ "reference": "da27dc7ada04e9313d40bca83de2e3cdd4a746a7"
162
  },
163
  "dist": {
164
  "type": "zip",
165
+ "url": "https://api.github.com/repos/whyisjake/facebook-instant-articles-sdk-php/zipball/da27dc7ada04e9313d40bca83de2e3cdd4a746a7",
166
+ "reference": "da27dc7ada04e9313d40bca83de2e3cdd4a746a7",
167
  "shasum": ""
168
  },
169
  "require": {
175
  "fzaninotto/faker": "dev-master",
176
  "phpcompatibility/phpcompatibility-wp": "^2.1",
177
  "phpdocumentor/reflection-docblock": "^2.0 || ^4.0",
178
+ "phpunit/phpunit": "^9.5",
179
  "squizlabs/php_codesniffer": "^2.6.0 || ^3.0.0",
180
  "symfony/yaml": "2.1.* || 3.4.*"
181
  },
182
+ "time": "2022-10-18T19:04:20+00:00",
183
+ "default-branch": true,
184
  "type": "library",
185
  "installation-source": "dist",
186
  "autoload": {
vendor/composer/installed.php CHANGED
@@ -1,67 +1,69 @@
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' => '930354128773e49bdeaac40ffdbde385ae69fd2b',
9
- 'name' => 'automattic/facebook-instant-articles-wp',
10
  'dev' => false,
11
  ),
12
  'versions' => array(
13
  'automattic/facebook-instant-articles-wp' => array(
14
- 'pretty_version' => 'dev-develop',
15
- 'version' => 'dev-develop',
 
16
  'type' => 'wordpress-plugin',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
- 'reference' => '930354128773e49bdeaac40ffdbde385ae69fd2b',
20
  'dev_requirement' => false,
21
  ),
22
  'doctrine/instantiator' => array(
23
  'pretty_version' => '1.4.1',
24
  'version' => '1.4.1.0',
 
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../doctrine/instantiator',
27
  'aliases' => array(),
28
- 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc',
29
  'dev_requirement' => false,
30
  ),
31
  'facebook/facebook-instant-articles-sdk-extensions-in-php' => array(
32
  'pretty_version' => 'dev-php8',
33
  'version' => 'dev-php8',
 
34
  'type' => 'library',
35
  'install_path' => __DIR__ . '/../facebook/facebook-instant-articles-sdk-extensions-in-php',
36
  'aliases' => array(),
37
- 'reference' => '2e9c55f6f84479cefd147656e0d2bada95e0d99a',
38
  'dev_requirement' => false,
39
  ),
40
  'facebook/facebook-instant-articles-sdk-php' => array(
41
  'pretty_version' => 'dev-php8',
42
  'version' => 'dev-php8',
 
43
  'type' => 'library',
44
  'install_path' => __DIR__ . '/../facebook/facebook-instant-articles-sdk-php',
45
- 'aliases' => array(),
46
- 'reference' => 'ec12f3cc823249599778ce2be1a88068b2a7e3f6',
 
47
  'dev_requirement' => false,
48
  ),
49
  'facebook/graph-sdk' => array(
50
  'pretty_version' => 'dev-php8',
51
  'version' => 'dev-php8',
 
52
  'type' => 'library',
53
  'install_path' => __DIR__ . '/../facebook/graph-sdk',
54
  'aliases' => array(),
55
- 'reference' => '2a225c96b5f8fda6f44aabadd36cbb219d0f736d',
56
  'dev_requirement' => false,
57
  ),
58
  'symfony/css-selector' => array(
59
  'pretty_version' => 'v2.8.52',
60
  'version' => '2.8.52.0',
 
61
  'type' => 'library',
62
  'install_path' => __DIR__ . '/../symfony/css-selector',
63
  'aliases' => array(),
64
- 'reference' => '7b1692e418d7ccac24c373528453bc90e42797de',
65
  'dev_requirement' => false,
66
  ),
67
  ),
1
  <?php return array(
2
  'root' => array(
3
+ 'name' => 'automattic/facebook-instant-articles-wp',
4
+ 'pretty_version' => '5.0.1',
5
+ 'version' => '5.0.1.0',
6
+ 'reference' => '7142f3d28f3eed70bd2774dfc2e70c9ca83cfd3a',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
 
 
10
  'dev' => false,
11
  ),
12
  'versions' => array(
13
  'automattic/facebook-instant-articles-wp' => array(
14
+ 'pretty_version' => '5.0.1',
15
+ 'version' => '5.0.1.0',
16
+ 'reference' => '7142f3d28f3eed70bd2774dfc2e70c9ca83cfd3a',
17
  'type' => 'wordpress-plugin',
18
  'install_path' => __DIR__ . '/../../',
19
  'aliases' => array(),
 
20
  'dev_requirement' => false,
21
  ),
22
  'doctrine/instantiator' => array(
23
  'pretty_version' => '1.4.1',
24
  'version' => '1.4.1.0',
25
+ 'reference' => '10dcfce151b967d20fde1b34ae6640712c3891bc',
26
  'type' => 'library',
27
  'install_path' => __DIR__ . '/../doctrine/instantiator',
28
  'aliases' => array(),
 
29
  'dev_requirement' => false,
30
  ),
31
  'facebook/facebook-instant-articles-sdk-extensions-in-php' => array(
32
  'pretty_version' => 'dev-php8',
33
  'version' => 'dev-php8',
34
+ 'reference' => '2e9c55f6f84479cefd147656e0d2bada95e0d99a',
35
  'type' => 'library',
36
  'install_path' => __DIR__ . '/../facebook/facebook-instant-articles-sdk-extensions-in-php',
37
  'aliases' => array(),
 
38
  'dev_requirement' => false,
39
  ),
40
  'facebook/facebook-instant-articles-sdk-php' => array(
41
  'pretty_version' => 'dev-php8',
42
  'version' => 'dev-php8',
43
+ 'reference' => 'da27dc7ada04e9313d40bca83de2e3cdd4a746a7',
44
  'type' => 'library',
45
  'install_path' => __DIR__ . '/../facebook/facebook-instant-articles-sdk-php',
46
+ 'aliases' => array(
47
+ 0 => '9999999-dev',
48
+ ),
49
  'dev_requirement' => false,
50
  ),
51
  'facebook/graph-sdk' => array(
52
  'pretty_version' => 'dev-php8',
53
  'version' => 'dev-php8',
54
+ 'reference' => '2a225c96b5f8fda6f44aabadd36cbb219d0f736d',
55
  'type' => 'library',
56
  'install_path' => __DIR__ . '/../facebook/graph-sdk',
57
  'aliases' => array(),
 
58
  'dev_requirement' => false,
59
  ),
60
  'symfony/css-selector' => array(
61
  'pretty_version' => 'v2.8.52',
62
  'version' => '2.8.52.0',
63
+ 'reference' => '7b1692e418d7ccac24c373528453bc90e42797de',
64
  'type' => 'library',
65
  'install_path' => __DIR__ . '/../symfony/css-selector',
66
  'aliases' => array(),
 
67
  'dev_requirement' => false,
68
  ),
69
  ),
vendor/facebook/facebook-instant-articles-sdk-php/.gitignore CHANGED
@@ -4,3 +4,4 @@ composer.lock
4
  *.ignored
5
  **/IgnoredTest.php
6
  .DS_Store
 
4
  *.ignored
5
  **/IgnoredTest.php
6
  .DS_Store
7
+ .phpunit.result.cache
vendor/facebook/facebook-instant-articles-sdk-php/composer.json CHANGED
@@ -22,7 +22,7 @@
22
  },
23
  "require-dev": {
24
  "fzaninotto/faker": "dev-master",
25
- "phpunit/phpunit": "4.8.*",
26
  "symfony/yaml": "2.1.* || 3.4.*",
27
  "phpdocumentor/reflection-docblock": "^2.0 || ^4.0",
28
  "squizlabs/php_codesniffer": "^2.6.0 || ^3.0.0",
22
  },
23
  "require-dev": {
24
  "fzaninotto/faker": "dev-master",
25
+ "phpunit/phpunit": "^9.5",
26
  "symfony/yaml": "2.1.* || 3.4.*",
27
  "phpdocumentor/reflection-docblock": "^2.0 || ^4.0",
28
  "squizlabs/php_codesniffer": "^2.6.0 || ^3.0.0",
vendor/facebook/facebook-instant-articles-sdk-php/phpunit.xml CHANGED
@@ -1,18 +1,13 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
- <phpunit
3
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
- xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
5
- bootstrap="vendor/autoload.php"
6
- colors="true"
7
- >
8
- <testsuites>
9
- <testsuite name="Facebook InstantArticles SDK test suite">
10
- <directory>./tests</directory>
11
- </testsuite>
12
- </testsuites>
13
- <filter>
14
- <whitelist>
15
- <directory>./src</directory>
16
- </whitelist>
17
- </filter>
18
- </phpunit>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
3
+ <coverage>
4
+ <include>
5
+ <directory>./src</directory>
6
+ </include>
7
+ </coverage>
8
+ <testsuites>
9
+ <testsuite name="Facebook InstantArticles SDK test suite">
10
+ <directory>./tests</directory>
11
+ </testsuite>
12
+ </testsuites>
13
+ </phpunit>
 
 
 
 
 
vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Transformer/Rules/InstantArticleRule.php CHANGED
@@ -80,13 +80,13 @@ class InstantArticleRule extends ConfigurationSelectorRule
80
  $auto_ad_placement = $this->getProperty(self::PROPERTY_AUTO_AD_PLACEMENT, $node);
81
  if ($auto_ad_placement === 'false') {
82
  $instant_article->disableAutomaticAdPlacement();
83
- } else {
84
  $instant_article->enableAutomaticAdPlacement();
85
- $pairs = explode(' ', $auto_ad_placement, 2);
86
- if (count($pairs) === 2) {
87
- list($name, $value) = explode('=', $pairs[1], 2);
88
- $instant_article->withAdDensity($value);
89
- }
90
  }
91
 
92
  $recirculation_ad_placement = $this->getProperty(self::PROPERTY_RECIRCULATION_AD_PLACEMENT, $node);
80
  $auto_ad_placement = $this->getProperty(self::PROPERTY_AUTO_AD_PLACEMENT, $node);
81
  if ($auto_ad_placement === 'false') {
82
  $instant_article->disableAutomaticAdPlacement();
83
+ } elseif ( $auto_ad_placement !== null ) {
84
  $instant_article->enableAutomaticAdPlacement();
85
+ $pairs = explode( ' ', $auto_ad_placement, 2 );
86
+ if ( count( $pairs ) === 2 ) {
87
+ list( $name, $value ) = explode( '=', $pairs[1], 2 );
88
+ $instant_article->withAdDensity( $value );
89
+ }
90
  }
91
 
92
  $recirculation_ad_placement = $this->getProperty(self::PROPERTY_RECIRCULATION_AD_PLACEMENT, $node);
vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Transformer/Transformer.php CHANGED
@@ -246,7 +246,7 @@ class Transformer
246
  $libxml_previous_state = libxml_use_internal_errors(true);
247
  $document = new \DOMDocument('1.0');
248
  if (function_exists('mb_convert_encoding')) {
249
- $document->loadHTML(htmlspecialchars_decode(htmlentities(mb_convert_encoding($content, 'UTF-8', $encoding), ENT_NOQUOTES)));
250
  } else {
251
  $this->addLog(
252
  TransformerLog::DEBUG,
246
  $libxml_previous_state = libxml_use_internal_errors(true);
247
  $document = new \DOMDocument('1.0');
248
  if (function_exists('mb_convert_encoding')) {
249
+ $document->loadHTML(mb_convert_encoding($content, 'HTML-ENTITIES', $encoding));
250
  } else {
251
  $this->addLog(
252
  TransformerLog::DEBUG,
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Client/ClientTest.php CHANGED
@@ -12,6 +12,7 @@ use Facebook\Facebook;
12
  use Facebook\InstantArticles\Elements\InstantArticle;
13
  use Facebook\InstantArticles\Elements\Paragraph;
14
  use PHPUnit\Framework\TestCase;
 
15
 
16
  class ClientTest extends TestCase
17
  {
@@ -19,7 +20,7 @@ class ClientTest extends TestCase
19
  private $article;
20
  private $facebook;
21
 
22
- protected function setUp()
23
  {
24
  $this->facebook = $this->getMockBuilder('Facebook\Facebook')
25
  ->disableOriginalConstructor()
@@ -135,22 +136,18 @@ class ClientTest extends TestCase
135
  ->willReturn($expectedSubmissionStatusID);
136
 
137
  $this->facebook
138
- ->expects($this->at(0))
139
- ->method('post')
140
- ->with('PAGE_ID' . Client::EDGE_NAME, [
141
- 'html_source' => $this->article->render(),
142
- 'published' => true,
143
- 'development_mode' => false,
144
- ])
145
- ->willReturn($serverResponseMock);
146
-
147
- $this->facebook
148
- ->expects($this->at(1))
149
- ->method('post')
150
- ->with('/', [
151
- 'id' => $this->article->getCanonicalURL(),
152
- 'scrape' => 'true',
153
- ])
154
  ->willReturn($serverResponseMock);
155
 
156
  $resultSubmissionStatusID = $this->client->importArticle($this->article, true, true);
@@ -792,7 +789,7 @@ class ClientTest extends TestCase
792
  ->with('PAGE_ID/claimed_urls?url=' .$url)
793
  ->willReturn($serverResponseMock);
794
 
795
- $this->setExpectedException('\Facebook\InstantArticles\Client\ClientException');
796
 
797
  $result = $this->client->claimURL($url);
798
  }
@@ -868,7 +865,7 @@ class ClientTest extends TestCase
868
  ->with('PAGE_ID/?instant_articles_submit_for_review=true')
869
  ->willReturn($serverResponseMock);
870
 
871
- $this->setExpectedException('\Facebook\InstantArticles\Client\ClientException');
872
 
873
  $result = $this->client->submitForReview();
874
  }
12
  use Facebook\InstantArticles\Elements\InstantArticle;
13
  use Facebook\InstantArticles\Elements\Paragraph;
14
  use PHPUnit\Framework\TestCase;
15
+ use Facebook\InstantArticles\Client\ClientException;
16
 
17
  class ClientTest extends TestCase
18
  {
20
  private $article;
21
  private $facebook;
22
 
23
+ protected function setUp(): void
24
  {
25
  $this->facebook = $this->getMockBuilder('Facebook\Facebook')
26
  ->disableOriginalConstructor()
136
  ->willReturn($expectedSubmissionStatusID);
137
 
138
  $this->facebook
139
+ ->expects ($this->exactly(2))
140
+ ->method ('post')
141
+ ->withConsecutive(
142
+ ['PAGE_ID' . Client::EDGE_NAME, [
143
+ 'html_source' => $this->article->render(),
144
+ 'published' => true,
145
+ 'development_mode' => false,
146
+ ]],
147
+ ['/', [
148
+ 'id' => $this->article->getCanonicalURL(),
149
+ 'scrape' => 'true',
150
+ ]])
 
 
 
 
151
  ->willReturn($serverResponseMock);
152
 
153
  $resultSubmissionStatusID = $this->client->importArticle($this->article, true, true);
789
  ->with('PAGE_ID/claimed_urls?url=' .$url)
790
  ->willReturn($serverResponseMock);
791
 
792
+ $this->expectException( ClientException::class );
793
 
794
  $result = $this->client->claimURL($url);
795
  }
865
  ->with('PAGE_ID/?instant_articles_submit_for_review=true')
866
  ->willReturn($serverResponseMock);
867
 
868
+ $this->expectException(\Facebook\InstantArticles\Client\ClientException::class);
869
 
870
  $result = $this->client->submitForReview();
871
  }
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Client/HelperTest.php CHANGED
@@ -16,7 +16,7 @@ class HelperTest extends TestCase
16
  private $helper;
17
  private $facebook;
18
 
19
- protected function setUp()
20
  {
21
  $this->facebook = $this->getMockBuilder('Facebook\Facebook')
22
  ->disableOriginalConstructor()
16
  private $helper;
17
  private $facebook;
18
 
19
+ protected function setUp(): void
20
  {
21
  $this->facebook = $this->getMockBuilder('Facebook\Facebook')
22
  ->disableOriginalConstructor()
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/InstantArticleTest.php CHANGED
@@ -16,7 +16,7 @@ class InstantArticleTest extends BaseHTMLTestCase
16
  * @var InstantArticle
17
  */
18
  private $article;
19
- protected function setUp()
20
  {
21
  date_default_timezone_set('UTC');
22
 
16
  * @var InstantArticle
17
  */
18
  private $article;
19
+ protected function setUp(): void
20
  {
21
  date_default_timezone_set('UTC');
22
 
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/TimeTest.php CHANGED
@@ -14,7 +14,7 @@ class TimeTest extends BaseHTMLTestCase
14
  {
15
  private $timeDate;
16
 
17
- protected function setUp()
18
  {
19
  date_default_timezone_set('UTC');
20
  $this->timeDate = \DateTime::createFromFormat(
14
  {
15
  private $timeDate;
16
 
17
+ protected function setUp(): void
18
  {
19
  date_default_timezone_set('UTC');
20
  $this->timeDate = \DateTime::createFromFormat(
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/Validators/InstantArticleValidatorTest.php CHANGED
@@ -127,6 +127,6 @@ class InstantArticleValidatorTest extends TestCase
127
  $warnings = array();
128
  InstantArticleValidator::getReport(array($footer), $warnings);
129
  $this->assertCount(1, $warnings);
130
- $this->assertContains('Footer must have at least one of the', $warnings[0]->__toString());
131
  }
132
  }
127
  $warnings = array();
128
  InstantArticleValidator::getReport(array($footer), $warnings);
129
  $this->assertCount(1, $warnings);
130
+ $this->assertStringContainsString('Footer must have at least one of the', $warnings[0]->__toString());
131
  }
132
  }
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Elements/Validators/TypeTest.php CHANGED
@@ -64,7 +64,7 @@ class TypeTest extends TestCase
64
 
65
  public function testIsNotInException()
66
  {
67
- $this->setExpectedException('InvalidArgumentException');
68
 
69
  Type::enforce(
70
  Caption::create(),
@@ -85,7 +85,7 @@ class TypeTest extends TestCase
85
 
86
  public function testIsNotInEmptyException()
87
  {
88
- $this->setExpectedException('InvalidArgumentException');
89
 
90
  Type::enforce(
91
  Caption::create(),
@@ -108,7 +108,7 @@ class TypeTest extends TestCase
108
 
109
  public function testIsNotInSetException()
110
  {
111
- $this->setExpectedException('InvalidArgumentException');
112
 
113
  Type::enforce(
114
  Caption::create(),
@@ -144,7 +144,7 @@ class TypeTest extends TestCase
144
 
145
  public function testIsNotInInheritanceException()
146
  {
147
- $this->setExpectedException('InvalidArgumentException');
148
 
149
  Type::enforce(
150
  AnimatedGIF::create(),
@@ -168,7 +168,7 @@ class TypeTest extends TestCase
168
 
169
  public function testIsNotStringException()
170
  {
171
- $this->setExpectedException('InvalidArgumentException');
172
 
173
  Type::enforce(1, Type::STRING);
174
  }
@@ -220,7 +220,7 @@ class TypeTest extends TestCase
220
 
221
  public function testIsNotArrayInInheritanceException()
222
  {
223
- $this->setExpectedException('InvalidArgumentException');
224
 
225
  Type::enforceArrayOf(
226
  [Image::create(), Video::create()],
@@ -263,7 +263,7 @@ class TypeTest extends TestCase
263
 
264
  public function testEnforceArrayMinSizeException()
265
  {
266
- $this->setExpectedException('InvalidArgumentException');
267
 
268
  Type::enforceArraySizeGreaterThan([1,2,3], 4);
269
  }
@@ -288,7 +288,7 @@ class TypeTest extends TestCase
288
 
289
  public function testEnforceArrayMaxSizeException()
290
  {
291
- $this->setExpectedException('InvalidArgumentException');
292
 
293
  Type::enforceArraySizeLowerThan([1,2,3], 2);
294
  }
@@ -330,7 +330,7 @@ class TypeTest extends TestCase
330
 
331
  public function testEnforceWithinExceptionString()
332
  {
333
- $this->setExpectedException('InvalidArgumentException');
334
 
335
  Type::enforceWithin('a', ['x', 'y', 'z']);
336
  }
@@ -358,12 +358,13 @@ class TypeTest extends TestCase
358
  {
359
  $document = new \DOMDocument();
360
  Type::enforceElementTag($document->createElement('img'), 'img');
 
361
  }
362
 
363
  public function testEnforceElementTagFalse()
364
  {
365
  $document = new \DOMDocument();
366
- $this->setExpectedException('InvalidArgumentException');
367
  Type::enforceElementTag($document->createElement('body'), 'img');
368
  }
369
 
64
 
65
  public function testIsNotInException()
66
  {
67
+ $this->expectException(\InvalidArgumentException::class);
68
 
69
  Type::enforce(
70
  Caption::create(),
85
 
86
  public function testIsNotInEmptyException()
87
  {
88
+ $this->expectException(\InvalidArgumentException::class);
89
 
90
  Type::enforce(
91
  Caption::create(),
108
 
109
  public function testIsNotInSetException()
110
  {
111
+ $this->expectException(\InvalidArgumentException::class);
112
 
113
  Type::enforce(
114
  Caption::create(),
144
 
145
  public function testIsNotInInheritanceException()
146
  {
147
+ $this->expectException(\InvalidArgumentException::class);
148
 
149
  Type::enforce(
150
  AnimatedGIF::create(),
168
 
169
  public function testIsNotStringException()
170
  {
171
+ $this->expectException(\InvalidArgumentException::class);
172
 
173
  Type::enforce(1, Type::STRING);
174
  }
220
 
221
  public function testIsNotArrayInInheritanceException()
222
  {
223
+ $this->expectException(\InvalidArgumentException::class);
224
 
225
  Type::enforceArrayOf(
226
  [Image::create(), Video::create()],
263
 
264
  public function testEnforceArrayMinSizeException()
265
  {
266
+ $this->expectException(\InvalidArgumentException::class);
267
 
268
  Type::enforceArraySizeGreaterThan([1,2,3], 4);
269
  }
288
 
289
  public function testEnforceArrayMaxSizeException()
290
  {
291
+ $this->expectException(\InvalidArgumentException::class);
292
 
293
  Type::enforceArraySizeLowerThan([1,2,3], 2);
294
  }
330
 
331
  public function testEnforceWithinExceptionString()
332
  {
333
+ $this->expectException(\InvalidArgumentException::class);
334
 
335
  Type::enforceWithin('a', ['x', 'y', 'z']);
336
  }
358
  {
359
  $document = new \DOMDocument();
360
  Type::enforceElementTag($document->createElement('img'), 'img');
361
+ $this->assertTrue(true); // Needed to make the test not risky. No exception thrown.
362
  }
363
 
364
  public function testEnforceElementTagFalse()
365
  {
366
  $document = new \DOMDocument();
367
+ $this->expectException(\InvalidArgumentException::class);
368
  Type::enforceElementTag($document->createElement('body'), 'img');
369
  }
370
 
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Transformer/Example/SimpleTransformerTest.php CHANGED
@@ -61,10 +61,8 @@ class SimpleTransformerTest extends BaseHTMLTestCase
61
 
62
  public function testSelfTransformerContentMultipleAdsSettings()
63
  {
64
- $this->setExpectedException(
65
- 'Exception',
66
- 'You must specify only one Ads Setting, either audience_network_placement_id or raw_html'
67
- );
68
 
69
  $json_file = file_get_contents(__DIR__ . '/simple-rules-multiple-ads-settings.json');
70
 
61
 
62
  public function testSelfTransformerContentMultipleAdsSettings()
63
  {
64
+ $this->expectException( \Exception::class );
65
+ $this->expectExceptionMessage( 'You must specify only one Ads Setting, either audience_network_placement_id or raw_html' );
 
 
66
 
67
  $json_file = file_get_contents(__DIR__ . '/simple-rules-multiple-ads-settings.json');
68
 
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Transformer/Rules/RuleTest.php CHANGED
@@ -14,20 +14,16 @@ class RuleTest extends TestCase
14
  {
15
  public function testCreateFromPropertiesThrowsException()
16
  {
17
- $this->setExpectedException(
18
- 'Exception',
19
- 'All Rule class extensions should implement the Rule::createFrom($configuration) method'
20
- );
21
 
22
  Rule::createFrom([]);
23
  }
24
 
25
  public function testCreateThrowsException()
26
  {
27
- $this->setExpectedException(
28
- 'Exception',
29
- 'All Rule class extensions should implement the Rule::create() method'
30
- );
31
 
32
  Rule::create();
33
  }
14
  {
15
  public function testCreateFromPropertiesThrowsException()
16
  {
17
+ $this->expectException( \Exception::class );
18
+ $this->expectExceptionMessage( 'All Rule class extensions should implement the Rule::createFrom($configuration) method' );
 
 
19
 
20
  Rule::createFrom([]);
21
  }
22
 
23
  public function testCreateThrowsException()
24
  {
25
+ $this->expectException(\Exception::class);
26
+ $this->expectExceptionMessage('All Rule class extensions should implement the Rule::create() method');
 
 
27
 
28
  Rule::create();
29
  }
vendor/facebook/facebook-instant-articles-sdk-php/tests/Facebook/InstantArticles/Transformer/TransformerTest.php CHANGED
@@ -50,11 +50,11 @@ class TransformerTest extends BaseHTMLTestCase
50
  $transformer = new Transformer();
51
  $transformer->loadRules($json_file);
52
 
53
- $title_html_string = '<h1>Test:あÖÄÜöäü</h1>';
54
  $header = Header::create();
55
  $transformer->transformString($header, $title_html_string);
56
 
57
- $this->assertEqualsHtml('<h1>Test:あÖÄÜöäü</h1>', $header->getTitle()->render());
58
  }
59
 
60
  public function testTransformStringWithMultibyteNonUTF8Content()
50
  $transformer = new Transformer();
51
  $transformer->loadRules($json_file);
52
 
53
+ $title_html_string = '<h1>Test:&あÖÄÜöäü唐আ</h1>';
54
  $header = Header::create();
55
  $transformer->transformString($header, $title_html_string);
56
 
57
+ $this->assertEqualsHtml('<h1>Test:&amp;あÖÄÜöäü唐আ</h1>', $header->getTitle()->render());
58
  }
59
 
60
  public function testTransformStringWithMultibyteNonUTF8Content()