Last active
July 15, 2026 22:06
-
-
Save jrfnl/49ee0a1b863d56e85b8b4b18bbcc79c9 to your computer and use it in GitHub Desktop.
Impact analysis proposed PHP 8.6 deprecation of "is" as identifier on Packagist top 4000
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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.Keywords.ForbiddenClassAlias.isFound"/> | |
| <rule ref="PHPCompatibility.Keywords.ForbiddenNames.isFound"/> | |
| <rule ref="Internal.NoCodeFound"> | |
| <severity>0</severity> | |
| </rule> | |
| <rule ref="Internal.LineEndings.Mixed"> | |
| <severity>0</severity> | |
| </rule> | |
| </ruleset> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP CODE SNIFFER VIOLATION SOURCE SUMMARY | |
| ---------------------------------------------------------------------- | |
| SOURCE COUNT | |
| ---------------------------------------------------------------------- | |
| PHPCompatibility.Keywords.ForbiddenNames.isFound 9 | |
| ---------------------------------------------------------------------- | |
| A TOTAL OF 9 SNIFF VIOLATIONS WERE FOUND IN 1 SOURCE | |
| ---------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP CODE SNIFFER REPORT SUMMARY | |
| ------------------------------------------------------------------------------------------------- | |
| FILE ERRORS WARNINGS | |
| ------------------------------------------------------------------------------------------------- | |
| dragon-code\support--6.17.1\src\Facades\Types\Is.php 1 0 | |
| dragon-code\support--6.17.1\src\Types\Is.php 1 0 | |
| everon\criteria-builder--3.0.0\src\Operator\Is.php 1 0 | |
| guzzlehttp\promises--2.5.0\src\Is.php 1 0 | |
| hamcrest\hamcrest-php--v3.0.0\hamcrest\Hamcrest.php 1 0 | |
| hamcrest\hamcrest-php--v3.0.0\hamcrest\Hamcrest\Core\Is.php 1 0 | |
| laravel-lang\models--1.7.0\src\Generators\Generator.php 1 0 | |
| statamic\cms--v6.24.0\src\Tags\Is.php 1 0 | |
| yoast\wordpress-seo--28.0-RC1\vendor_prefixed\guzzlehttp\promises\src\Is.php 1 0 | |
| ------------------------------------------------------------------------------------------------- | |
| A TOTAL OF 9 ERRORS AND 0 WARNINGS WERE FOUND IN 9 FILES | |
| ------------------------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FILE: dragon-code\support--6.17.1\src\Facades\Types\Is.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 34: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 32: * @method static bool string($value) | |
| 33: */ | |
| >> 34: class Is extends Facade | |
| 35: { | |
| 36: protected static function getFacadeAccessor(): string | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: dragon-code\support--6.17.1\src\Types\Is.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 29: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 27: use Throwable; | |
| 28: | |
| >> 29: class Is | |
| 30: { | |
| 31: /** | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: everon\criteria-builder--3.0.0\src\Operator\Is.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 15: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 13: use Everon\Component\CriteriaBuilder\OperatorInterface; | |
| 14: | |
| >> 15: class Is extends AbstractOperator implements OperatorInterface | |
| 16: { | |
| 17: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: guzzlehttp\promises--2.5.0\src\Is.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 7: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 5: namespace GuzzleHttp\Promise; | |
| 6: | |
| >> 7: final class Is | |
| 8: { | |
| 9: /** | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: hamcrest\hamcrest-php--v3.0.0\hamcrest\Hamcrest\Core\Is.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 19: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 17: * vs. assertThat($cheese, is(equalTo($smelly))) | |
| 18: */ | |
| >> 19: class Is extends BaseMatcher | |
| 20: { | |
| 21: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: hamcrest\hamcrest-php--v3.0.0\hamcrest\Hamcrest.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 345: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 343: * @param mixed $value | |
| 344: */ | |
| >> 345: function is($value): \Hamcrest\Core\Is | |
| 346: { | |
| 347: return \Hamcrest\Core\Is::is($value); | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: laravel-lang\models--1.7.0\src\Generators\Generator.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 10: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 8: use DragonCode\Support\Facades\Helpers\Str; | |
| 9: use Illuminate\Database\Eloquent\Model; | |
| >> 10: use Illuminate\Support\Str as IS; | |
| 11: use LaravelLang\Config\Facades\Config; | |
| 12: use LaravelLang\Models\Eloquent\Translation; | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: statamic\cms--v6.24.0\src\Tags\Is.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 8: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 6: use Statamic\Support\Arr; | |
| 7: | |
| >> 8: class Is extends Tags | |
| 9: { | |
| 10: /** | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: yoast\wordpress-seo--28.0-RC1\vendor_prefixed\guzzlehttp\promises\src\Is.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 1 ERROR AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 6: ERROR Function name, class name, namespace name or constant name can not be reserved keyword 'is' (since version 8.6) | |
| (PHPCompatibility.Keywords.ForbiddenNames.isFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 4: namespace YoastSEO_Vendor\GuzzleHttp\Promise; | |
| 5: | |
| >> 6: final class Is | |
| 7: { | |
| 8: /** | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment