From 87f127d8fa7b03e8f32962fc720da5df1a505fa5 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 10 Feb 2020 10:51:37 +0100 Subject: [PATCH] Rename reflection stub file Where possible, the stub file should match the name of the C file, so that the build system integration automatically recompiles it. --- ext/reflection/php_reflection.c | 2 +- ext/reflection/{reflection.stub.php => php_reflection.stub.php} | 0 .../{reflection_arginfo.h => php_reflection_arginfo.h} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename ext/reflection/{reflection.stub.php => php_reflection.stub.php} (100%) rename ext/reflection/{reflection_arginfo.h => php_reflection_arginfo.h} (100%) diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 13b97e163b..6fb415f2ad 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -41,7 +41,7 @@ #include "zend_extensions.h" #include "zend_builtin_functions.h" #include "zend_smart_str.h" -#include "reflection_arginfo.h" +#include "php_reflection_arginfo.h" /* Key used to avoid leaking addresses in ReflectionProperty::getId() */ #define REFLECTION_KEY_LEN 16 diff --git a/ext/reflection/reflection.stub.php b/ext/reflection/php_reflection.stub.php similarity index 100% rename from ext/reflection/reflection.stub.php rename to ext/reflection/php_reflection.stub.php diff --git a/ext/reflection/reflection_arginfo.h b/ext/reflection/php_reflection_arginfo.h similarity index 100% rename from ext/reflection/reflection_arginfo.h rename to ext/reflection/php_reflection_arginfo.h -- 2.40.0