Skip to content

Commit b71c1f2

Browse files
Merge pull request #2132 from magento-borg/MAGETWO-88314-rename-registration-php
[borg] MAGETWO-88314: Base composer.json autoload changes break upgrades
2 parents fb6b529 + f62ac7d commit b71c1f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/registration.php renamed to app/etc/NonComposerComponentRegistration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818
function main()
1919
{
20-
$globPatterns = require __DIR__ . '/etc/registration_globlist.php';
21-
$baseDir = dirname(__DIR__) . '/';
20+
$globPatterns = require __DIR__ . '/registration_globlist.php';
21+
$baseDir = dirname(dirname(__DIR__)) . '/';
2222

2323
foreach ($globPatterns as $globPattern) {
2424
// Sorting is disabled intentionally for performance improvement

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
]
267267
},
268268
"files": [
269-
"app/registration.php"
269+
"app/etc/NonComposerComponentRegistration.php"
270270
],
271271
"exclude-from-classmap": [
272272
"**/dev/**",

0 commit comments

Comments
 (0)