mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-31 20:51:46 +01:00
misc
This commit is contained in:
parent
25e9723190
commit
0cc75d58be
@ -5,9 +5,12 @@
|
||||
* "composer create-project ..." and "composer require" installation.
|
||||
*/
|
||||
$possibleAutoloadPaths = [
|
||||
__DIR__ . '/../vendor/autoload.php', // repository
|
||||
__DIR__ . '/../vendor/autoload.php', // composer create-project
|
||||
__DIR__ . '/../../../../vendor/autoload.php', // composer require
|
||||
// repository
|
||||
__DIR__ . '/../vendor/autoload.php',
|
||||
// composer create-project
|
||||
__DIR__ . '/../vendor/autoload.php',
|
||||
// composer require
|
||||
__DIR__ . '/../../../../vendor/autoload.php',
|
||||
];
|
||||
|
||||
foreach ($possibleAutoloadPaths as $possibleAutoloadPath) {
|
||||
|
@ -4,7 +4,7 @@ services:
|
||||
|
||||
Rector\:
|
||||
resource: '../../src'
|
||||
exclude: '../../src/{Node/Attribute.php,Rector/Contrib,Rector/Dynamic,Rector/MagicDisclosure}'
|
||||
exclude: '../../src/{Node/Attribute.php,Rector/Contrib,Rector/Dynamic,Rector/MagicDisclosure,Testing}'
|
||||
|
||||
# autowire by interface
|
||||
Rector\Contract\Parser\ParserInterface:
|
||||
|
Loading…
x
Reference in New Issue
Block a user