Maksym Denysenko
Maksym Denysenko
`Mockery::type( ... )` works only for the first level of arguments. Why this code invalid? ``` $mock = \Mockery::mock( 'MyClass' ); $mock ->shouldReceive( 'foo' ) ->once() ->with( [ 'arg1' =>...
When I run this code: ```php expect( 'func_1' ) ->once() ->with( 'krya' ) ->andReturn( 'krya' ); $this->assertSame( 'krya', func_1( 'ne-krya' ) ); ``` Result: `Failed asserting that null is identical...
``` { "packages": [ "symfony/dependency-injection", "symfony/config". ], "extra": { "mozart": { "dep_namespace": "PluginName\\Dependencies\\", "dep_directory": "/src/Dependencies/", "classmap_prefix": "plugin_name_", "classmap_directory": "/classes/dependencies/", "packages": [ "symfony/dependency-injection", "symfony/config" ], "delete_vendor_directories": false } } } ```...
**Is your feature request related to a problem? Please describe.** Automatically create documentation for WordPress hooks in PHP code. To generate it you can use https://github.com/phpDocumentor/phpDocumentor. To generate it inside...
Invalid cache files creating when I run tests. In directory file looks like: ``` class Settings { if (($__am_res = __amock_before($this, __CLASS__, __FUNCTION__, array(), false)) !== __AM_CONTINUE__) return $__am_res; ......
I use: `wp search-replace "--old-word" "new word"` Error: `unknown --old-word parameter`