package-url / package-url/packageurl-php

drop support of php73/74

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change
Dominant language
PHP
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

on 2022-11-28 the support for php7.4 ended.

lets take this for a change to switch the min-version of this lib to 8.0 .
see https://www.php.net/manual/en/migration80.new-features.php


on 2021-12-06 the support for php7.3 ended.

lets take this for a change to switch the min-version of this lib to 7.4 .
see https://www.php.net/manual/en/migration74.new-features.php

so to use the new language features, a breaking change might happen.


  • drop php73/74 from CI
  • drop php73/74 from composer manifest (php: ^8.0)
  • update dev-tools to a version that does not need php73/74 - depeds on #29
  • migrate to php80 via php-cs-fixer
  • make class properties type-save
  • TODO: gather additional list of changes to apply to the source code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CI configuration and composer manifest to identify PHP 7.3/7.4 constraints, then inspect the dev-tools versions and source classes targeted for PHP 8 migration. Check dependency issue #29 before updating tooling; done means older PHP versions are removed from CI and the manifest, tooling supports PHP 8, and the listed migration and property-typing work is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.