Skip to content

Commit

Permalink
Update requirements: Add psr/log, bump minimum versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Sep 5, 2024
1 parent 2aa788b commit 3ed8b12
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
"doctrine/event-manager": "^1.1|^2.0",
"doctrine/orm": "^2.14|^3.0",
"doctrine/persistence": "^2.0|^3.0",
"symfony/cache": "^5.0|^6.0|^7.0"
"psr/log": "^2.0|^3.0",
"symfony/cache": "^5.4|^6.0|^7.0"
},
"require-dev": {
"doctrine/collections": "^1.6.8|^2.2.1",
"phpunit/phpunit": "^9.6.19",
"symfony/error-handler": "^5.0|^6.0|^7.0",
"symfony/error-handler": "^5.4|^6.0|^7.0",
"symfony/phpunit-bridge": ">= 7.0"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd" bootstrap="vendor/autoload.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd" bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Library Test Suite">
<directory>tests/</directory>
Expand Down
8 changes: 8 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

use Symfony\Component\ErrorHandler\Debug;
use Symfony\Component\ErrorHandler\DebugClassLoader;

require_once __DIR__.'/../vendor/autoload.php';

DebugClassLoader::enable();

0 comments on commit 3ed8b12

Please sign in to comment.