joomla-extensions / weblinks

This repo is meant to hold the decoupled com_weblinks component and related code.
GNU General Public License v2.0
45 stars 88 forks source link

Pull Request for Issue #487 Add phpcbf tool to automatically fix errors found by phpcs tool in run:checker Command #489

Closed alexandreelise closed 2 years ago

alexandreelise commented 2 years ago

Pull request related to the suggestion.

Pull Request for Issue #487 .

Summary of Changes

Change the way the tools are displayed in command line:

Testing Instructions

Go to the root of the project. type vendor/bin/robo run:checker phpcbf

Expected result

If there are coding standard errors most of them if not all should be automatically fixed

Actual result

the console shows a message: The tool you required is not known. Valid tools are phpmd, phpcs, phpcpd Since phpcbf is not added yet in RoboFile.php

Documentation Changes Required

Probably. Just adding the fact that phpcbf is available. Usually it's installed at the same time and the same folder than phpcs. But that's to be verified.

Thanks for your feedback.