This repository was archived by the owner on Dec 5, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPsDevToolsCommandProvider.php
More file actions
42 lines (38 loc) · 1.32 KB
/
PsDevToolsCommandProvider.php
File metadata and controls
42 lines (38 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* SebSept Ps_dev_base - Tools for quality Prestashop Module development.
*
* Copyright (c) 2021 Sébastien Monterisi
*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/MIT
*
* @author Sébastien Monterisi <contact@seb7.fr>
* @copyright since 2021 Sébastien Monterisi
* @license https://opensource.org/licenses/MIT MIT License
*/
declare(strict_types=1);
namespace SebSept\PsDevToolsPlugin\Composer;
use Composer\Plugin\Capability\CommandProvider;
use SebSept\PsDevToolsPlugin\Command\PrestashopDevTools\PrestashopDevToolsCsFixer;
use SebSept\PsDevToolsPlugin\Command\PrestashopDevTools\PrestashopDevToolsPhpStan;
use SebSept\PsDevToolsPlugin\Command\SebSept\HelloCommand;
use SebSept\PsDevToolsPlugin\Command\SebSept\IndexPhpFiller;
use SebSept\PsDevToolsPlugin\Command\SebSept\PrecommitHook;
final class PsDevToolsCommandProvider implements CommandProvider
{
public function getCommands(): array
{
return [
new HelloCommand(),
new PrestashopDevToolsPhpStan(),
new PrestashopDevToolsCsFixer(),
new IndexPhpFiller(),
new PrecommitHook(),
];
}
}