Skip to content

Commit 5d6cb86

Browse files
committed
fix: preserve version in composer.json and configure workflow with --no-check-version
- phpBB metadata_manager strictly requires the 'version' meta field in composer.json to validate, list, and enable extensions. - Configure GitHub Actions CI workflow to run 'composer validate --no-check-version --strict' so strict CI checks pass without warning about the version field. - Ensure 100% compliance with phpBB 3.3 extension metadata requirements.
1 parent 26983fa commit 5d6cb86

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
coverage: none
2828

2929
- name: Validate composer.json
30-
run: composer validate --strict
30+
run: composer validate --no-check-version --strict
3131

3232
- name: PHP Syntax Check (Lint)
3333
run: find . -type f -name "*.php" -not -path "./tests/tmp/*" -not -path "./scratch/*" -exec php -l {} +

‎tests/test_release_zip_installation.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
2+
if (!defined('IN_PHPBB')) {
3+
define('IN_PHPBB', true);
4+
}
25
$zip_file = 'C:/xampp/htdocs/bb/phpbbseo_migrationcenter_v1.0.0.zip';
36
$test_ext_dir = 'C:/xampp/htdocs/bb_e2e/ext/phpbbseo/migrationcenter_zip_test';
47

0 commit comments

Comments
 (0)