File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 55require_once ('Sql2TestQueries.php ' );
66require_once ('QomTestQueries.php ' );
77
8- use PHPCR \Util \QOM \Sql2Scanner ;
98use PHPCR \Util \QOM \Sql2Generator ;
109use PHPCR \Util \QOM \Sql2ToQomQueryConverter ;
1110use PHPCR \Util \QOM \QomToSql2QueryConverter ;
1211
1312class ConvertQueriesBackAndForthTest extends \PHPCR \Test \BaseCase
1413{
14+ /**
15+ * @var string[]
16+ */
1517 protected $ sql2Queries ;
1618
19+ /**
20+ * @var \PHPCR\Query\QOM\QueryObjectModelInterface[]
21+ */
1722 protected $ qomQueries ;
1823
24+ /**
25+ * @var Sql2ToQomQueryConverter
26+ */
1927 protected $ sql2Parser ;
2028
29+ /**
30+ * @var QomToSql2QueryConverter
31+ */
2132 protected $ qomParser ;
2233
2334 public function setUp ()
@@ -31,7 +42,7 @@ public function setUp()
3142
3243 try {
3344 $ this ->sql2Parser = new Sql2ToQomQueryConverter ($ factory );
34- } catch (\PHPCR \UnsupportedRepositoryException $ e ) {
45+ } catch (\PHPCR \UnsupportedRepositoryOperationException $ e ) {
3546 $ this ->markTestSkipped ('Repository does not support the QOM factory ' );
3647 }
3748 }
You can’t perform that action at this time.
0 commit comments