From 6aa8a466b7b7ea34bcf60298ead85481ea9c4dec Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 10 Nov 2021 22:10:36 +0100 Subject: [PATCH] Fix tests --- .../Autoload/Fixtures/autoload_real_files_by_dependency.php | 5 +++++ .../Test/Autoload/Fixtures/autoload_real_functions.php | 5 +++++ .../Fixtures/autoload_real_functions_with_include_paths.php | 5 +++++ .../Test/Autoload/Fixtures/autoload_real_target_dir.php | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php index 390bff3bd..5f8cb74fc 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php @@ -63,6 +63,11 @@ class ComposerAutoloaderInitFilesAutoloadOrder } } +/** + * @param string $fileIdentifier + * @param string $file + * @return void + */ function composerRequireFilesAutoloadOrder($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php index 71397e2f5..87175ab6c 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php @@ -63,6 +63,11 @@ class ComposerAutoloaderInitFilesAutoload } } +/** + * @param string $fileIdentifier + * @param string $file + * @return void + */ function composerRequireFilesAutoload($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php index 47bb48f7f..692a0d9af 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php @@ -67,6 +67,11 @@ class ComposerAutoloaderInitFilesAutoload } } +/** + * @param string $fileIdentifier + * @param string $file + * @return void + */ function composerRequireFilesAutoload($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php index 7b6b58bf9..397ab52e6 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php @@ -83,6 +83,11 @@ class ComposerAutoloaderInitTargetDir } } +/** + * @param string $fileIdentifier + * @param string $file + * @return void + */ function composerRequireTargetDir($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {