Skip to content

Support stable PHP versions #338

@vitormattos

Description

@vitormattos

For now, the matrix only stay accepting EOL PHP versions as we can see at the latest tag:

      matrix:
        php:
          - "5.3"
          - "5.4"
          - "5.5"
          - "5.6"
          - "7.0"
          - "7.1"
          - "7.2"
          - "7.3"
          - "7.4"
          - "8.0"

https://github.com/mikehaertl/php-pdftk/blob/0.13.1/.github/workflows/tests.yml#L8-L19

Suggestion:

  • Make compatible with current supported PHP versions as expose at the official PHP website as 8.1 to 8.4
    • Bump dependencies
    • Update GitHub Actions
    • Implement linters and refactor tools like:
  • Implement GitHub Actions to run linters

If I have the approve from maintainers, I can do this. But first, I have some questions to maintainers:

  • Will be necessary to define ta minimum PHP version at composer.json. What minimum PHP version would you like to declare in composer.json, can I set as 8.1?
  • Do you prefer to keep a legacy matrix or remove EOL versions entirely?

I think that would be best to set as 8.1 the minimum version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions