From df524d651e3890dcc06872b037679da359b6f2da Mon Sep 17 00:00:00 2001 From: Niels Vanpachtenbeke <10651054+Nielsvanpach@users.noreply.github.com> Date: Sun, 20 Mar 2022 23:10:08 +0100 Subject: [PATCH] add missing dev package for codeception --- composer.json | 7 ++++--- src/Fakes/FakeMetaCommand.php | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index f651f88..c1730f9 100644 --- a/composer.json +++ b/composer.json @@ -28,10 +28,11 @@ }, "require-dev": { "codeception/codeception": "^5.0", - "codeception/module-phpbrowser": "*@dev", "codeception/module-asserts": "*@dev", - "squizlabs/php_codesniffer": "*", - "slevomat/coding-standard": "^6.2" + "codeception/module-cli": "^2.0", + "codeception/module-phpbrowser": "*@dev", + "slevomat/coding-standard": "^6.2", + "squizlabs/php_codesniffer": "*" }, "autoload": { "psr-4": { diff --git a/src/Fakes/FakeMetaCommand.php b/src/Fakes/FakeMetaCommand.php index 8f06a93..1856186 100644 --- a/src/Fakes/FakeMetaCommand.php +++ b/src/Fakes/FakeMetaCommand.php @@ -11,6 +11,7 @@ class FakeMetaCommand extends MetaCommand // by default, the ide-helper throws exceptions when it cannot find a class. However it does not unregister that // autoloader when it is done, and we certainly do not want to throw exceptions when we are simply checking if // a certain class exists. We are instead changing this to be a noop. - return function () {}; + return function () { + }; } }