Skip to content

Remove unnecessary testing and static analysis dependencies - #57

Open
fadrian06 wants to merge 1 commit into
leafsphp:v5.xfrom
fadrian06:clean-dev-requires
Open

Remove unnecessary testing and static analysis dependencies#57
fadrian06 wants to merge 1 commit into
leafsphp:v5.xfrom
fadrian06:clean-dev-requires

Conversation

@fadrian06

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce? (pls check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe below

pestphp/pest, friendsofphp/php-cs-fixer are already required by leafs/billing.

phpstan/phpstan is required by rector/rector and phpstan/extension-installer was not being used

Description

This pull request simplifies the development dependencies in the composer.json file by removing several tools related to static analysis and code style, as well as updating the plugin configuration.

Development dependency cleanup:

  • Removed phpstan/phpstan and phpstan/extension-installer from the require-dev section, which means PHPStan static analysis will no longer be available as a development dependency.
  • Removed friendsofphp/php-cs-fixer from the require-dev section, so PHP CS Fixer for code style checks is no longer included.
  • Removed pestphp/pest from the require-dev section, which means the Pest testing framework is no longer a development dependency.

Configuration update:

  • Updated the allow-plugins section to remove phpstan/extension-installer, reflecting the removal of PHPStan-related dependencies.

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Remove Pest, PHP-CS-Fixer, and PHPStan from composer.json to
streamline the development environment. These tools are no longer
required for the project's current workflow.
Copilot AI lite review requested due to automatic review settings September 11, 2026 01:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

馃煝 Approval recommended

The reviewed dependency cleanup is complete with no unresolved blocking issues.

Pull request overview

Removes redundant development dependencies and the unused PHPStan plugin configuration from composer.json.

Changes:

  • Removes Pest, PHP CS Fixer, PHPStan, and the PHPStan extension installer.
  • Removes the PHPStan plugin allowlist entry.
File summaries
File Description
composer.json Simplifies development dependencies and plugin configuration.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants