Update `php-cs-fixer` for compatibility with PHP 8.4

Open
#47 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
tooling

Research direction

Start by running composer run cs:fix with PHP 8.4 and inspect the project configuration and dependency declaration that controls the php-cs-fixer version or compatibility check. Done means the command completes successfully under PHP 8.4, with the relevant pipeline run no longer failing.

Written by the indexing model from the issue text.

Description

bug
How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Setup environment to use PHP 8.4
  2. Run composer run cs:fix
Expected behaviour

php-cs-fixer should run without any error.

Actual behaviour

php-cs-fixer exits with code 1 as PHP 8.4 isn't supported. No check is being done. See this pipeline run for example.

Image
Dominant language
PHP
Stars
14
Forks
2
PR merge metrics
No merged PRs in 30d

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.

More from nextcloud/coding-standard

All issues in nextcloud/coding-standard

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.