oat-sa / qti-sdk

A QTI (Question & Test Interoperability) Software Development Kit for PHP
http://www.taotesting.com
GNU General Public License v2.0
82 stars 32 forks source link

Duplicated class names causing resolve class error #361

Open edcity-adrian opened 1 year ago

edcity-adrian commented 1 year ago

In following files the co-existent of class 'Utils' in current and parent directory sometimes cause class resolve errors:

/qti-sdk/qtism/runtime/expressions/operators/EqualProcessor.php
/qti-sdk/qtism/runtime/expressions/operators/EqualRoundedProcessor.php
/qti-sdk/qtism/runtime/expressions/operators/AnyNProcessor.php

namespace qtism\runtime\expressions\operators;
......
use qtism\runtime\expressions\Utils;

Can import the other 'Utils' with another alias to prevent this?