Ivan

Results 30 issues of Ivan

## Code example ```php function hello(string $name): void { echo "Hello $name!"; } $example = function () { hello(name: 'Foo'); }; $wrapper = new SerializableClosure($example); $result = unserialize(serialize($wrapper)); ``` ##...

I think it would be handy especially for tabular data.

enhancement
client

Under some conditions dumper converts referenced objects to arrays. ```php $foo = new \stdClass(); $var['foo'] = &$foo; \PhpConsole\Handler::getInstance()->debug($var); echo gettype($foo); // array ``` See: https://www.drupal.org/node/2752825

Currently when the RPC client cannot connect to server the following PHP error happens: > Deprecated function: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated in...

Drupal now supports plugin discovery through PHP attributes. https://www.drupal.org/project/drupal/issues/3252386 DCG generators needs to be updated to support this feature. The main question is how implement this without breaking compatibility with...

It would be useful to have this package as Composer dependency. Currently when the cachetool installed this way it fails with the following message. ``` In VersionParser.php line 186: [UnexpectedValueException]...

Version: slevomat/coding-standard 8.14.1 Code to reproduce: ```php try { // Do something. } catch (\Exception $exception) { // Intentionally empty. } finally { \var_dump(isset($exception)); } ``` Error: Non-capturing catch is...

Currently PHP errors that happen in Drush commands are not logged to Drupal. When Drush commands are running in background through Cron or Supervisor there is no way to notice...

**To Reproduce** ``` drush st --root ``` **Expected behavior** A message saying that the "--root" option requires a value. **Actual behavior** ``` PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2...

**Describe the bug** ![Screenshot_20230607_014337](https://github.com/drush-ops/drush/assets/673139/4dfdae15-f11a-4e56-b7e0-37825309b027) Note the description for the `fields` option is partly green. ### System Configuration | Q | A | --------------- | --- | Drush version? | 12.x...