PHP 8.1 replaces some kind of resources by built-in class instances. As is_resource() is always used to test for failures, replace calls by simple Boolean checks.
Languages
PHP
67%
Blade
30.3%
Shell
2.1%
Dockerfile
0.6%