Skip to content

Commit 56f1688

Browse files
committed
Update composer.json
1 parent 4384e27 commit 56f1688

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,10 @@
4242

4343
}
4444
},
45-
"minimum-stability": "dev"
45+
"minimum-stability": "dev",
46+
"config": {
47+
"allow-plugins": {
48+
"dealerdirect/phpcodesniffer-composer-installer": true
49+
}
50+
}
4651
}

src/AclPlugin.php

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,21 @@
2424
*/
2525
class AclPlugin extends BasePlugin
2626
{
27-
/**
28-
* Add console commands if bake is also available.
29-
*
30-
* @param \Cake\Console\CommandCollection $commands The command collection to update
31-
* @return \Cake\Console\CommandCollection
32-
*/
33-
public function console(CommandCollection $commands): CommandCollection
34-
{
35-
return $commands;
36-
}
27+
28+
/**
29+
* @var bool
30+
*/
31+
protected bool $middlewareEnabled = false;
32+
33+
/**
34+
* @var bool
35+
*/
36+
protected bool $bootstrapEnabled = false;
37+
38+
/**
39+
* @var bool
40+
*/
41+
protected bool $routesEnabled = false;
42+
3743
}
3844

0 commit comments

Comments
 (0)