Skip to content

Do not override error_reporting #6885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

fritzmg
Copy link

@fritzmg fritzmg commented May 6, 2025

Currently under PHP 8.4+ you get a deprecation message spam when running rector, depending on the other dev dependencies that might be installed alongside rector (similar to composer/composer#12285 and symfony/symfony#59975). This is because rector sets \error_reporting(\E_ALL); in its bin/rector.php.

Is there any particular reason why rector should override the error_reporting level defined by the PHP environment?

@samsonasik
Copy link
Member

That's expected, this is development tool, and any raised error should be shown so it is easy to catch regression and report error.

@samsonasik samsonasik closed this May 6, 2025
@fritzmg
Copy link
Author

fritzmg commented May 6, 2025

and any raised error should be shown so it is easy to catch regression and report error.

But shouldn't that be a decision of the PHP environment? As it is right now, executing rector will display hundreds of deprecation messages, all unrelated to yourself or rector.

@samsonasik
Copy link
Member

The error can be in any part, and should be fixed instead of ignored, report to the target repository if came from dependencies.

@fritzmg
Copy link
Author

fritzmg commented May 6, 2025

report to the target repository if came from dependencies.

That's already done - but alas no changes have been implemented yet. In any case, reporting the issue caused by transient depenencies is never an immediate fix and other than patching the rector.php manually you are now stuck with the deprecation message spam.

Again, the decision on whether or not to show various types of errors, warnings or deprecations should be left to the PHP environment. There is not point in rector.php showing deprecations of some dependency it has nothing to do with.

@samsonasik
Copy link
Member

That actually overridden in ApplicationFileProcessor:

private function configureCustomErrorHandler(): void
{
$errorHandlerCallback = function (int $code, string $message, string $file, int $line): bool {
if ((error_reporting() & $code) === 0) {
// silence @ operator
return true;
}
// not relevant for us
if (in_array($code, [E_DEPRECATED, E_WARNING], true)) {
return true;
}
$this->systemErrors[] = new SystemError($message, $file, $line);
return true;
};
set_error_handler($errorHandlerCallback);

That's due to parallel, that possibly only hit once, this need to work in both non-parallel and parallel if needed so back and forth check not needed, this also require e2e test to prove it, that you can write under

https://github.com/rectorphp/rector-src/tree/main/e2e

@fritzmg
Copy link
Author

fritzmg commented May 6, 2025

The custom error handler only applies later (where you would not show E_DEPRECATED anyway) - the deprecation message spam happens earlier during loading of autoload.php due error_reporting(E_ALL).

@samsonasik
Copy link
Member

e2e is needed to avoid shot in the dark :)

@TomasVotruba
Copy link
Member

TomasVotruba commented May 6, 2025

I think we could do something in the middle. Use error reporting, but do not show the deprecations. Those are mostly annoying and better handled by PHPStan deprecation rules package.

PHPStan does it the same way:
https://github.com/phpstan/phpstan-src/blob/2.1.x/bin/phpstan#L14

@fritzmg
Copy link
Author

fritzmg commented May 6, 2025

But still - why override the error reporting level set by the PHP environment at all? If I want to show deprecations I can do so by changing the PHP settings, either globally or just when executing rector.

@TomasVotruba
Copy link
Member

@fritzmg Because by definition Rector is used to help with the most legacy codebases there are. It should be able to fix all of those reports, if there is one way to fix them. Displaying them again would only spam the output and confuse the developer there is something wrong with the codebase.

Think of it as external tool that has to run standalone and separately from your main application behavior.

@fritzmg
Copy link
Author

fritzmg commented May 6, 2025

Because by definition Rector is used to help with the most legacy codebases there are.

You do not use rector to help with the codebase of a foreign dependency you have no control over, you use rector for your own codebase.

Displaying them again would only spam the output and confuse the developer there is something wrong with the codebase

Exactly, so why use error_reporting(E_ALL)?

@fritzmg
Copy link
Author

fritzmg commented May 6, 2025

May be it was not clear what I actually mean. You can reproduce the issue with the following composer.json for example:

{
    "type": "project",
    "require": {
        "spomky-labs/otphp": "^10.0"
    },
    "require-dev": {
        "rector/rector": "^2.0"
    }
}

Then run vendor/bin/rector with PHP 8.4+. The output will be the following:

rector output
Deprecated: Safe\gmdate(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\datetime.php on line 24
Deprecated: Safe\mktime(): Implicitly marking parameter $minute as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\datetime.php on line 78
Deprecated: Safe\mktime(): Implicitly marking parameter $second as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\datetime.php on line 78
Deprecated: Safe\mktime(): Implicitly marking parameter $month as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\datetime.php on line 78
Deprecated: Safe\mktime(): Implicitly marking parameter $day as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\datetime.php on line 78
Deprecated: Safe\mktime(): Implicitly marking parameter $year as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\datetime.php on line 78
Deprecated: Safe\password_hash(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\password.php on line 115
Deprecated: Safe\mssql_connect(): Implicitly marking parameter $servername as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\mssql.php on line 100
Deprecated: Safe\mssql_connect(): Implicitly marking parameter $username as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\mssql.php on line 100
Deprecated: Safe\mssql_connect(): Implicitly marking parameter $password as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\mssql.php on line 100
Deprecated: Safe\mssql_pconnect(): Implicitly marking parameter $servername as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\mssql.php on line 333
Deprecated: Safe\mssql_pconnect(): Implicitly marking parameter $username as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\mssql.php on line 333
Deprecated: Safe\mssql_pconnect(): Implicitly marking parameter $password as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\mssql.php on line 333
Deprecated: Safe\substr(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\deprecated\strings.php on line 364
Deprecated: Safe\preg_replace(): Implicitly marking parameter $count as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\lib\special_cases.php on line 160
Deprecated: Safe\fgetcsv(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\lib\special_cases.php on line 434
Deprecated: Safe\bzwrite(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\bzip2.php on line 85
Deprecated: Safe\unixtojd(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\calendar.php on line 18
Deprecated: Safe\com_print_typeinfo(): Implicitly marking parameter $dispatch_interface as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\com.php on line 141
Deprecated: Safe\cubrid_bind(): Implicitly marking parameter $bind_value_type as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 127
Deprecated: Safe\cubrid_connect_with_url(): Implicitly marking parameter $userid as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 306
Deprecated: Safe\cubrid_connect_with_url(): Implicitly marking parameter $passwd as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 306
Deprecated: Safe\cubrid_connect(): Implicitly marking parameter $userid as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 350
Deprecated: Safe\cubrid_connect(): Implicitly marking parameter $passwd as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 350
Deprecated: Safe\cubrid_lob2_bind(): Implicitly marking parameter $bind_value_type as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 825
Deprecated: Safe\cubrid_pconnect_with_url(): Implicitly marking parameter $userid as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 1303
Deprecated: Safe\cubrid_pconnect_with_url(): Implicitly marking parameter $passwd as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 1303
Deprecated: Safe\cubrid_pconnect(): Implicitly marking parameter $userid as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 1348
Deprecated: Safe\cubrid_pconnect(): Implicitly marking parameter $passwd as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 1348
Deprecated: Safe\cubrid_put(): Implicitly marking parameter $attr as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 1412
Deprecated: Safe\cubrid_schema(): Implicitly marking parameter $class_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 1840
Deprecated: Safe\cubrid_schema(): Implicitly marking parameter $attr_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\cubrid.php on line 1840
Deprecated: Safe\curl_getinfo(): Implicitly marking parameter $option as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\curl.php on line 535
Deprecated: Safe\curl_init(): Implicitly marking parameter $url as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\curl.php on line 565
Deprecated: Safe\date_sunrise(): Implicitly marking parameter $latitude as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 322
Deprecated: Safe\date_sunrise(): Implicitly marking parameter $longitude as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 322
Deprecated: Safe\date_sunrise(): Implicitly marking parameter $zenith as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 322
Deprecated: Safe\date_sunrise(): Implicitly marking parameter $utcOffset as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 322
Deprecated: Safe\date_sunset(): Implicitly marking parameter $latitude as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 425
Deprecated: Safe\date_sunset(): Implicitly marking parameter $longitude as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 425
Deprecated: Safe\date_sunset(): Implicitly marking parameter $zenith as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 425
Deprecated: Safe\date_sunset(): Implicitly marking parameter $utcOffset as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 425
Deprecated: Safe\date(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 463
Deprecated: Safe\gmmktime(): Implicitly marking parameter $minute as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 510
Deprecated: Safe\gmmktime(): Implicitly marking parameter $second as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 510
Deprecated: Safe\gmmktime(): Implicitly marking parameter $month as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 510
Deprecated: Safe\gmmktime(): Implicitly marking parameter $day as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 510
Deprecated: Safe\gmmktime(): Implicitly marking parameter $year as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 510
Deprecated: Safe\gmstrftime(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 554
Deprecated: Safe\idate(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 685
Deprecated: Safe\strftime(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 1003
Deprecated: Safe\strtotime(): Implicitly marking parameter $baseTimestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\datetime.php on line 1115
Deprecated: Safe\eio_busy(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 22
Deprecated: Safe\eio_chmod(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 74
Deprecated: Safe\eio_chown(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 126
Deprecated: Safe\eio_close(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 175
Deprecated: Safe\eio_dup2(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 283
Deprecated: Safe\eio_fallocate(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 355
Deprecated: Safe\eio_fchmod(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 405
Deprecated: Safe\eio_fchown(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 456
Deprecated: Safe\eio_fdatasync(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 504
Deprecated: Safe\eio_fsync(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 658
Deprecated: Safe\eio_ftruncate(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 709
Deprecated: Safe\eio_futime(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 760
Deprecated: Safe\eio_grp(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 804
Deprecated: Safe\eio_mkdir(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 903
Deprecated: Safe\eio_mknod(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 968
Deprecated: Safe\eio_nop(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1016
Deprecated: Safe\eio_readahead(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1067
Deprecated: Safe\eio_readdir(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1371
Deprecated: Safe\eio_readlink(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1419
Deprecated: Safe\eio_rename(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1468
Deprecated: Safe\eio_rmdir(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1516
Deprecated: Safe\eio_seek(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1572
Deprecated: Safe\eio_sendfile(): Implicitly marking parameter $pri as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1624
Deprecated: Safe\eio_sendfile(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1624
Deprecated: Safe\eio_sendfile(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1624
Deprecated: Safe\eio_symlink(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1787
Deprecated: Safe\eio_sync_file_range(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1846
Deprecated: Safe\eio_sync(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1867
Deprecated: Safe\eio_syncfs(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1915
Deprecated: Safe\eio_truncate(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 1965
Deprecated: Safe\eio_unlink(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 2013
Deprecated: Safe\eio_utime(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 2063
Deprecated: Safe\eio_write(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\eio.php on line 2116
Deprecated: Safe\error_log(): Implicitly marking parameter $destination as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\errorfunc.php on line 69
Deprecated: Safe\error_log(): Implicitly marking parameter $additional_headers as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\errorfunc.php on line 69
Deprecated: Safe\finfo_open(): Implicitly marking parameter $magic_database as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\fileinfo.php on line 46
Deprecated: Safe\file_get_contents(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\filesystem.php on line 263
Deprecated: Safe\fwrite(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\filesystem.php on line 988
Deprecated: Safe\touch(): Implicitly marking parameter $mtime as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\filesystem.php on line 1564
Deprecated: Safe\touch(): Implicitly marking parameter $atime as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\filesystem.php on line 1564
Deprecated: Safe\gnupg_addsignkey(): Implicitly marking parameter $passphrase as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\gnupg.php on line 56
Deprecated: Safe\ibase_add_user(): Implicitly marking parameter $first_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 37
Deprecated: Safe\ibase_add_user(): Implicitly marking parameter $middle_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 37
Deprecated: Safe\ibase_add_user(): Implicitly marking parameter $last_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 37
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $database as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $username as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $password as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $charset as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $buffers as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $dialect as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $role as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_connect(): Implicitly marking parameter $sync as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 269
Deprecated: Safe\ibase_modify_user(): Implicitly marking parameter $first_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 426
Deprecated: Safe\ibase_modify_user(): Implicitly marking parameter $middle_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 426
Deprecated: Safe\ibase_modify_user(): Implicitly marking parameter $last_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 426
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $database as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $username as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $password as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $charset as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $buffers as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $dialect as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $role as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\ibase_pconnect(): Implicitly marking parameter $sync as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibase.php on line 503
Deprecated: Safe\db2_autocommit(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibmDb2.php on line 49
Deprecated: Safe\db2_bind_param(): Implicitly marking parameter $parameter_type as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibmDb2.php on line 99
Deprecated: Safe\db2_execute(): Implicitly marking parameter $parameters as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ibmDb2.php on line 307
Deprecated: Safe\image2wbmp(): Implicitly marking parameter $foreground as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\image.php on line 115
Deprecated: Safe\imageaffine(): Implicitly marking parameter $clip as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\image.php on line 142
Deprecated: Safe\imageresolution(): Implicitly marking parameter $resolution_x as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\image.php on line 2139
Deprecated: Safe\imageresolution(): Implicitly marking parameter $resolution_y as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\image.php on line 2139
Deprecated: Safe\imagewbmp(): Implicitly marking parameter $foreground_color as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\image.php on line 2817
Deprecated: Safe\imagexbm(): Implicitly marking parameter $foreground_color as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\image.php on line 2880
Deprecated: Safe\imap_append(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 44
Deprecated: Safe\imap_append(): Implicitly marking parameter $internal_date as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 44
Deprecated: Safe\imap_mail(): Implicitly marking parameter $additional_headers as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 1455
Deprecated: Safe\imap_mail(): Implicitly marking parameter $cc as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 1455
Deprecated: Safe\imap_mail(): Implicitly marking parameter $bcc as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 1455
Deprecated: Safe\imap_mail(): Implicitly marking parameter $return_path as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 1455
Deprecated: Safe\imap_sort(): Implicitly marking parameter $search_criteria as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 2066
Deprecated: Safe\imap_sort(): Implicitly marking parameter $charset as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\imap.php on line 2066
Deprecated: Safe\ldap_add(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 50
Deprecated: Safe\ldap_delete(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 162
Deprecated: Safe\ldap_exop_passwd(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 211
Deprecated: Safe\ldap_exop(): Implicitly marking parameter $request_data as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 259
Deprecated: Safe\ldap_mod_add(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 741
Deprecated: Safe\ldap_mod_del(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 767
Deprecated: Safe\ldap_mod_replace(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 792
Deprecated: Safe\ldap_modify_batch(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 891
Deprecated: Safe\ldap_rename(): Implicitly marking parameter $controls as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 990
Deprecated: Safe\ldap_sasl_bind(): Implicitly marking parameter $dn as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 1018
Deprecated: Safe\ldap_sasl_bind(): Implicitly marking parameter $password as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 1018
Deprecated: Safe\ldap_sasl_bind(): Implicitly marking parameter $mech as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 1018
Deprecated: Safe\ldap_sasl_bind(): Implicitly marking parameter $realm as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 1018
Deprecated: Safe\ldap_sasl_bind(): Implicitly marking parameter $authc_id as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 1018
Deprecated: Safe\ldap_sasl_bind(): Implicitly marking parameter $authz_id as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 1018
Deprecated: Safe\ldap_sasl_bind(): Implicitly marking parameter $props as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ldap.php on line 1018
Deprecated: Safe\mailparse_msg_extract_part_file(): Implicitly marking parameter $callbackfunc as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mailparse.php on line 29
Deprecated: Safe\mb_chr(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 22
Deprecated: Safe\mb_ereg_replace_callback(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 173
Deprecated: Safe\mb_ereg_replace(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 203
Deprecated: Safe\mb_ereg_search_init(): Implicitly marking parameter $pattern as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 250
Deprecated: Safe\mb_ereg_search_init(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 250
Deprecated: Safe\mb_ereg_search_regs(): Implicitly marking parameter $pattern as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 275
Deprecated: Safe\mb_ereg_search_regs(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 275
Deprecated: Safe\mb_eregi_replace(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 322
Deprecated: Safe\mb_http_output(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 393
Deprecated: Safe\mb_internal_encoding(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 424
Deprecated: Safe\mb_ord(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 452
Deprecated: Safe\mb_regex_encoding(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 500
Deprecated: Safe\mb_send_mail(): Implicitly marking parameter $additional_params as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mbstring.php on line 572
Deprecated: Safe\sapi_windows_vt100_support(): Implicitly marking parameter $enable as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\misc.php on line 407
Deprecated: Safe\mysql_connect(): Implicitly marking parameter $server as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mysql.php on line 76
Deprecated: Safe\mysql_connect(): Implicitly marking parameter $username as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mysql.php on line 76
Deprecated: Safe\mysql_connect(): Implicitly marking parameter $password as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\mysql.php on line 76
Deprecated: Safe\fsockopen(): Implicitly marking parameter $timeout as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\network.php on line 309
Deprecated: Safe\pfsockopen(): Implicitly marking parameter $timeout as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\network.php on line 736
Deprecated: Safe\oci_connect(): Implicitly marking parameter $connection_string as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\oci8.php on line 469
Deprecated: Safe\oci_new_collection(): Implicitly marking parameter $schema as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\oci8.php on line 789
Deprecated: Safe\oci_new_connect(): Implicitly marking parameter $connection_string as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\oci8.php on line 892
Deprecated: Safe\oci_pconnect(): Implicitly marking parameter $connection_string as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\oci8.php on line 1095
Deprecated: Safe\openssl_csr_new(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 396
Deprecated: Safe\openssl_csr_new(): Implicitly marking parameter $extra_attributes as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 396
Deprecated: Safe\openssl_csr_sign(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 436
Deprecated: Safe\openssl_decrypt(): Implicitly marking parameter $tag as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 470
Deprecated: Safe\openssl_open(): Implicitly marking parameter $iv as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 620
Deprecated: Safe\openssl_pkcs7_sign(): Implicitly marking parameter $untrusted_certificates_filename as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 870
Deprecated: Safe\openssl_pkey_export_to_file(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 924
Deprecated: Safe\openssl_pkey_export(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 955
Deprecated: Safe\openssl_pkey_new(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\openssl.php on line 1077
Deprecated: Safe\pcntl_getpriority(): Implicitly marking parameter $process_id as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pcntl.php on line 22
Deprecated: Safe\pcntl_setpriority(): Implicitly marking parameter $process_id as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pcntl.php on line 56
Deprecated: Safe\pg_execute(): Implicitly marking parameter $stmtname as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 300
Deprecated: Safe\pg_execute(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 300
Deprecated: Safe\pg_lo_export(): Implicitly marking parameter $oid as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 545
Deprecated: Safe\pg_lo_export(): Implicitly marking parameter $pathname as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 545
Deprecated: Safe\pg_lo_import(): Implicitly marking parameter $pathname as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 587
Deprecated: Safe\pg_lo_write(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 751
Deprecated: Safe\pg_parameter_status(): Implicitly marking parameter $param_name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 827
Deprecated: Safe\pg_prepare(): Implicitly marking parameter $stmtname as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 961
Deprecated: Safe\pg_prepare(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 961
Deprecated: Safe\pg_put_line(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 1003
Deprecated: Safe\pg_query_params(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 1070
Deprecated: Safe\pg_query_params(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 1070
Deprecated: Safe\pg_query(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\pgsql.php on line 1129
Deprecated: Safe\ps_get_parameter(): Implicitly marking parameter $modifier as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ps.php on line 781
Deprecated: Safe\ps_open_file(): Implicitly marking parameter $filename as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ps.php on line 928
Deprecated: Safe\readline_read_history(): Implicitly marking parameter $filename as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\readline.php on line 93
Deprecated: Safe\readline_write_history(): Implicitly marking parameter $filename as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\readline.php on line 114
Deprecated: Safe\rrd_restore(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\rrd.php on line 118
Deprecated: Safe\shm_attach(): Implicitly marking parameter $size as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sem.php on line 445
Deprecated: Safe\session_id(): Implicitly marking parameter $id as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\session.php on line 152
Deprecated: Safe\session_module_name(): Implicitly marking parameter $module as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\session.php on line 181
Deprecated: Safe\session_name(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\session.php on line 238
Deprecated: Safe\session_save_path(): Implicitly marking parameter $path as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\session.php on line 319
Deprecated: Safe\socket_connect(): Implicitly marking parameter $port as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sockets.php on line 170
Deprecated: Safe\socket_sendto(): Implicitly marking parameter $port as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sockets.php on line 655
Deprecated: Safe\spl_autoload_register(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\spl.php on line 99
Deprecated: Safe\sqlsrv_get_field(): Implicitly marking parameter $getAsType as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sqlsrv.php on line 254
Deprecated: Safe\sqlsrv_prepare(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sqlsrv.php on line 360
Deprecated: Safe\sqlsrv_prepare(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sqlsrv.php on line 360
Deprecated: Safe\sqlsrv_query(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sqlsrv.php on line 397
Deprecated: Safe\sqlsrv_query(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\sqlsrv.php on line 397
Deprecated: Safe\ssh2_auth_hostbased_file(): Implicitly marking parameter $passphrase as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 42
Deprecated: Safe\ssh2_auth_hostbased_file(): Implicitly marking parameter $local_username as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 42
Deprecated: Safe\ssh2_auth_pubkey_file(): Implicitly marking parameter $passphrase as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 94
Deprecated: Safe\ssh2_connect(): Implicitly marking parameter $methods as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 307
Deprecated: Safe\ssh2_connect(): Implicitly marking parameter $callbacks as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 307
Deprecated: Safe\ssh2_exec(): Implicitly marking parameter $pty as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 360
Deprecated: Safe\ssh2_exec(): Implicitly marking parameter $env as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 360
Deprecated: Safe\ssh2_forward_listen(): Implicitly marking parameter $host as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 413
Deprecated: Safe\ssh2_publickey_add(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 445
Deprecated: Safe\ssh2_shell(): Implicitly marking parameter $env as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\ssh2.php on line 731
Deprecated: Safe\stream_copy_to_stream(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\stream.php on line 42
Deprecated: Safe\stream_filter_append(): Implicitly marking parameter $read_write as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\stream.php on line 90
Deprecated: Safe\stream_filter_prepend(): Implicitly marking parameter $read_write as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\stream.php on line 139
Deprecated: Safe\stream_get_contents(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\stream.php on line 221
Deprecated: Safe\stream_socket_accept(): Implicitly marking parameter $timeout as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\stream.php on line 379
Deprecated: Safe\stream_socket_client(): Implicitly marking parameter $timeout as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\stream.php on line 446
Deprecated: Safe\swoole_async_write(): Implicitly marking parameter $offset as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\swoole.php on line 57
Deprecated: Safe\swoole_async_write(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\swoole.php on line 57
Deprecated: Safe\swoole_async_writefile(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\swoole.php on line 83
Deprecated: Safe\odbc_columns(): Implicitly marking parameter $catalog as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 240
Deprecated: Safe\odbc_columns(): Implicitly marking parameter $schema as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 240
Deprecated: Safe\odbc_columns(): Implicitly marking parameter $table as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 240
Deprecated: Safe\odbc_columns(): Implicitly marking parameter $column as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 240
Deprecated: Safe\odbc_procedurecolumns(): Implicitly marking parameter $catalog as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 801
Deprecated: Safe\odbc_procedurecolumns(): Implicitly marking parameter $schema as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 801
Deprecated: Safe\odbc_procedurecolumns(): Implicitly marking parameter $procedure as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 801
Deprecated: Safe\odbc_procedurecolumns(): Implicitly marking parameter $column as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 801
Deprecated: Safe\odbc_procedures(): Implicitly marking parameter $catalog as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 854
Deprecated: Safe\odbc_procedures(): Implicitly marking parameter $schema as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 854
Deprecated: Safe\odbc_procedures(): Implicitly marking parameter $procedure as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 854
Deprecated: Safe\odbc_tables(): Implicitly marking parameter $catalog as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 1184
Deprecated: Safe\odbc_tables(): Implicitly marking parameter $schema as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 1184
Deprecated: Safe\odbc_tables(): Implicitly marking parameter $table as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 1184
Deprecated: Safe\odbc_tables(): Implicitly marking parameter $types as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\uodbc.php on line 1184
Deprecated: Safe\xdiff_string_patch(): Implicitly marking parameter $flags as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\xdiff.php on line 222
Deprecated: Safe\yaml_parse_file(): Implicitly marking parameter $callbacks as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\yaml.php on line 26
Deprecated: Safe\yaml_parse_url(): Implicitly marking parameter $callbacks as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\yaml.php on line 63
Deprecated: Safe\yaml_parse(): Implicitly marking parameter $callbacks as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\yaml.php on line 97
Deprecated: Safe\yaz_wait(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\yaz.php on line 430
Deprecated: Safe\gzgets(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\zlib.php on line 301
Deprecated: Safe\gzgetss(): Implicitly marking parameter $allowable_tags as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\zlib.php on line 330
Deprecated: Safe\gzwrite(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in vendor\thecodingmachine\safe\generated\zlib.php on line 511

No "rector.php" config found. Should we generate it for you?

Every time you run rector you see the PHP 8.4+ related deprecations from a dependency you have no control over. In this case I am using "spomky-labs/otphp": "^10.0" to illustrate the problem, but in my projects this is required by yet another dependency and not directly by me.

So everytime I am running rector I am reminded of a deprecation that is caused by a dependency of a dependency of a dependency of my project - not only is this not helpful, but the deeper the deprecation originates in the dependency tree, the less likely it becomes to be able to do something about it.

In this particular case the issue could be fixed by updating to "spomky-labs/otphp": "^11.0" (as this would drop the dependency on thecodingmachine/safe entirely) - however, I have no direct control over that in this case.

What I can do of course is not put rector/rector directly as a dev dependency in my project but rather in a separate tools/rector directory within my project for example, as some projects already do. However, doing this should not be required and is also not the advertised way of installing rector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants