Skip to content

[Issue] Update File.php #39457

Open
@m2-assistant

Description

This issue is automatically created based on existing pull request: #39454: Update File.php


Throwing an exception is removed.

Description (*)

When reading a file line by line, PHP ALWAYS returns false when reading the whole file. So the current driver code ALWAYS throws an exception. It should not work this way, the end of the file should not throw an exception.

Related Pull Requests

Fixed Issues (if relevant)

Manual testing scenarios (*)

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Assignees

No one assigned

    Labels

    Area: FrameworkComponent: Framework/FileIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: PR in progressReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions