Closed szepeviktor closed 1 month ago
The changes involve updating the instructions in the README.md
file related to configuring PHPStan's error formatting. The previous method of using the PHPStan console command with the --error-format
option has been replaced with a new approach that allows users to set the errorFormat
parameter directly in a configuration file using the Neon format. This modification aims to streamline the configuration process.
File | Change Summary |
---|---|
README.md | Updated instructions for configuring PHPStan's error formatting; removed command line example and added configuration block for setting errorFormat to "friendly". |
sequenceDiagram
participant User
participant PHPStan
participant ConfigFile
User->>ConfigFile: Modify errorFormat parameter
ConfigFile->>PHPStan: Load configuration
PHPStan->>User: Display errors in friendly format
README.md (1)
`39-42`: **LGTM! The changes improve the documentation.** The new instructions for setting the `errorFormat` parameter are clear and accurate. They align well with the PR objectives by incorporating the use of the errorFormat parameter in the README. The typographical error has been corrected, and the changes provide a more standardized approach to configuring the error format.
Thank you for this excellent contribution, @szepeviktor!
You're right, it's indeed better to set this in the config rather than specifying it every time on the command line. I appreciate your attention to detail in correcting the typo as well.
I'm happy to merge this pull request. Thanks again for your valuable input!
Glad to contribute.
... and correct a typo: "Finaly"
Summary by CodeRabbit