1 | <?php |
||
2 | |||
3 | namespace Godbout\Alfred\Time\Menus\Harvest; |
||
4 | |||
5 | use Godbout\Alfred\Workflow\Icon; |
||
6 | use Godbout\Alfred\Workflow\Item; |
||
0 ignored issues
–
show
|
|||
7 | use Godbout\Alfred\Time\Menus\Menu; |
||
8 | use Godbout\Alfred\Workflow\ScriptFilter; |
||
9 | |||
10 | class SetupAccountId extends Menu |
||
11 | { |
||
12 | public static function scriptFilter() |
||
13 | { |
||
14 | ScriptFilter::add( |
||
15 | self::accountId(), |
||
16 | self::back() |
||
17 | ); |
||
18 | } |
||
19 | |||
20 | private static function accountId() |
||
21 | { |
||
22 | global $argv; |
||
23 | |||
24 | return Item::create() |
||
25 | ->title('Enter your Account ID above') |
||
26 | ->subtitle('Save ' . self::userInput()) |
||
27 | ->arg('harvest_setup_account_id_save') |
||
28 | ->variable('harvest_account_id', self::userInput()) |
||
29 | ->icon(Icon::create('resources/icons/harvest.png')); |
||
30 | } |
||
31 | |||
32 | private static function back() |
||
33 | { |
||
34 | return Item::create() |
||
35 | ->title('Back') |
||
36 | ->subtitle('Go back to Harvest credentials options') |
||
37 | ->arg('harvest_setup_credentials') |
||
38 | ->icon(Icon::create('resources/icons/harvest.png')); |
||
39 | } |
||
40 | } |
||
41 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths