Skip to content

Commit 7b5ca5b

Browse files
committed
Update Composer dependencies
1 parent d53e8e3 commit 7b5ca5b

File tree

565 files changed

+235367
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

565 files changed

+235367
-2
lines changed

magento/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"magento/module-catalog": "^104.0",
2525
"magento/module-inventory-api": "^1.2",
2626
"magento/product-community-edition": "2.4.5",
27-
"swissup/module-search-mysql-legacy": "^1.1",
28-
"yireo/magento2-replace-all": "^4.2"
27+
"swissup/module-search-mysql-legacy": "^1.1"
2928
},
3029
"autoload": {
3130
"exclude-from-classmap": [

magento/setup/.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Options -Indexes
2+
3+
<IfModule mod_rewrite.c>
4+
RewriteEngine Off
5+
</IfModule>

magento/setup/config/.htaccess

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<IfVersion < 2.4>
2+
order allow,deny
3+
deny from all
4+
</IfVersion>
5+
<IfVersion >= 2.4>
6+
Require all denied
7+
</IfVersion>
8+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
use Magento\Setup\Di\MagentoDiFactory;
8+
use Magento\Setup\Mvc\Bootstrap\InitParamListener;
9+
10+
return [
11+
'modules' => require __DIR__ . '/modules.config.php',
12+
'module_listener_options' => [
13+
'module_paths' => [
14+
__DIR__ . '/../src',
15+
],
16+
'config_glob_paths' => [
17+
__DIR__ . '/autoload/{,*.}{global,local}.php',
18+
],
19+
],
20+
'listeners' => [
21+
InitParamListener::class
22+
],
23+
'service_manager' => [
24+
'factories' => [
25+
InitParamListener::BOOTSTRAP_PARAM => InitParamListener::class,
26+
\Magento\Framework\App\MaintenanceMode::class => MagentoDiFactory::class,
27+
\Magento\Setup\Model\ConfigGenerator::class => MagentoDiFactory::class,
28+
\Magento\Indexer\Console\Command\IndexerReindexCommand::class => MagentoDiFactory::class,
29+
\Symfony\Component\Console\Helper\TableFactory::class => MagentoDiFactory::class,
30+
\Magento\Deploy\Console\InputValidator::class => MagentoDiFactory::class,
31+
\Magento\Framework\App\State::class => MagentoDiFactory::class,
32+
],
33+
]
34+
];
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
use Magento\Framework\App\Bootstrap;
8+
use Magento\Framework\App\Filesystem\DirectoryList;
9+
use Magento\Setup\Mvc\Bootstrap\InitParamListener;
10+
11+
return [
12+
InitParamListener::BOOTSTRAP_PARAM => array_merge(
13+
$_SERVER,
14+
[
15+
Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS => [
16+
DirectoryList::ROOT => [
17+
DirectoryList::PATH => BP
18+
]
19+
]
20+
]
21+
)
22+
];

magento/setup/config/di.config.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
use Laminas\EventManager\EventManagerInterface;
8+
use Laminas\ServiceManager\ServiceLocatorInterface;
9+
use Laminas\ServiceManager\ServiceManager;
10+
use Magento\Framework\Component\ComponentRegistrar;
11+
use Magento\Framework\Component\ComponentRegistrarInterface;
12+
use Magento\Framework\DB\Logger\Quiet;
13+
use Magento\Framework\DB\LoggerInterface;
14+
use Magento\Framework\Filesystem\DriverInterface;
15+
use Magento\Framework\Locale\Config;
16+
use Magento\Framework\Locale\ConfigInterface;
17+
use Magento\Framework\Setup\Declaration\Schema\SchemaConfig;
18+
19+
return [
20+
'dependencies' => [
21+
'auto' => [
22+
'preferences' => [
23+
EventManagerInterface::class => 'EventManager',
24+
ServiceLocatorInterface::class => ServiceManager::class,
25+
LoggerInterface::class => Quiet::class,
26+
ConfigInterface::class => Config::class,
27+
DriverInterface::class => \Magento\Framework\Filesystem\Driver\File::class,
28+
ComponentRegistrarInterface::class => ComponentRegistrar::class,
29+
],
30+
'types' => [
31+
SchemaConfig::class => [
32+
'parameters' => [
33+
'connectionScopes' => [
34+
'default',
35+
'checkout',
36+
'sales'
37+
]
38+
]
39+
],
40+
],
41+
],
42+
],
43+
];
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
return [
8+
'view_manager' => [
9+
'display_not_found_reason' => false,
10+
'display_exceptions' => false,
11+
'doctype' => 'HTML5',
12+
'template_path_stack' => [
13+
'setup' => __DIR__ . '/../view',
14+
],
15+
]
16+
];
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
/**
7+
* List of enabled modules for this application.
8+
*
9+
* This should be an array of module namespaces used in the application.
10+
*/
11+
return [
12+
'Magento\Setup',
13+
'Laminas\Di',
14+
'Laminas\Router',
15+
];

magento/setup/index.php

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
use Laminas\Http\PhpEnvironment\Request;
8+
use Magento\Framework\App\Bootstrap;
9+
use Magento\Framework\App\ProductMetadata;
10+
use Magento\Setup\Model\License;
11+
12+
if (PHP_SAPI == 'cli') {
13+
echo "You cannot run this from the command line." . PHP_EOL .
14+
"Run \"php bin/magento\" instead." . PHP_EOL;
15+
exit(1);
16+
}
17+
try {
18+
require __DIR__ . '/../app/bootstrap.php';
19+
} catch (\Exception $e) {
20+
echo <<<HTML
21+
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
22+
<div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;">
23+
<h3 style="margin:0;font-size:1.7em;font-weight:normal;text-transform:none;text-align:left;color:#2f2f2f;">
24+
Autoload error</h3>
25+
</div>
26+
<p>{$e->getMessage()}</p>
27+
</div>
28+
HTML;
29+
exit(1);
30+
}
31+
32+
// For Setup Wizard we are using our customized error handler
33+
$handler = new \Magento\Framework\App\ErrorHandler();
34+
set_error_handler([$handler, 'handler']);
35+
36+
// Render Setup Wizard landing page
37+
$objectManager = Bootstrap::create(BP, $_SERVER)->getObjectManager();
38+
39+
$licenseClass = $objectManager->create(License::class);
40+
$metaClass = $objectManager->create(ProductMetadata::class);
41+
/** @var License $license */
42+
$license = $licenseClass->getContents();
43+
/** @var ProductMetadata $version */
44+
$version = $metaClass->getVersion();
45+
46+
$request = new Request();
47+
$basePath = $request->getBasePath();
48+
49+
ob_start();
50+
require_once __DIR__ . '/view/magento/setup/index.phtml';
51+
$html = ob_get_clean();
52+
echo $html;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<IfVersion < 2.4>
2+
order allow,deny
3+
deny from all
4+
</IfVersion>
5+
<IfVersion >= 2.4>
6+
Require all denied
7+
</IfVersion>
8+

0 commit comments

Comments
 (0)