Skip to content

Instantly share code, notes, and snippets.

@petenelson
Created September 22, 2023 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petenelson/e13bae242d21d1b2c0a7687cd15c5792 to your computer and use it in GitHub Desktop.
Save petenelson/e13bae242d21d1b2c0a7687cd15c5792 to your computer and use it in GitHub Desktop.
PHP Compatibility
{
"require-dev": {
"phpcompatibility/php-compatibility": "dev-develop"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
<?xml version="1.0"?>
<ruleset name="PHPCompatibility">
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound"/>
</rule>
<config name="testVersion" value="8.3"/>
<arg name="colors" />
<arg value="ps" />
<arg name="basepath" value="."/>
<arg name="parallel" value="50"/>
<arg name="extensions" value="php"/>
<arg name="severity" value="1"/>
<file>.</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment