[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH v5 45/54] gnu: Add php-sebastian-object-reflector.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH v5 45/54] gnu: Add php-sebastian-object-reflector. |
Date: |
Fri, 18 Oct 2024 01:06:08 +0200 |
* gnu/packages/php-bootstrap.scm (php-sebastian-object-reflector): New variable.
---
gnu/packages/php-bootstrap.scm | 36 ++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/php-bootstrap.scm b/gnu/packages/php-bootstrap.scm
index 47e83a6564..e8928c0f81 100644
--- a/gnu/packages/php-bootstrap.scm
+++ b/gnu/packages/php-bootstrap.scm
@@ -1087,3 +1087,39 @@ (define-public php-sebastian-object-enumerator
and object graphs to enumerate all referenced objects.")
(home-page "https://github.com/sebastianbergmann/object-enumerator/")
(license license:bsd-3)))
+
+(define-public php-sebastian-object-reflector
+ (package
+ (name "php-sebastian-object-reflector")
+ (version "2.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sebastianbergmann/object-reflector")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jrdfxr94c43za4z7dp0hql6q06zpgzljwv7514lwn7qs51lnn9h"))))
+ (build-system composer-build-system)
+ (arguments
+ (list
+ #:test-flags ''("--exclude" "skipTest")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'skip-deprecated-tests
+ (lambda _
+ (substitute* "tests/ObjectReflectorTest.php"
+ (("(.*)public function testReflectsAttribute" all blank)
+ (string-append
+ blank "/**\n"
+ blank " * @group skipTest\n"
+ blank " */\n"
+ all))))))))
+ (native-inputs
+ (list php-phpunit-phpunit))
+ (synopsis "PHP reflexion library")
+ (description "This package allows reflection of object attributes,
+including inherited and non-public ones.")
+ (home-page "https://github.com/sebastianbergmann/object-reflector/")
+ (license license:bsd-3)))
--
2.46.0
- [bug#67902] [PATCH v5 36/54] gnu: Add php-sebastian-code-unit-reverse-lookup., (continued)
- [bug#67902] [PATCH v5 36/54] gnu: Add php-sebastian-code-unit-reverse-lookup., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 39/54] gnu: Add php-sebastian-diff., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 42/54] gnu: Add php-sebastian-global-state., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 33/54] gnu: Add php-psr-event-dispatcher., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 49/54] gnu: Add php-sebastian-version., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 38/54] gnu: Add php-sebastian-complexity., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 43/54] gnu: Add php-sebastian-lines-of-code., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 44/54] gnu: Add php-sebastian-object-enumerator., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 22/54] gnu: Add php-phpstan-phpdoc-parser., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 40/54] gnu: Add php-sebastian-environment., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 45/54] gnu: Add php-sebastian-object-reflector.,
Nicolas Graves <=
- [bug#67902] [PATCH v5 46/54] gnu: Add php-sebastian-recursion-context., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 50/54] gnu: Add php-symfony-polyfill-ctype., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 51/54] gnu: Add php-symfony-process., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 53/54] gnu: Add php-webmozart-assert., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 52/54] gnu: Add php-theseer-tokenizer., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 54/54] gnu: Add php-phpunit-phpunit., Nicolas Graves, 2024/10/17
- [bug#67902] [PATCH v5 01/54] gnu: Add abnfgen., Nicolas Graves, 2024/10/18