Updated Rector to commit afd75171fb

afd75171fb move issue templates to split
This commit is contained in:
Tomas Votruba 2021-05-11 11:37:42 +00:00
parent 6852cac5e2
commit 66ac7e984e
7 changed files with 66 additions and 17 deletions

24
.github/ISSUE_TEMPLATE/1_Bug_report.md vendored Normal file
View File

@ -0,0 +1,24 @@
---
name: Bug Report
labels: bug
about: Report errors and problems
---
# Bug Report
<!-- First, thank you for reporting a bug. That takes time and we appreciate that! -->
| Subject | Details |
| :------------- | :---------------------------------------------------------------|
| Rector version | e.g. v0.9.5 (invoke `vendor/bin/rector --version`) |
| Installed as | composer dependency / prefixed Rector |
<!-- Please describe your problem here. -->
## Minimal PHP Code Causing Issue
<!-- Reproduce the issue using https://getrector.org/demo/ and post the URL here. -->
## Expected Behaviour
<!-- How should Rector change the code? Or should Rector skip it? -->

View File

@ -0,0 +1,18 @@
---
name: Feature Request
labels: feature
about: RFC and ideas for new features and improvements
---
# Feature Request
<!-- First, thank you for making a request. That takes time and we appreciate that! -->
## Diff
<!-- Use diff here in Markdown: https://stackoverflow.com/a/40883538/1348344 -->
```diff
-$value = $value + 5;
+$value += 5;
```

View File

@ -0,0 +1,7 @@
---
name: Support Question
labels: support
about: Questions about using this library
---
# Question

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5::getLoader();
return ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5
class ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit2640128c56620c7437d13afa595f94d5::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit3946f619b4d0c1ea6dcf99af498338ae::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit2640128c56620c7437d13afa595f94d5::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit3946f619b4d0c1ea6dcf99af498338ae::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire2640128c56620c7437d13afa595f94d5($fileIdentifier, $file);
composerRequire3946f619b4d0c1ea6dcf99af498338ae($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire2640128c56620c7437d13afa595f94d5($fileIdentifier, $file)
function composerRequire3946f619b4d0c1ea6dcf99af498338ae($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit2640128c56620c7437d13afa595f94d5
class ComposerStaticInit3946f619b4d0c1ea6dcf99af498338ae
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3465,9 +3465,9 @@ class ComposerStaticInit2640128c56620c7437d13afa595f94d5
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit2640128c56620c7437d13afa595f94d5::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit2640128c56620c7437d13afa595f94d5::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit2640128c56620c7437d13afa595f94d5::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit3946f619b4d0c1ea6dcf99af498338ae::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit3946f619b4d0c1ea6dcf99af498338ae::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit3946f619b4d0c1ea6dcf99af498338ae::$classMap;
}, null, ClassLoader::class);
}

View File

@ -21,8 +21,8 @@ if (!class_exists('SomeTestCase', false) && !interface_exists('SomeTestCase', fa
if (!class_exists('CheckoutEntityFactory', false) && !interface_exists('CheckoutEntityFactory', false) && !trait_exists('CheckoutEntityFactory', false)) {
spl_autoload_call('RectorPrefix20210511\CheckoutEntityFactory');
}
if (!class_exists('ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5', false) && !interface_exists('ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5', false) && !trait_exists('ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5', false)) {
spl_autoload_call('RectorPrefix20210511\ComposerAutoloaderInit2640128c56620c7437d13afa595f94d5');
if (!class_exists('ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae', false) && !interface_exists('ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae', false) && !trait_exists('ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae', false)) {
spl_autoload_call('RectorPrefix20210511\ComposerAutoloaderInit3946f619b4d0c1ea6dcf99af498338ae');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210511\Doctrine\Inflector\Inflector');
@ -92,9 +92,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210511\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire2640128c56620c7437d13afa595f94d5')) {
function composerRequire2640128c56620c7437d13afa595f94d5() {
return \RectorPrefix20210511\composerRequire2640128c56620c7437d13afa595f94d5(...func_get_args());
if (!function_exists('composerRequire3946f619b4d0c1ea6dcf99af498338ae')) {
function composerRequire3946f619b4d0c1ea6dcf99af498338ae() {
return \RectorPrefix20210511\composerRequire3946f619b4d0c1ea6dcf99af498338ae(...func_get_args());
}
}
if (!function_exists('parseArgs')) {