Skip to content

Commit

Permalink
Updated dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
parpalak committed Dec 16, 2023
1 parent c8d0bab commit d00e67d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion codeception.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
actor: Tester
paths:
tests: tests
log: tests/_output
log: tests/_output # prior to 5.0?
output: tests/_output # ~5.0?
data: tests/_data
support: tests/_support
envs: tests/_envs
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"php": ">=7.4",
"ext-json": "*",
"symfony/polyfill-mbstring": "^1.2",
"psr/log": "^1.1"
"psr/log": "^1.1|^2.0|^3.0"
},
"require-dev": {
"codeception/codeception": "^4.2",
"codeception/module-asserts": "^1.3"
"codeception/codeception": "^4.2|^5.0",
"codeception/module-asserts": "^1.3|^3.0"
},
"suggest": {
"ext-dom": "*",
Expand Down
7 changes: 6 additions & 1 deletion tests/unit/Rose/FinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace S2\Rose\Test;

use Codeception\Test\Unit;
use Codeception\Util\Stub;
use Codeception\Stub;
use S2\Rose\Entity\ExternalId;
use S2\Rose\Entity\ExternalIdCollection;
use S2\Rose\Entity\Metadata\ImgCollection;
Expand All @@ -23,6 +23,11 @@
use S2\Rose\Storage\FulltextIndexPositionBag;
use S2\Rose\Storage\StorageReadInterface;

if (!class_exists(Stub::class)) {
// Remove on dropping support for Codeception 4.x
class_alias('Codeception\Util\Stub', Stub::class);
}

/**
* @group finder
*/
Expand Down

0 comments on commit d00e67d

Please sign in to comment.