Commit graph

6 commits

Author SHA1 Message Date
MDW
d72d2583b9
Qual: Update LanguageOfCommentsSniff to avoid PHP7 incompatibility (#39032)
# Qual: Update LanguageOfCommentsSniff to avoid PHP7 incompatibility

Variable length negative lookbehind is not available on older PHP version, used in Travis CI.

Updated the regex to use only negative lookahead.
2026-07-01 16:44:17 +02:00
MDW
ee3875eb4e
Qual: Fix french comments and improve detector (#39026)
* Qual: Generate phan specific changed php files list

# Qual: Generate phan specific changed php files list

Uses multiple parts of the Phan configuration to select and exclude files
for phan analysis.

* avoid catching special characters in regexes as indicators of french

* Qual: Translate french to english
2026-07-01 12:26:51 +02:00
Frédéric FRANCE
57ab98c673
fix french comments (#39019)
* fix french comments

* Update LangTest.php

* Update originproductline.tpl.php

* Update LanguageOfCommentsSniff.php

* Update LanguageOfCommentsSniff.php

* FIX: Suppress Phan undeclared test-framework warnings in LangTest

* FIX: Correct testTrans return type and non-nullable params in LangTest

* FIX: Declare MoLine::fk_bom_child transient property
2026-06-30 12:25:04 +02:00
Frédéric FRANCE
282e7dac6a
don't take care of some french comments and fix false positive (#39007)
* don't take care of some french comments

* Update LanguageOfCommentsSniff.php

* test a file

* Update doc_generic_asset_odt.modules.php

* Update auxaccount.php

* FIX: Translate French code comments to English in societe module

* fix phan

* fix phan
2026-06-29 19:28:28 +02:00
Frédéric FRANCE
488637132f
Update LanguageOfCommentsSniff.php (#38731)
* Update LanguageOfCommentsSniff.php

* Update actions_builddoc.inc.php

* fix

* Update LanguageOfCommentsSniff.php

* Update LanguageOfCommentsSniff.php

* exclude copyright lines

* translate comments

* translate comments

* translate comments

* fix CI

* fix CI
2026-06-28 03:50:31 +02:00
Frédéric FRANCE
d770d37e29
add phpcs rule extension (#36561)
* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* test

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* translate

* translate

* translate

* translate

* translate

* translate

* translate

* Update propal.class.php
2026-01-15 16:05:06 +01:00