Skip to content

Commit

Permalink
Fix psalm issues
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team authored Dec 17, 2023
1 parent 02c1d1c commit 9c64fef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
} elseif ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once __DIR__ . '/vendor/autoload.php';
} elseif ( file_exists( ABSPATH . 'vendor/autoload.php' ) ) {
/** @psalm-suppress UnresolvableInclude */
require_once ABSPATH . 'vendor/autoload.php';
}

Expand Down
2 changes: 2 additions & 0 deletions wordpress.stubs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ namespace {
define( 'MONTH_IN_SECONDS', (int) ( 30 * DAY_IN_SECONDS ) );
define( 'YEAR_IN_SECONDS', (int) ( 365 * DAY_IN_SECONDS ) );

define( 'ABSPATH', '/wp' );

define( 'COOKIEPATH', expr );
define( 'COOKIE_DOMAIN', expr );

Expand Down

0 comments on commit 9c64fef

Please sign in to comment.