File tree 5 files changed +20
-6
lines changed
5 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ WARDEN_ENV_NAME=depends
2
2
WARDEN_ENV_TYPE = laravel
3
3
WARDEN_WEB_ROOT = /
4
4
WARDEN_PHP = 1
5
- PHP_VERSION = 7.2
5
+ COMPOSER_VERSION = 2
6
+ PHP_VERSION = 7.4
6
7
TRAEFIK_DOMAIN = depends.test
7
8
TRAEFIK_SUBDOMAIN = app
9
+ WARDEN_COMPOSER_DIR = ./.composer
Original file line number Diff line number Diff line change 1
1
vendor /
2
2
composer.lock
3
+ .composer /
Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"require" : {
7
7
"php" : " ^7.2" ,
8
- "composer-plugin-api" : " ^1.0 " ,
9
- "composer/composer" : " ^1" ,
8
+ "composer-plugin-api" : " ^1|^2 " ,
9
+ "composer/composer" : " ^1|^2 " ,
10
10
"composer/semver" : " ^1|^2|^3" ,
11
11
"symfony/console" : " ^5"
12
12
},
Original file line number Diff line number Diff line change 18
18
use Symfony \Component \Console \Output \OutputInterface ;
19
19
20
20
/**
21
- * @dependency composer/composer:^1 Extends BaseCommand
21
+ * @dependency composer/composer:^1|^2 Extends BaseCommand
22
22
*/
23
23
class WhyBlockCommand extends BaseCommand
24
24
{
Original file line number Diff line number Diff line change 17
17
/**
18
18
* In charge of registering everything our plugin needs
19
19
*
20
- * @dependency composer-plugin-api:^1 Reliant Interfaces
21
- * @dependency composer/composer:^1 Existence of IOInterface and Composer class
20
+ * @dependency composer-plugin-api:^1|^2 Reliant Interfaces
21
+ * @dependency composer/composer:^1|^2 Existence of IOInterface and Composer class
22
22
*/
23
23
class Plugin implements PluginInterface, Capable, CommandProvider
24
24
{
25
25
public function activate (Composer $ composer , IOInterface $ io ): void
26
26
{
27
+ /* No-op */
28
+ }
29
+
30
+ public function deactivate (Composer $ composer , IOInterface $ io ): void
31
+ {
32
+ /* No-op */
27
33
}
28
34
29
35
public function getCapabilities (): array
@@ -39,4 +45,9 @@ public function getCommands(): array
39
45
new WhyBlockCommand (),
40
46
];
41
47
}
48
+
49
+ public function uninstall (Composer $ composer , IOInterface $ io ): void
50
+ {
51
+ /* No-op */
52
+ }
42
53
}
You can’t perform that action at this time.
0 commit comments