Moved doctrine custom type definitions to Doctrine\Types namespace

This commit is contained in:
Jan Böhmer 2022-12-31 18:42:56 +01:00
parent e60f0f0571
commit f62937096f
3 changed files with 5 additions and 5 deletions

View file

@ -8,11 +8,11 @@ doctrine:
types: types:
datetime: datetime:
class: App\Helpers\UTCDateTimeType class: App\Doctrine\Types\UTCDateTimeType
date: date:
class: App\Helpers\UTCDateTimeType class: App\Doctrine\Types\UTCDateTimeType
big_decimal: big_decimal:
class: App\Helpers\BigDecimalType class: App\Doctrine\Types\BigDecimalType
schema_filter: ~^(?!internal)~ schema_filter: ~^(?!internal)~
# Only enable this when needed # Only enable this when needed

View file

@ -18,7 +18,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
namespace App\Helpers; namespace App\Doctrine\Types;
use Brick\Math\BigDecimal; use Brick\Math\BigDecimal;
use Brick\Math\BigNumber; use Brick\Math\BigNumber;

View file

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace App\Helpers; namespace App\Doctrine\Types;
use DateTime; use DateTime;
use DateTimeZone; use DateTimeZone;