doctrine-dbal-postgresql
doctrine-dbal-postgresql copied to clipboard
Missing use statement
I'm attempting to use FTS with Doctrine.
I copy'n'pasted from Readme to config.yml
.
Then I got:
Attempted to load class "ToTsvector" from namespace "OpsWay\Doctrine\ORM\Query\AST\Functions".
Did you forget a "use" statement for "Opsway\Doctrine\ORM\Query\AST\Functions\ToTsvector"?
The issue is the root namespace. On your readme it is stated as OpsWay
, when it should be Opsway
.
I'm considering to write a PR addressing this issue, but I wonder what is wrong: the README or the namespace itself?
It looks like #8 solves this by changing README. Is this the correct solution?