Skip to content

fix: absolute path in reports#9399

Merged
keradus merged 2 commits intoPHP-CS-Fixer:masterfrom
6b7562617765726c6f73:fix_absolute_path
Feb 5, 2026
Merged

fix: absolute path in reports#9399
keradus merged 2 commits intoPHP-CS-Fixer:masterfrom
6b7562617765726c6f73:fix_absolute_path

Conversation

@kubawerlos
Copy link
Copy Markdown
Member

Fixes #9383

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 3, 2026

Coverage Status

coverage: 92.948% (+0.001%) from 92.947%
when pulling b3336ec on 6b7562617765726c6f73:fix_absolute_path
into 408ab4a on PHP-CS-Fixer:master.

@UtechtDustin
Copy link
Copy Markdown

I can confirm, that this PR will fix my issue #9383.
Thanks for the quick reaction! :)

@keradus keradus merged commit 23bd6d8 into PHP-CS-Fixer:master Feb 5, 2026
33 checks passed
@keradus keradus deleted the fix_absolute_path branch February 5, 2026 01:03
: $this->cwd.\DIRECTORY_SEPARATOR.$path;
$absolutePath = \dirname($absolutePath);
}
$cwd = realpath($this->cwd);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

tests working without realpath too, is it needed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Windows issue, see the commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Absolute links in Gitlab reporter

4 participants