Skip to content

Commit

Permalink
Updated Rector to commit 6cf9a544edb1bf6e432e9e4f0767c83eea77e76e
Browse files Browse the repository at this point in the history
rectorphp/rector-src@6cf9a54 keep trigger_deprecation function
  • Loading branch information
TomasVotruba committed Aug 15, 2023
1 parent 0dc3d6f commit a267280
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'de97b987257a4de435af72252ec2186c5b20c139';
public const PACKAGE_VERSION = '6cf9a544edb1bf6e432e9e4f0767c83eea77e76e';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-08-16 01:39:56';
public const RELEASE_DATE = '2023-08-16 01:41:30';
/**
* @var int
*/
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit3fc05d51c98406caf564c64103cc201b::getLoader();
return ComposerAutoloaderInit9a92502ba4241ad709e09cdec4c268e5::getLoader();
10 changes: 5 additions & 5 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit3fc05d51c98406caf564c64103cc201b
class ComposerAutoloaderInit9a92502ba4241ad709e09cdec4c268e5
{
private static $loader;

Expand All @@ -22,17 +22,17 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit3fc05d51c98406caf564c64103cc201b', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit9a92502ba4241ad709e09cdec4c268e5', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit3fc05d51c98406caf564c64103cc201b', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit9a92502ba4241ad709e09cdec4c268e5', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit3fc05d51c98406caf564c64103cc201b::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit9a92502ba4241ad709e09cdec4c268e5::getInitializer($loader));

$loader->setClassMapAuthoritative(true);
$loader->register(true);

$filesToLoad = \Composer\Autoload\ComposerStaticInit3fc05d51c98406caf564c64103cc201b::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit9a92502ba4241ad709e09cdec4c268e5::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit3fc05d51c98406caf564c64103cc201b
class ComposerStaticInit9a92502ba4241ad709e09cdec4c268e5
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
Expand Down Expand Up @@ -2638,9 +2638,9 @@ class ComposerStaticInit3fc05d51c98406caf564c64103cc201b
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit3fc05d51c98406caf564c64103cc201b::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit3fc05d51c98406caf564c64103cc201b::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit3fc05d51c98406caf564c64103cc201b::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit9a92502ba4241ad709e09cdec4c268e5::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit9a92502ba4241ad709e09cdec4c268e5::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit9a92502ba4241ad709e09cdec4c268e5::$classMap;

}, null, ClassLoader::class);
}
Expand Down
9 changes: 5 additions & 4 deletions vendor/symfony/deprecation-contracts/function.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace RectorPrefix202308;

/*
* This file is part of the Symfony package.
*
Expand All @@ -8,8 +10,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

if (!function_exists('trigger_deprecation')) {
if (!\function_exists('RectorPrefix202308\\trigger_deprecation')) {
/**
* Triggers a silenced deprecation notice.
*
Expand All @@ -20,8 +21,8 @@
*
* @author Nicolas Grekas <[email protected]>
*/
function trigger_deprecation(string $package, string $version, string $message, ...$args): void
function trigger_deprecation(string $package, string $version, string $message, ...$args) : void
{
@trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
@\trigger_error(($package || $version ? "Since {$package} {$version}: " : '') . ($args ? \vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
}
}

0 comments on commit a267280

Please sign in to comment.