GNU bug report logs -
#67902
[PATCH 00/95] PHP package chain.
Previous Next
Full log
Message #1031 received at 67902 <at> debbugs.gnu.org (full text, mbox):
* 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
This bug report was last modified 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.