[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX][ENH][REF] BOM scripts: converge into native cross-platform handling
"SoftStart Code \(@softstartcode\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <692cc1b6ad78b_2a17b81c-3bf@gitlab-sidekiq-low-urgency-cpu-bound-v2-5df5c99858-xn5pn.mail> |
SoftStart Code pushed to branch master at Tiki Wiki CMS Groupware / Tiki Commits: 9f6afd6c by Sandeep D at 2025-11-30T22:06:35+00:00 [FIX][ENH][REF] BOM scripts: converge into native cross-platform handling --- * [FIX] Normalize line endings in BOM and line-ending related files * [FIX][ENH][REF] BOM scripts: converge into native cross-platform handling - Added fix() method to BOMChecker_Scanner for detecting and removing BOMs - Introduced LineEndingConverter for CRLF/CR/LF handling - Updated FixBOMandUnixCommand to support --report-only and replace dos2unix with native PHP logic - Remove the `dos2unix` dependency to make BOM/line-ending fixes cross-platform. - Added unit tests in lib/test/Core/LineEnding/ConverterTest.php and lib/test/Core/BOMChecker/ScannerTest.php See merge request tikiwiki/tiki!9142 - - - - - 12 changed files: - doc/devtools/check_bom_encoding.php - doc/devtools/check_unix_ending_line.php - doc/devtools/myspell_dic_2_tikiWiki_sql.pl - lang/ro/language.php - lib/Shipping/Provider/wsdl/ups/RateWebServiceSchema.xsd - lib/core/BOMChecker/Scanner.php - + lib/core/LineEnding/Converter.php - lib/core/Tiki/Command/FixBOMandUnixCommand.php - + lib/test/Core/BOMChecker/ScannerTest.php - + lib/test/Core/LineEnding/ConverterTest.php - tests/testfile2.txt - themes/base_files/scss/_tiki-mod-since_last_visit.scss The diff was not included because it is too large. View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9f6afd6c20d8facda65229fd9331fce0e141cfe3 -- View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9f6afd6c20d8facda65229fd9331fce0e141cfe3 You're receiving this email because of your account on gitlab.com. _______________________________________________ TikiWiki-cvs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs