Skip to content

Commit ba12a8e

Browse files
committed
refactor(generator): Change visibility of ernie property
- Change the visibility of the `ernie` property in the `ErnieBotGenerator` class from private to protected
1 parent 5044bd6 commit ba12a8e

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

app/Generators/ErnieBotGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ErnieBotGenerator implements GeneratorContract
3232
/**
3333
* @var \App\Support\Ernie
3434
*/
35-
private $ernie;
35+
protected $ernie;
3636

3737
/**
3838
* @var \Illuminate\Console\OutputStyle

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"laminas/laminas-text": "^2.9",
6262
"laravel-zero/framework": "^8.10 || ^9.0 || ^10.0",
6363
"laravel-zero/phar-updater": "^1.1",
64-
"mockery/mockery": "^1.5",
64+
"mockery/mockery": "^1.6",
6565
"pestphp/pest": "^1.23",
6666
"php-mock/php-mock-phpunit": "^2.7"
6767
},

composer.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan-baseline.neon

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
message: "#^Method App\\\\Commands\\\\CommitCommand\\:\\:shouldVerify\\(\\) is unused\\.$#"
5+
count: 1
6+
path: app/Commands/CommitCommand.php
7+
38
-
49
message: "#^Parameter \\#1 \\$times of function retry expects int, array\\|bool\\|string\\|null given\\.$#"
510
count: 1

0 commit comments

Comments
 (0)