[web-php] master: Enhancement: Use autoloader (#614)

From: Date: Fri, 08 Jul 2022 22:13:12 +0000
Subject: [web-php] master: Enhancement: Use autoloader (#614)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-30307@lists.php.net to get a copy of this message
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2022-07-08T23:06:52+01:00 Commit: https://github.com/php/web-php/commit/46477db7068c811dfac5e23400911aca2d974b9d Raw diff: https://github.com/php/web-php/commit/46477db7068c811dfac5e23400911aca2d974b9d.diff Enhancement: Use autoloader (#614) Changed paths: M tests/sort_notes_001.phpt M tests/sort_notes_002.phpt M tests/sort_notes_003.phpt Diff: diff --git a/tests/sort_notes_001.phpt b/tests/sort_notes_001.phpt index be47203c7..ee4b88c2b 100644 --- a/tests/sort_notes_001.phpt +++ b/tests/sort_notes_001.phpt @@ -4,7 +4,7 @@ sort some notes precision=-1 --FILE-- <?php -require_once __DIR__ . "/../src/UserNotes/Sorter.php"; +require_once __DIR__ . "/../autoload.php"; $notes = [ [ diff --git a/tests/sort_notes_002.phpt b/tests/sort_notes_002.phpt index 5a64e46f5..87c1fc551 100644 --- a/tests/sort_notes_002.phpt +++ b/tests/sort_notes_002.phpt @@ -4,7 +4,7 @@ sort no notes precision=-1 --FILE-- <?php -require_once __DIR__ . "/../src/UserNotes/Sorter.php"; +require_once __DIR__ . "/../autoload.php"; $notes = []; diff --git a/tests/sort_notes_003.phpt b/tests/sort_notes_003.phpt index 65a38385b..515837ef6 100644 --- a/tests/sort_notes_003.phpt +++ b/tests/sort_notes_003.phpt @@ -4,7 +4,7 @@ sort a single note with no votes precision=-1 --FILE-- <?php -require_once __DIR__ . "/../src/UserNotes/Sorter.php"; +require_once __DIR__ . "/../autoload.php"; $notes = [ [

« previous php.webmaster (#30307) next »