Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade coding-standard dependency #123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peter279k
Copy link

Changed log

  • Running the php ~/composer.phar require imbo/imbo-coding-standard:^2.1 --dev command to upgrade the coding standard dependency.
  • It can avoid the following error message when running the PHP-CS-Fixer action with the coding standard ^2.0 version:
> php-cs-fixer fix --dry-run --diff
Loaded config Imbo from "/home/localadmin/imboclient-php/.php-cs-fixer.php".

In FixerFactory.php line 180:

  Rule contains conflicting fixers:
  - "blank_lines_before_namespace" with "no_blank_lines_before_namespace"


fix [--path-mode PATH-MODE] [--allow-risky ALLOW-RISKY] [--config CONFIG] [--dry-run] [--rules RULES] [--using-cache USING-CACHE] [--cache-file CACHE-FILE] [--diff] [--format FORMAT] [--stop-on-violation] [--show-progress SHOW-PROGRESS] [--] [<path>...]

Script php-cs-fixer fix --dry-run --diff handling the cs event returned with error code 1

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

Successfully merging this pull request may close these issues.

1 participant