We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
I'm facing a problem when trying to trying to use the wizard. I got this error :
PHP Parse error: syntax error, unexpected ']' in /home/CO_LINK/config/soap-client.php on line 24
It seems that the wizard is missing a ) here :
new Rules\AssembleRule(new Assembler\ConstructorAssembler(new Assembler\ConstructorAssemblerOptions())
could be
new Rules\AssembleRule(new Assembler\ConstructorAssembler(new Assembler\ConstructorAssemblerOptions()))
Here is the soap-config.php generated:
<?php use Phpro\SoapClient\CodeGenerator\Assembler; use Phpro\SoapClient\CodeGenerator\Rules; use Phpro\SoapClient\CodeGenerator\Config\Config; return Config::create() ->setWsdl('test.wsdl') ->setTypeDestination('src/Type') ->setTypeNamespace('App\Type') ->setClientDestination('src') ->setClientName('ProviderClient') ->setClientNamespace('App') ->setClassMapDestination('src') ->setClassMapName('ProviderClassmap') ->setClassMapNamespace('App') ->addRule(new Rules\AssembleRule(new Assembler\GetterAssembler(new Assembler\GetterAssemblerOptions()))) ->addRule(new Rules\AssembleRule(new Assembler\ImmutableSetterAssembler())) ->addRule( new Rules\TypenameMatchesRule( new Rules\MultiRule([ new Rules\AssembleRule(new Assembler\RequestAssembler()), new Rules\AssembleRule(new Assembler\ConstructorAssembler(new Assembler\ConstructorAssemblerOptions()), ]), '/(?<!Response)$/i' ) ) ->addRule( new Rules\TypenameMatchesRule( new Rules\MultiRule([ new Rules\AssembleRule(new Assembler\ResultAssembler()), ]), '/Response$/i' ) ) ;
Thanks in advance
The text was updated successfully, but these errors were encountered:
I already see the issue, will push a fix and tag soon.
Sorry, something went wrong.
34e45a6
Merge pull request #205 from janvernieuwe/issue-204
dbd76b8
Fixes #204
@KevinArtus a new version with this fix is released. You can update when packagist fetches it, or use dev-master for now.
Thanks for the report!
Thanks for your replies. I'll test it asap.
No branches or pull requests
Hi
I'm facing a problem when trying to trying to use the wizard.
I got this error :
It seems that the wizard is missing a ) here :
could be
Here is the soap-config.php generated:
Thanks in advance
The text was updated successfully, but these errors were encountered: