Koha-clms/installer/data/mysql/en/optional
Jonathan Druart cb504d5cc7
Bug 40541: Add missing new line at the end of files when missing
We have insert_final_newline = true to ensure files will contain a new
line at the end. However we have seen commits with "No new line" added
in the git log.

We should have a xt test to prevent more occurrences.

We should also have a test at the QA script level:
https://gitlab.com/koha-community/qa-test-tools/-/issues/96

Test plan:
  prove xt/find-missing-new-lines-at-the-end-of-file.t
should return green.

Remove the new line at the end of a file, eg.
vim -b mainpage.pl
:set noeol
:wq

Now
  prove xt/find-missing-new-lines-at-the-end-of-file.t
is failing on mainpage.pl.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e9eb20249e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-08-22 09:48:20 +02:00
..
auth_val.yml Bug 33059: Fix capitalizatoin of AV sample category descriptions 2023-03-17 09:59:09 -03:00
csv_profiles.yml Bug 24163: (QA follow-up) Fix wordings 2020-05-05 11:08:37 +01:00
marc21_holdings_coded_values.yml Bug 24594: Fix license statements 2020-03-09 15:17:25 +00:00
marc21_relatorterms.yml Bug 40541: Add missing new line at the end of files when missing 2025-08-22 09:48:20 +02:00
parameters.yml Bug 24594: Fix license statements 2020-03-09 15:17:25 +00:00
patron_atributes.yml Bug 24594: Fix license statements 2020-03-09 15:17:25 +00:00
patron_categories.yml Bug 35539: Remove 'issuelimit' column/field from categories table 2024-07-25 11:11:16 +01:00
sample_creator_data.yml Bug 40414: Update patron card layout with expiry date 2025-08-22 09:48:16 +02:00
sample_itemtypes.yml Bug 23148: (follow-up) Correct image paths in sample data and tests 2020-07-20 16:16:37 +02:00
sample_libraries.yml Bug 24594: Fix license statements 2020-03-09 15:17:25 +00:00
sample_libraries_holidays.yml Bug 24594: Fix license statements 2020-03-09 15:17:25 +00:00
sample_news.yml Bug 40160: Use HTTPS for links to community websites 2025-07-24 10:23:13 +02:00
sample_patrons.yml Bug 38622: Update sample patron data with preferred_name 2024-12-04 16:32:48 +01:00
sample_quotes.yml Bug 29722: (QA follow-up) Replace unusual single quote 2022-01-21 21:34:51 -10:00
sample_z3950_servers.yml Bug 30373: (follow-up) Add BNF z3950 server 2022-04-27 11:20:43 -10:00