Skip to content

[v6] #505 - Rename the filename option to file_path and base_folder_path to base_path - #522

Merged
njoubert-cleverage merged 1 commit into
dev-v6from
505
Dec 2, 2026
Merged

njoubert-cleverage merged 1 commit into
dev-v6from
505

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #505 (core part): equivalent options have the same name in every task, renamed directly in v6.0 without deprecation in 5.x.

  • file_reader, file_writer, line_reader: filename → file_path (input_file_reader / input_line_reader remove file_path and set it from the input).
  • input_folder_browser: base_folder_path → base_path, and a single / is added between a non-empty base_path (right-trimmed of /) and the input, as input_csv_reader does (they were concatenated without separator).
  • A former name fails when the process starts: The option "filename" does not exist. Defined options are: ….
  • Kept unchanged (other meaning): folder_path, destination, type of deserializer, log_empty_lines.
  • Tests: the former names are rejected for each task (including the input_* ones), base_path with and without a trailing /.
  • Reference pages, CHANGELOG (BC breaks), UPGRADE.md (renamed options, grep to find them, separator, leading / of the input).

Bridges: cleverage/archive-process-bundle#83 (v3.0), cleverage/doctrine-process-bundle#97 (v4.0). Follow-ups: cleverage/ui-process-bundle#319, cleverage/process-bundle-demo#130.

Checked locally: make quality, PHPUnit with pcov (1318 tests, no risky).

Requirements

  • Documentation updates
    • Reference
    • Cookbooks (none uses these options)
    • Changelog
  • Unit tests

Breaking changes

  • Major: filename (file_reader, file_writer, line_reader) and base_folder_path (input_folder_browser) are no longer accepted, use file_path and base_path (see UPGRADE.md).
  • Major: input_folder_browser adds a / between base_path and the input.

🤖 Generated with Claude Code

…o base_path

file_reader, file_writer, line_reader (and input_file_reader, input_line_reader):
filename → file_path; input_folder_browser: base_folder_path → base_path, with a
single / between a non-empty base_path and the input, as input_csv_reader.
No deprecation in 5.x: the former names are rejected (UndefinedOptionsException).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner December 2, 2026 16:05
@njoubert-cleverage
njoubert-cleverage merged commit af6d0e6 into dev-v6 Dec 2, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant