Skip to content

Remove invalid character from phpunit-rules.neon#276

Merged
TomasVotruba merged 2 commits into
symplify:mainfrom
guanguans:patch-1
Jun 15, 2026
Merged

Remove invalid character from phpunit-rules.neon#276
TomasVotruba merged 2 commits into
symplify:mainfrom
guanguans:patch-1

Conversation

@guanguans

@guanguans guanguans commented Jun 15, 2026

Copy link
Copy Markdown
Contributor
╰─ c phpstan:analyse                                                                                                                                                              ─╯
Note: Using configuration file /.../laravel-skeleton/phpstan.neon.dist.

In NeonCachedFileReader.php line 45:
                                                                                                                                                                             
  [_PHPStan_2874a496b\Nette\Neon\Exception]                                                                                                                                  
  Error while loading /.../laravel-skeleton/vendor/symplify/phpstan-rules/config/phpunit-rules.neon: Unexpected '<new line>' on line 4, column 3.  
                                                                                                                                                                             

Copilot AI review requested due to automatic review settings June 15, 2026 09:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Cleans up the PHPUnit PHPStan rules configuration by removing an unintended stray character that could break parsing.

Changes:

  • Removed an extraneous non-ASCII character from config/phpunit-rules.neon.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TomasVotruba

Copy link
Copy Markdown
Member

Thanks. Can you add a unit test to catch these in CI?

- Add GitHub Actions step "Lint Neon" to run vendor/bin/neon-lint config/
- Add nette/neon dependency and composer script "lint-neon" to run the linter
- Ensure Neon config files are linted in CI to catch syntax and format errors early
@TomasVotruba

Copy link
Copy Markdown
Member

Awesome, thank you 👍

@TomasVotruba TomasVotruba merged commit f8ababb into symplify:main Jun 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants