Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Barcode validator #291

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

gsteel
Copy link
Member

@gsteel gsteel commented Jun 24, 2024

Q A
Documentation yes
BC Break yes
QA yes

Description

  • Removes all options setters and getters
  • Allows class-string for the adapter
  • Drops options for the adapters because none of them accepted options
  • Drop the abstract adapter and simplify adapter interface
  • Remove most getters/setters for adapters
  • extract useful checksum methods from the abstract adapter to an internal utility class

@gsteel gsteel added this to the 3.0.0 milestone Jun 24, 2024
@gsteel gsteel force-pushed the v3/refactor-barcode branch from 5f52792 to 75966dc Compare June 25, 2024 08:38
@gsteel gsteel marked this pull request as ready for review June 25, 2024 08:39
gsteel added a commit to gsteel/laminas-validator that referenced this pull request Jun 25, 2024
See laminas#291

Signed-off-by: George Steel <george@net-glue.co.uk>
- Removes all options setters and getters
- Allows class-string for the adapter
- Drops options for the adapters because none of them accepted options
- Drop the abstract adapter and simplify adapter interface
- Remove most getters/setters for adapters
- extract useful checksum methods from the abstract adapter to an internal utility class

Signed-off-by: George Steel <george@net-glue.co.uk>
Copy link
Member

@froschdesign froschdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@gsteel gsteel self-assigned this Jun 27, 2024
@gsteel gsteel merged commit 31fc753 into laminas:3.0.x Jun 27, 2024
14 of 15 checks passed
@gsteel gsteel deleted the v3/refactor-barcode branch June 27, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants