Skip to content

Error executing phpunit. #3909

Closed
Closed
@nelson-k-808

Description

@nelson-k-808

PHP_CodeSniffer Bug

I want to contribute to PHP_Codesniffer and I followed the CONTRIBUTING.md documentation and executed them. After executing phpunit I encountered this error.
Screenshot from 2023-10-28 20-39-58

To reproduce

This is the steps I took to reproduce the behavior:

  1. Ran cd PHP_CodeSniffer
  2. Ran bin/phpcs
  3. Ran phpunit

This was the output after executing script bin/phpcs
Screenshot from 2023-10-28 21-22-44

My environment details

Operating System Ubuntu 22.04.2 LTS
PHP version 8.2.8
PHP_CodeSniffer version 3.5.5, master
Standard [e.g., PSR2, PSR12, Squiz, custom]
Install type git clone
PHPUnit version 9.5.10

Please confirm:

  • I confirm that this bug is a bug in PHP_CodeSniffer and not in one of the external standards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions