[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH 49/95] gnu: Add php-sebastian-object-reflector.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH 49/95] gnu: Add php-sebastian-object-reflector. |
Date: |
Tue, 19 Dec 2023 14:57:30 +0100 |
* gnu/packages/php-xyz.scm (php-sebastian-object-reflector): New variable.
Change-Id: I861e16fe53e5e07597c3417380a95068295662e4
---
gnu/packages/php-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 21bb663ee2..e7f057248f 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1242,3 +1242,40 @@ (define-public php-sebastian-object-enumerator
(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 'fix-tests
+ (lambda _
+ ;; Deactivate risky/deprecated tests.
+ (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.41.0
- [bug#67902] [PATCH 60/95] gnu: Add php-symfony-deprecation-contracts., (continued)
- [bug#67902] [PATCH 60/95] gnu: Add php-symfony-deprecation-contracts., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 48/95] gnu: Add php-sebastian-object-enumerator., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 75/95] gnu: Add php-symfony-polyfill-ctype., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 80/95] gnu: Add php-symfony-polyfill-uuid., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 59/95] gnu: Add php-symfony-dependency-injection., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 44/95] gnu: Add php-sebastian-environment., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 29/95] gnu: Add php-phpunit-php-text-template., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 37/95] gnu: Add php-psr-simple-cache., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 39/95] gnu: Add php-sebastian-code-unit., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 43/95] gnu: Add php-sebastian-diff., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 49/95] gnu: Add php-sebastian-object-reflector.,
Nicolas Graves <=
- [bug#67902] [PATCH 50/95] gnu: Add php-sebastian-recursion-context., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 53/95] gnu: Add php-sebastian-version., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 58/95] gnu: Add php-symfony-console., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 57/95] gnu: Add php-symfony-config., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 54/95] gnu: Add php-symfony-cache., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 61/95] gnu: Add php-symfony-error-handler., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 62/95] gnu: Add php-symfony-event-dispatcher., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 63/95] gnu: Add php-symfony-event-dispatcher-contracts., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 66/95] gnu: Add php-symfony-finder., Nicolas Graves, 2023/12/19
- [bug#67902] [PATCH 68/95] gnu: Add php-symfony-http-kernel., Nicolas Graves, 2023/12/19