{"action":"closed","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3861","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3861/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3861/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3861/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3861","id":337935856,"node_id":"MDU6SXNzdWUzMzc5MzU4NTY=","number":3861,"title":"fully_qualified_strict_types should not remove the space between type and param","user":{"login":"dmvdbrugge","id":14186025,"node_id":"MDQ6VXNlcjE0MTg2MDI1","avatar_url":"https://avatars3.githubusercontent.com/u/14186025?v=4","gravatar_id":"","url":"https://api.github.com/users/dmvdbrugge","html_url":"https://github.com/dmvdbrugge","followers_url":"https://api.github.com/users/dmvdbrugge/followers","following_url":"https://api.github.com/users/dmvdbrugge/following{/other_user}","gists_url":"https://api.github.com/users/dmvdbrugge/gists{/gist_id}","starred_url":"https://api.github.com/users/dmvdbrugge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmvdbrugge/subscriptions","organizations_url":"https://api.github.com/users/dmvdbrugge/orgs","repos_url":"https://api.github.com/users/dmvdbrugge/repos","events_url":"https://api.github.com/users/dmvdbrugge/events{/privacy}","received_events_url":"https://api.github.com/users/dmvdbrugge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T14:55:25Z","updated_at":"2018-08-10T10:02:06Z","closed_at":"2018-08-10T10:02:06Z","author_association":"CONTRIBUTOR","body":"Which it does in case of `&` being present. If that's a case you don't want to account for (because objects are already passed by ref anyway, I don't know who wrote that code either), at least add a priority case, that `fully_qualified_strict_types` should run *before* `function_typehint_space` (which fixes it).\r\n\r\n#### The PHP version you are using (`$ php -v`):\r\n```\r\nPHP 7.1.18 (cli) (built: May 25 2018 19:18:59) ( NTS )\r\nCopyright (c) 1997-2018 The PHP Group\r\nZend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies\r\n    with Zend OPcache v7.1.18, Copyright (c) 1999-2018, by Zend Technologies\r\n```\r\n\r\n#### PHP CS Fixer version you are using (`$ php-cs-fixer -V`):\r\n`PHP CS Fixer 2.12.1 Long Journey by Fabien Potencier and Dariusz Ruminski`\r\n\r\n#### The command you use to run PHP CS Fixer:\r\n`vendor/bin/php-cs-fixer fix -v --using-cache=no`\r\n\r\n#### The configuration file you are using, if any:\r\nBasically the same as [dmvdbrugge/dynamic-components](https://github.com/dmvdbrugge/dynamic-components/blob/5dfba1d7ea9573b2f2d75468556c988019be541c/.php_cs.dist), except `explicit_string_variable`, `header_comment`, `no_alternative_syntax`, and `no_unset_on_property`\r\n\r\n#### If applicable, please provide minimum samples of PHP code (as plain text, not screenshots):\r\n * before running PHP CS Fixer (no changes):\r\n```php\r\nfunction withReference(\\Exception &$e)\r\n{\r\n}\r\n```\r\n\r\n* after first run:\r\n```php\r\nfunction withReference(Exception&$e)\r\n{\r\n}\r\n```\r\n\r\n* after second run:\r\n```php\r\nfunction withReference(Exception &$e)\r\n{\r\n}\r\n```\r\n\r\n* expected:\r\nImmediately arrive at the last step\r\n\r\nMeta: this is case 35 of #3844\r\n"}}
{"actor":{"display_login":"keradus"}}