Skip to content

Commit

Permalink
Merge pull request #1489 from publishpress/1488-upgrade-reviews-and-v…
Browse files Browse the repository at this point in the history
…ersion-notices-libraries

Fix #1488, Upgrade Reviews and Version Notices libraries
  • Loading branch information
olatechpro authored Dec 13, 2023
2 parents 9776686 + 09ecff4 commit 9ad43e1
Show file tree
Hide file tree
Showing 17 changed files with 177 additions and 181 deletions.
27 changes: 13 additions & 14 deletions lib/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 0 additions & 18 deletions lib/vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@

// 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 ComposerAutoloaderInitPublishPressPlanner::getLoader();
Loading

0 comments on commit 9ad43e1

Please sign in to comment.