mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-15 04:49:44 +01:00
Updated Rector to commit 8470e7dd2de8c3499bb0b72a031d650b57ace06b
8470e7dd2d
add note about finalize replacement
This commit is contained in:
parent
2b945fac7b
commit
cf6f6c099f
rules/Privatization/Rector/Class_
src/Application
@ -54,7 +54,7 @@ CODE_SAMPLE
|
||||
if ($this->hasWarned) {
|
||||
return null;
|
||||
}
|
||||
\trigger_error(\sprintf('The "%s" rule was deprecated, as its functionality caused bugs. Without knowing the full dependency tree, its risky to change.', self::class));
|
||||
\trigger_error(\sprintf('The "%s" rule was deprecated, as its functionality caused bugs. Without knowing the full dependency tree, its risky to change. Use "%s" instead', self::class, 'https://github.com/rectorphp/swiss-knife#4-finalize-classes-without-children'));
|
||||
\sleep(3);
|
||||
$this->hasWarned = \true;
|
||||
return null;
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '8c51074a9a121fff732471541b005df99dd71873';
|
||||
public const PACKAGE_VERSION = '8470e7dd2de8c3499bb0b72a031d650b57ace06b';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-05-29 01:35:08';
|
||||
public const RELEASE_DATE = '2024-05-29 14:34:59';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user