|
78 | 78 | 'SKELETON_QUESTION_PHPBB_VERSION_MAX_UI' => 'Maximum phpBB requirement of the extension',
|
79 | 79 | 'SKELETON_QUESTION_PHPBB_VERSION_MAX_EXPLAIN' => 'default: <' . \phpbb\skeleton\ext::DEFAULT_PHPBB_MAX,
|
80 | 80 |
|
81 |
| - 'SKELETON_QUESTION_COMPONENT_PHPLISTENER' => 'Create sample PHP event listeners?', |
| 81 | + 'SKELETON_QUESTION_COMPONENT_PHPLISTENER' => 'Create sample PHP event listeners', |
82 | 82 | 'SKELETON_QUESTION_COMPONENT_PHPLISTENER_UI' => 'PHP event listeners',
|
83 | 83 | 'SKELETON_QUESTION_COMPONENT_PHPLISTENER_EXPLAIN' => 'PHP event listeners work with core events to inject code into phpBB.',
|
84 |
| - 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER' => 'Create sample styles listeners?', |
| 84 | + 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER' => 'Create sample styles listeners', |
85 | 85 | 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER_UI' => 'Style listeners',
|
86 | 86 | 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER_EXPLAIN' => 'Style listeners use template events to inject HTML, JS and CSS into phpBB’s style files.',
|
87 |
| - 'SKELETON_QUESTION_COMPONENT_ACP' => 'Create a sample ACP administration module?', |
| 87 | + 'SKELETON_QUESTION_COMPONENT_ACP' => 'Create a sample ACP administration module', |
88 | 88 | 'SKELETON_QUESTION_COMPONENT_ACP_UI' => 'Administration control panel (ACP)',
|
89 | 89 | 'SKELETON_QUESTION_COMPONENT_ACP_EXPLAIN' => 'Add a functional ACP module for an extension to the ACP’s Extensions tab.',
|
90 |
| - 'SKELETON_QUESTION_COMPONENT_MCP' => 'Create a sample MCP moderation module?', |
| 90 | + 'SKELETON_QUESTION_COMPONENT_MCP' => 'Create a sample MCP moderation module', |
91 | 91 | 'SKELETON_QUESTION_COMPONENT_MCP_UI' => 'Moderator control panel (MCP)',
|
92 | 92 | 'SKELETON_QUESTION_COMPONENT_MCP_EXPLAIN' => 'Add a functional MCP module tab for an extension to the MCP.',
|
93 |
| - 'SKELETON_QUESTION_COMPONENT_UCP' => 'Create a sample UCP user module?', |
| 93 | + 'SKELETON_QUESTION_COMPONENT_UCP' => 'Create a sample UCP user module', |
94 | 94 | 'SKELETON_QUESTION_COMPONENT_UCP_UI' => 'User control panel (UCP)',
|
95 | 95 | 'SKELETON_QUESTION_COMPONENT_UCP_EXPLAIN' => 'Add a functional UCP module tab for an extension to the UCP.',
|
96 |
| - 'SKELETON_QUESTION_COMPONENT_MIGRATION' => 'Create sample database migrations?', |
| 96 | + 'SKELETON_QUESTION_COMPONENT_MIGRATION' => 'Create sample database migrations', |
97 | 97 | 'SKELETON_QUESTION_COMPONENT_MIGRATION_UI' => 'Database migration',
|
98 | 98 | 'SKELETON_QUESTION_COMPONENT_MIGRATION_EXPLAIN' => 'Migration files are used to make database changes.',
|
99 |
| - 'SKELETON_QUESTION_COMPONENT_SERVICE' => 'Create a sample service?', |
| 99 | + 'SKELETON_QUESTION_COMPONENT_SERVICE' => 'Create a sample service', |
100 | 100 | 'SKELETON_QUESTION_COMPONENT_SERVICE_UI' => 'Service',
|
101 | 101 | 'SKELETON_QUESTION_COMPONENT_SERVICE_EXPLAIN' => 'This is a PHP class that does something behind the scenes. It is a class that can be accessed by controllers, event listeners, or control panel modules.',
|
102 |
| - 'SKELETON_QUESTION_COMPONENT_CONTROLLER' => 'Create a sample controller?', |
| 102 | + 'SKELETON_QUESTION_COMPONENT_CONTROLLER' => 'Create a sample controller', |
103 | 103 | 'SKELETON_QUESTION_COMPONENT_CONTROLLER_UI' => 'Controller (front page)',
|
104 | 104 | 'SKELETON_QUESTION_COMPONENT_CONTROLLER_EXPLAIN'=> 'Controllers are typically used for the front-facing files/classes. They run the code that produces the page the user views.',
|
105 |
| - 'SKELETON_QUESTION_COMPONENT_EXT' => 'Create a sample ext.php?', |
| 105 | + 'SKELETON_QUESTION_COMPONENT_EXT' => 'Create a sample ext.php', |
106 | 106 | 'SKELETON_QUESTION_COMPONENT_EXT_UI' => 'Extension base (ext.php)',
|
107 | 107 | 'SKELETON_QUESTION_COMPONENT_EXT_EXPLAIN' => 'Create the optional ext.php file which can be used to run code before or during extension installation and removal.',
|
108 |
| - 'SKELETON_QUESTION_COMPONENT_CONSOLE' => 'Create a sample console command?', |
| 108 | + 'SKELETON_QUESTION_COMPONENT_CONSOLE' => 'Create a sample console command', |
109 | 109 | 'SKELETON_QUESTION_COMPONENT_CONSOLE_UI' => 'Console command',
|
110 | 110 | 'SKELETON_QUESTION_COMPONENT_CONSOLE_EXPLAIN' => 'A functional CLI interface to perform console/terminal commands.',
|
111 |
| - 'SKELETON_QUESTION_COMPONENT_CRON' => 'Create a sample cron task?', |
| 111 | + 'SKELETON_QUESTION_COMPONENT_CRON' => 'Create a sample cron task', |
112 | 112 | 'SKELETON_QUESTION_COMPONENT_CRON_UI' => 'Cron task',
|
113 | 113 | 'SKELETON_QUESTION_COMPONENT_CRON_EXPLAIN' => 'Add a cron task to be able to schedule and run cron-based actions from an extension.',
|
114 |
| - 'SKELETON_QUESTION_COMPONENT_NOTIFICATION' => 'Create a sample notification?', |
| 114 | + 'SKELETON_QUESTION_COMPONENT_NOTIFICATION' => 'Create a sample notification', |
115 | 115 | 'SKELETON_QUESTION_COMPONENT_NOTIFICATION_UI' => 'Notifications',
|
116 | 116 | 'SKELETON_QUESTION_COMPONENT_NOTIFICATION_EXPLAIN' => 'Notifications allow an extension to notify users of specific activities. When choosing notifications, do not use phpBB 3.1 as the minimum requirement. Notifications changed in phpBB 3.2.0 and are not backwards compatible with 3.1.x.',
|
117 |
| - 'SKELETON_QUESTION_COMPONENT_PERMISSIONS' => 'Create sample permissions?', |
| 117 | + 'SKELETON_QUESTION_COMPONENT_PERMISSIONS' => 'Create sample permissions', |
118 | 118 | 'SKELETON_QUESTION_COMPONENT_PERMISSIONS_UI' => 'Permissions',
|
119 | 119 | 'SKELETON_QUESTION_COMPONENT_PERMISSIONS_EXPLAIN' => 'Permissions can be used to grant users, groups and roles access to specific extension features.',
|
120 |
| - 'SKELETON_QUESTION_COMPONENT_TESTS' => 'Create sample PHPUnit tests?', |
| 120 | + 'SKELETON_QUESTION_COMPONENT_TESTS' => 'Create sample PHPUnit tests', |
121 | 121 | 'SKELETON_QUESTION_COMPONENT_TESTS_UI' => 'Tests (PHPUnit)',
|
122 | 122 | 'SKELETON_QUESTION_COMPONENT_TESTS_EXPLAIN' => 'Unit tests can test an extension to verify that specific portions of its source code work properly. This helps ensure basic code integrity and prevents regressions as an extension is being developed and debugged.',
|
123 |
| - 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS' => 'Create a GitHub Actions workflow to run tests in your repository?', |
| 123 | + 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS' => 'Create a GitHub Actions workflow', |
| 124 | + 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CLI' => [ |
| 125 | + 0 => 'No (Default)', |
| 126 | + 1 => 'Reusable (Recommended - uses phpBB\'s maintained workflow)', |
| 127 | + 2 => 'Standalone (Deprecated - customise and maintain your own workflow)', |
| 128 | + ], |
124 | 129 | 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_UI' => 'GitHub Actions Workflow (Reusable – Recommended)',
|
125 | 130 | 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_EXPLAIN' => 'Creates a GitHub Actions workflow that uses a reusable, phpBB-maintained framework to run PHPUnit tests on your repository. The workflow file is saved in .github/workflows and runs automatically on each commit and pull request.',
|
126 |
| - 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CUSTOM' => 'Create a fully customisable GitHub Actions workflow? (Select this if you plan to modify jobs or steps.)', |
| 131 | + 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CUSTOM' => 'Create a standalone GitHub Actions workflow [Deprecated: not recommended unless you plan to modify jobs or steps]', |
127 | 132 | 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CUSTOM_UI' => 'GitHub Actions Workflow (Standalone – Deprecated)',
|
128 | 133 | 'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CUSTOM_EXPLAIN' => 'Deprecated: Creates a fully standalone workflow to run PHPUnit tests without using the shared phpBB framework. This overrides the reusable workflow and is no longer recommended. The file is saved in .github/workflows and runs on each commit and pull request.',
|
129 |
| - 'SKELETON_QUESTION_COMPONENT_BUILD' => 'Create a sample build script for phing?', |
| 134 | + 'SKELETON_QUESTION_COMPONENT_BUILD' => 'Create a sample build script for phing', |
130 | 135 | 'SKELETON_QUESTION_COMPONENT_BUILD_UI' => 'Build script (phing)',
|
131 | 136 | 'SKELETON_QUESTION_COMPONENT_BUILD_EXPLAIN' => 'A phing build script is generated for your extension which can be used to generate build packages to help simplify the release or deployment processes.',
|
132 | 137 |
|
|
0 commit comments