[php-src] master: ext/reflection: move ReflectionAttribute tests into subfolder

Gina Peter Banyard <[email protected]> Thu, 30 Jul 2026 20:15:38 +0000
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Gina Peter Banyard (Girgias)
Date: 2026-07-30T21:15:35+01:00

Commit: https://github.com/php/php-src/commit/ee019fab5a2d3e5dbf8eb3c3613f04fb8a09b2fa
Raw diff: https://github.com/php/php-src/commit/ee019fab5a2d3e5dbf8eb3c3613f04fb8a09b2fa.diff

ext/reflection: move ReflectionAttribute tests into subfolder

Changed paths:
  A  ext/reflection/tests/attributes/ReflectionAttribute_constructor_001.phpt
  A  ext/reflection/tests/attributes/ReflectionAttribute_newInstance_deprecated.phpt
  A  ext/reflection/tests/attributes/ReflectionAttribute_newInstance_exception.phpt
  A  ext/reflection/tests/attributes/ReflectionAttribute_toString.phpt
  A  ext/reflection/tests/attributes/gh12908.phpt
  D  ext/reflection/tests/ReflectionAttribute_constructor_001.phpt
  D  ext/reflection/tests/ReflectionAttribute_newInstance_deprecated.phpt
  D  ext/reflection/tests/ReflectionAttribute_newInstance_exception.phpt
  D  ext/reflection/tests/ReflectionAttribute_toString.phpt
  D  ext/reflection/tests/gh12908.phpt


Diff:

diff --git a/ext/reflection/tests/ReflectionAttribute_constructor_001.phpt b/ext/reflection/tests/attributes/ReflectionAttribute_constructor_001.phpt
similarity index 100%
rename from ext/reflection/tests/ReflectionAttribute_constructor_001.phpt
rename to ext/reflection/tests/attributes/ReflectionAttribute_constructor_001.phpt
diff --git a/ext/reflection/tests/ReflectionAttribute_newInstance_deprecated.phpt b/ext/reflection/tests/attributes/ReflectionAttribute_newInstance_deprecated.phpt
similarity index 100%
rename from ext/reflection/tests/ReflectionAttribute_newInstance_deprecated.phpt
rename to ext/reflection/tests/attributes/ReflectionAttribute_newInstance_deprecated.phpt
diff --git a/ext/reflection/tests/ReflectionAttribute_newInstance_exception.phpt b/ext/reflection/tests/attributes/ReflectionAttribute_newInstance_exception.phpt
similarity index 100%
rename from ext/reflection/tests/ReflectionAttribute_newInstance_exception.phpt
rename to ext/reflection/tests/attributes/ReflectionAttribute_newInstance_exception.phpt
diff --git a/ext/reflection/tests/ReflectionAttribute_toString.phpt b/ext/reflection/tests/attributes/ReflectionAttribute_toString.phpt
similarity index 100%
rename from ext/reflection/tests/ReflectionAttribute_toString.phpt
rename to ext/reflection/tests/attributes/ReflectionAttribute_toString.phpt
diff --git a/ext/reflection/tests/gh12908.phpt b/ext/reflection/tests/attributes/gh12908.phpt
similarity index 100%
rename from ext/reflection/tests/gh12908.phpt
rename to ext/reflection/tests/attributes/gh12908.phpt