Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

ensure there is only 1 leading NS_SEPARATOR #80

Closed
wants to merge 1 commit into from
Closed

ensure there is only 1 leading NS_SEPARATOR #80

wants to merge 1 commit into from

Conversation

remicollet
Copy link
Contributor

Bug intriduced in 4a6f4ab

@Ocramius can you please look at this patch.

It seems ProxyManager is broken because of this bug, tons of classes are generated with 2 leading NS_SEPARATOR

Example:

 class Foo5773ef989dcd4778751139 implements \\ProxyManager\Proxy\RemoteObjectInterface, \\ProxyManagerTestAsset\RemoteProxy\FooServiceInterface

Which raise Parse Errors during proxymanager test suite.

 9) ProxyManagerTest\Functional\RemoteObjectFunctionalTest::testJsonRpcMethodCalls with data set #3 ('ProxyManagerTestAsset\RemoteP...erface', 'baz', array('baz'), 'baz remote')
 ParseError: syntax error, unexpected \\ (T_NS_SEPARATOR), expecting identifier (T_STRING)

@Ocramius
Copy link
Member

@remicollet duplicate of #75 ?

@remicollet
Copy link
Contributor Author

Yes, it look like.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants