From a877b239428344e4324f006e83aa5386633d8325 Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Wed, 29 Mar 2023 00:40:12 +0200
Subject: [PATCH] Modernize: use __DIR__ instead of dirname(__FILE__)
__DIR__ was introduced in PHP 5.3.
---
wp-tests-config-sample.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wp-tests-config-sample.php b/wp-tests-config-sample.php
index 934eda9162..5591ae5184 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /* Path to the WordPress codebase you'd like to test. Add a forward slash in the end. */ |
4 | | define( 'ABSPATH', dirname( __FILE__ ) . '/src/' ); |
| 4 | define( 'ABSPATH', __DIR__ . '/src/' ); |
5 | 5 | |
6 | 6 | /* |
7 | 7 | * Path to the theme to test with. |