Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jrfnl/17c0dc1d402ea97eec887a96b117f9be to your computer and use it in GitHub Desktop.

Select an option

Save jrfnl/17c0dc1d402ea97eec887a96b117f9be to your computer and use it in GitHub Desktop.
Impact analysis proposed PHP 8.6 deprecation of is_a() with string on Packagist top 4000
<?xml version="1.0"?>
<ruleset name="Impact check for https://wiki.php.net/rfc/deprecations_php_8_6">
<!-- This ruleset should only be used in conjunction with PHPCompatibility at commit
https://github.com/PHPCompatibility/PHPCompatibility/commit/cc67a3824dda9612896f5892c2d6d9408fa20d77 -->
<file>sources</file>
<arg name="extensions" value="php"/>
<arg value="ps"/>
<arg name="basepath" value="./sources/"/>
<arg name="parallel" value="8"/>
<arg name="no-colors"/>
<arg name="ignore-annotations"/>
<arg name="report" value="code,summary,source"/>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<!-- We are specifically and only checking for the PHP 8.6 deprecation(s). -->
<config name="testVersion" value="8.6"/>
<rule ref="PHPCompatibility.ParameterValues.RemovedIsAAllowStringFalse"/>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<rule ref="Internal.LineEndings.Mixed">
<severity>0</severity>
</rule>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment