This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
165 changed files
with
9,693 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
// autoload.php @generated by Composer | ||
|
||
if (PHP_VERSION_ID < 50600) { | ||
if (!headers_sent()) { | ||
header('HTTP/1.1 500 Internal Server Error'); | ||
} | ||
$err = '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; | ||
if (!ini_get('display_errors')) { | ||
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { | ||
fwrite(STDERR, $err); | ||
} elseif (!headers_sent()) { | ||
echo $err; | ||
} | ||
} | ||
trigger_error( | ||
$err, | ||
E_USER_ERROR | ||
); | ||
} | ||
|
||
require_once __DIR__ . '/composer/autoload_real.php'; | ||
|
||
return ComposerAutoloaderInit2fc45f4f48782efc2e1ed00177ba2294::getLoader(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
/** | ||
* This file was automatically generated by automattic/jetpack-autoloader. | ||
* | ||
* @package automattic/jetpack-autoloader | ||
*/ | ||
|
||
namespace Automattic\Jetpack\Autoloader\jp2fc45f4f48782efc2e1ed00177ba2294; | ||
|
||
// phpcs:ignore | ||
|
||
require_once __DIR__ . '/jetpack-autoloader/class-autoloader.php'; | ||
Autoloader::init(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tests/php/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,354 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
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). | ||
|
||
## [2.11.14] - 2022-12-19 | ||
### Changed | ||
- Use `Composer\ClassMapGenerator\ClassMapGenerator` when available (i.e. with composer 2.4). [#27812] | ||
|
||
### Fixed | ||
- Declare fields for PHP 8.2 compatibility. [#27949] | ||
|
||
## [2.11.13] - 2022-12-02 | ||
### Changed | ||
- Updated package dependencies. [#27688] | ||
|
||
## [2.11.12] - 2022-11-22 | ||
### Changed | ||
- Updated package dependencies. [#27043] | ||
|
||
## [2.11.11] - 2022-10-25 | ||
### Changed | ||
- Sort data in generated `vendor/composer/jetpack_autoload_classmap.php` to avoid spurious diffs. [#26929] | ||
|
||
## [2.11.10] - 2022-10-05 | ||
|
||
- Tests: Clear `COMPOSER_AUTH` environment variable when running Composer for tests. [#26404] | ||
|
||
## [2.11.9] - 2022-09-27 | ||
### Fixed | ||
- Tests: Clear `COMPOSER_AUTH` environment variable when running Composer for tests. [#26404] | ||
|
||
## [2.11.8] - 2022-09-20 | ||
### Fixed | ||
- Tests: skip test if it requires a version of Composer not compatible with the running version of PHP. [#26143] | ||
|
||
## [2.11.7] - 2022-07-26 | ||
### Changed | ||
- Updated package dependencies. [#25158] | ||
|
||
## [2.11.6] - 2022-06-21 | ||
### Changed | ||
- Renaming `master` to `trunk`. | ||
|
||
## [2.11.5] - 2022-05-18 | ||
### Fixed | ||
- Fix new PHPCS sniffs. [#24366] | ||
|
||
## [2.11.4] - 2022-04-26 | ||
### Changed | ||
- Updated package dependencies. | ||
|
||
## [2.11.3] - 2022-04-19 | ||
### Changed | ||
- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput` | ||
|
||
## [2.11.2] - 2022-03-29 | ||
### Changed | ||
- Microperformance: Use === null instead of is_null | ||
|
||
## [2.11.1] - 2022-03-08 | ||
### Removed | ||
- Removed the Upgrade Handler. | ||
|
||
## [2.11.0] - 2022-03-08 | ||
### Added | ||
- On plugin update, pre-load all (non-PSR-4) classes from the plugin to avoid mid-upgrade fatals. | ||
|
||
## [2.10.13] - 2022-03-01 | ||
### Fixed | ||
- Fix tests for upstream phpunit change. | ||
|
||
## [2.10.12] - 2022-01-25 | ||
### Changed | ||
- Updated package dependencies. | ||
|
||
## [2.10.11] - 2022-01-04 | ||
### Changed | ||
- Switch to pcov for code coverage. | ||
- Updated package dependencies | ||
|
||
## [2.10.10] - 2021-11-16 | ||
### Added | ||
- Soft return if autoloader chain is not available. | ||
|
||
## [2.10.9] - 2021-11-02 | ||
### Changed | ||
- Set `convertDeprecationsToExceptions` true in PHPUnit config. | ||
|
||
## [2.10.8] - 2021-10-13 | ||
### Changed | ||
- Updated package dependencies. | ||
|
||
## [2.10.7] - 2021-10-07 | ||
### Changed | ||
- Updated package dependencies | ||
|
||
## [2.10.6] - 2021-09-28 | ||
### Changed | ||
- Updated package dependencies. | ||
|
||
## [2.10.5] - 2021-08-31 | ||
### Changed | ||
- Run composer update on test-php command instead of phpunit | ||
- Tests: update PHPUnit polyfills dependency (yoast/phpunit-polyfills). | ||
|
||
## [2.10.4] - 2021-08-10 | ||
### Changed | ||
- Updated package dependencies. | ||
|
||
## [2.10.3] - 2021-05-25 | ||
### Changed | ||
- Updated package dependencies. | ||
|
||
## [2.10.2] - 2021-04-27 | ||
### Changed | ||
- Updated package dependencies. | ||
|
||
## [2.10.1] - 2021-03-30 | ||
### Added | ||
- Composer alias for dev-master, to improve dependencies | ||
- Tests: Added code coverage transformation | ||
|
||
### Changed | ||
- Update package dependencies. | ||
|
||
### Fixed | ||
- Fix coverage test | ||
- Fix uninstallation fatal | ||
- Update tests for changed composer 2.0.9 hash. | ||
- Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in. | ||
|
||
## [2.10.0] - 2021-02-09 | ||
|
||
- Autoloader: test suite refactor | ||
|
||
## [2.9.1] - 2021-02-05 | ||
|
||
- CI: Make tests more generic | ||
- Autoloader: stricter type-checking on WP functions | ||
- Autoloader: prevent transitive plugin execution | ||
|
||
## [2.9.0] - 2021-01-25 | ||
|
||
- Autoloader: revised latest autoloader inclusion semantics | ||
- Add mirror-repo information to all current composer packages | ||
- Monorepo: Reorganize all projects | ||
- Autoloader: Don't cache deactivating plugins | ||
|
||
## [2.8.0] - 2020-12-18 | ||
|
||
## [2.7.1] - 2020-12-18 | ||
|
||
- Autoloader: Added realpath resolution to plugin paths | ||
|
||
## [2.7.0] - 2020-12-08 | ||
|
||
- Autoloader: Preemptively load unknown plugins from cache | ||
- Removed unwanted dot | ||
- Pin dependencies | ||
- Packages: Update for PHP 8 testing | ||
|
||
## [2.6.0] - 2020-11-19 | ||
|
||
- Autoloader: AutoloadGenerator no longer extends Composer's AutoloadGenerator class | ||
- Autoloader: Reuse an existing autoloader suffix if available | ||
- Updated PHPCS: Packages and Debugger | ||
|
||
## [2.5.0] - 2020-10-08 | ||
|
||
- Autoloader: remove the defined('JETPACK_AUTOLOAD_DEV') checks from the tests | ||
|
||
## [2.4.0] - 2020-09-28 | ||
|
||
- Autoloader: remove the plugins_loaded bullet point from the README | ||
- Packages: avoid PHPCS warnings | ||
- Autoloader: add PSR-0 support | ||
- Autoloader: Detect filtering of active_plugins | ||
- Autoloader: Support unoptimized PSR-4 | ||
|
||
## [2.3.0] - 2020-08-21 | ||
|
||
- Autoloader: remove the plugin update hook | ||
|
||
## [2.2.0] - 2020-08-14 | ||
|
||
- Autoloader: don't reset the autoloader version during plugin update | ||
- CI: Try collect js coverage | ||
|
||
## [2.1.0] - 2020-07-27 | ||
|
||
- Autoloader: convert '\' directory separators to '/' in plugin paths | ||
- Autoloader: Avoid a PHP warning when an empty string is passed to `is_directory_plugin()`. | ||
- Autoloader: Tests: Use a string with define | ||
|
||
## [2.0.2] - 2020-07-09 | ||
|
||
- Autoloader: Avoid a PHP warning when an empty string is passed to `is_directory_plugin()`. | ||
|
||
## [2.0.1] - 2020-07-02 | ||
|
||
- Autoloader: Tests: Use a string with define | ||
|
||
## [2.0.0] - 2020-06-29 | ||
|
||
## [2.0.0-beta] - 2020-06-29 | ||
|
||
- Autoloader: Support Composer v2.0 | ||
- Autoloader: use paths to identify plugins instead of the directories | ||
- Autoloader: fix the fatal that occurs during plugin update | ||
- Autoloader: add fallback check for plugin path in mu-plugins | ||
- Autoloader: use JETPACK__PLUGIN_DIR when looking for the jetpack plugin directory. | ||
- Feature Branch: Update the Autoloader | ||
- PHPCS: Clean up the packages | ||
- PHPCS Updates after WPCS 2.3 | ||
|
||
## [1.7.0] - 2020-04-23 | ||
|
||
- Jetpack: Move comment notification override back to the constructor | ||
|
||
## [1.6.0] - 2020-03-26 | ||
|
||
- Autoloader: Remove file check to improve performance. | ||
|
||
## [1.5.0] - 2020-02-25 | ||
|
||
- Jetpack: instantiate manager object if it's null | ||
|
||
## [1.4.1] - 2020-02-14 | ||
|
||
- Autoloader: Load only latest version of autoload files to avoid conflicts. | ||
|
||
## [1.4.0] - 2020-01-23 | ||
|
||
- Autoloader: Remove the ignored classes | ||
|
||
## [1.3.8] - 2020-01-14 | ||
|
||
- Trying to add deterministic initialization. | ||
- Autoloader: Remove Manager_Interface and Plugin\Tracking from ignored list | ||
- Autoloader: Remove Jetpack_IXR_Client from ignore list | ||
|
||
## [1.3.7] - 2019-12-10 | ||
|
||
## [1.3.6] - 2019-12-09 | ||
|
||
- Autoloader: Use long-form sytax for array | ||
|
||
## [1.3.5] - 2019-11-26 | ||
|
||
- Fix/php notice status | ||
|
||
## [1.3.4] - 2019-11-08 | ||
|
||
- Deprecate Jetpack::is_development_mode() in favor of the packaged Status()->is_development_mode() | ||
|
||
## [1.3.3] - 2019-10-28 | ||
|
||
- Packages: Add gitattributes files to all packages that need th… | ||
|
||
## [1.3.2] - 2019-09-24 | ||
|
||
- Autoloader: Cover scenarios where composer/autoload_files.php… | ||
|
||
## [1.3.1] - 2019-09-20 | ||
|
||
- Docs: Unify usage of @package phpdoc tags | ||
|
||
## [1.3.0] - 2019-09-14 | ||
|
||
- Fix for empty namespaces. #13459 | ||
- Connection: Move the Jetpack IXR client to the package | ||
- Adds full connection cycle capability to the Connection package. | ||
- Jetpack 7.5: Back compatibility package | ||
|
||
## [1.2.0] - 2019-06-24 | ||
|
||
- Jetpack DNA: Add full classmap support to Autoloader | ||
- Move Jetpack_Sync_Main from legacy to PSR-4 | ||
|
||
## [1.1.0] - 2019-06-19 | ||
|
||
- Packages: Move autoloader tests to the package | ||
- DNA: Move Jetpack Usage tracking to its own file | ||
- Jetpack DNA: More isolation of Tracks Package | ||
- Autoloader: Ignore XMLRPC_Connector if called too early | ||
- Autoloader: Ignore Jetpack_Signature if called too early | ||
|
||
## 1.0.0 - 2019-06-11 | ||
|
||
- Add Custom Autoloader | ||
|
||
[2.11.14]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.13...v2.11.14 | ||
[2.11.13]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.12...v2.11.13 | ||
[2.11.12]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.11...v2.11.12 | ||
[2.11.11]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.10...v2.11.11 | ||
[2.11.10]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.9...v2.11.10 | ||
[2.11.9]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.8...v2.11.9 | ||
[2.11.8]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.7...v2.11.8 | ||
[2.11.7]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.6...v2.11.7 | ||
[2.11.6]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.5...v2.11.6 | ||
[2.11.5]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.4...v2.11.5 | ||
[2.11.4]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.3...v2.11.4 | ||
[2.11.3]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.2...v2.11.3 | ||
[2.11.2]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.1...v2.11.2 | ||
[2.11.1]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.0...v2.11.1 | ||
[2.11.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.13...v2.11.0 | ||
[2.10.13]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.12...v2.10.13 | ||
[2.10.12]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.11...v2.10.12 | ||
[2.10.11]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.10...v2.10.11 | ||
[2.10.10]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.9...v2.10.10 | ||
[2.10.9]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.8...v2.10.9 | ||
[2.10.8]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.7...v2.10.8 | ||
[2.10.7]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.6...v2.10.7 | ||
[2.10.6]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.5...v2.10.6 | ||
[2.10.5]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.4...v2.10.5 | ||
[2.10.4]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.3...v2.10.4 | ||
[2.10.3]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.2...v2.10.3 | ||
[2.10.2]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.1...v2.10.2 | ||
[2.10.1]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.0...v2.10.1 | ||
[2.10.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.9.1...v2.10.0 | ||
[2.9.1]: https://github.com/Automattic/jetpack-autoloader/compare/v2.9.0...v2.9.1 | ||
[2.9.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.8.0...v2.9.0 | ||
[2.8.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.7.1...v2.8.0 | ||
[2.7.1]: https://github.com/Automattic/jetpack-autoloader/compare/v2.7.0...v2.7.1 | ||
[2.7.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.6.0...v2.7.0 | ||
[2.6.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.5.0...v2.6.0 | ||
[2.5.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.4.0...v2.5.0 | ||
[2.4.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.3.0...v2.4.0 | ||
[2.3.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.2.0...v2.3.0 | ||
[2.2.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.1.0...v2.2.0 | ||
[2.1.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.0.2...v2.1.0 | ||
[2.0.2]: https://github.com/Automattic/jetpack-autoloader/compare/v2.0.1...v2.0.2 | ||
[2.0.1]: https://github.com/Automattic/jetpack-autoloader/compare/v2.0.0...v2.0.1 | ||
[2.0.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.0.0-beta...v2.0.0 | ||
[2.0.0-beta]: https://github.com/Automattic/jetpack-autoloader/compare/v1.7.0...v2.0.0-beta | ||
[1.7.0]: https://github.com/Automattic/jetpack-autoloader/compare/v1.6.0...v1.7.0 | ||
[1.6.0]: https://github.com/Automattic/jetpack-autoloader/compare/v1.5.0...v1.6.0 | ||
[1.5.0]: https://github.com/Automattic/jetpack-autoloader/compare/v1.4.1...v1.5.0 | ||
[1.4.1]: https://github.com/Automattic/jetpack-autoloader/compare/v1.4.0...v1.4.1 | ||
[1.4.0]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.8...v1.4.0 | ||
[1.3.8]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.7...v1.3.8 | ||
[1.3.7]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.6...v1.3.7 | ||
[1.3.6]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.5...v1.3.6 | ||
[1.3.5]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.4...v1.3.5 | ||
[1.3.4]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.3...v1.3.4 | ||
[1.3.3]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.2...v1.3.3 | ||
[1.3.2]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.1...v1.3.2 | ||
[1.3.1]: https://github.com/Automattic/jetpack-autoloader/compare/v1.3.0...v1.3.1 | ||
[1.3.0]: https://github.com/Automattic/jetpack-autoloader/compare/v1.2.0...v1.3.0 | ||
[1.2.0]: https://github.com/Automattic/jetpack-autoloader/compare/v1.1.0...v1.2.0 | ||
[1.1.0]: https://github.com/Automattic/jetpack-autoloader/compare/v1.0.0...v1.1.0 |
Oops, something went wrong.