Skip to content

Commit

Permalink
fix: pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mcharytoniuk committed Feb 3, 2024
1 parent 0cd68e3 commit 42ed039
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ docs/artifact.tar: docs/build

docs/build: config.ini esbuild vendor $(MD_SOURCES) $(PHP_SOURCES)
${PHP_BIN} ./bin/resonance.php static-pages:build;
cp resources/images/ogimage.webp docs/build/ogimage.webp
# cp resources/images/ogimage.webp docs/build/ogimage.webp

node_modules: yarn.lock
yarnpkg install --check-files --frozen-lockfile --non-interactive;
Expand Down
5 changes: 5 additions & 0 deletions config.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ session_key_authorization_request = oauth2.authorization_request
session_key_pkce = oauth2.pkce
session_key_state = oauth2.state

[openapi]
description = description
title = title
version = 0.0.0

[redis]
default[db_index] = 0
default[host] = 127.0.0.1
Expand Down
1 change: 1 addition & 0 deletions container.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
declare(strict_types=1);

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

defined('DM_ROOT') or exit('Configuration is not loaded.');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ If you want to implement repositories by using
<?php

use Distantmagic\Resonance\DoctrineEntityManagerRepository;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\EntityRepository;

#[Singleton(provides: AccessTokenRepositoryInterface::class)]
Expand All @@ -48,7 +49,7 @@ readonly class OAuth2AccessTokenRepository implements AccessTokenRepositoryInter
{
$this
->doctrineEntityManagerRepository
->withRepository(MyDoctrineTokenRepository::class, function (EntityRepository $entityRepository) {
->withRepository(MyDoctrineTokenRepository::class, function (EntityManagerInterface $entityManager, EntityRepository $entityRepository) {
// ...
})
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @internal
*/
final class PostfixBounceTest extends TestCase
final class PostfixBounceAnalyzerTest extends TestCase
{
use TestsDependencyInectionContainerTrait;

Expand Down

0 comments on commit 42ed039

Please sign in to comment.