From patchwork Sun Oct 6 23:59:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68698 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5BB4527BBEA; Mon, 7 Oct 2024 01:04:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3444927BBE2 for ; Mon, 7 Oct 2024 01:04:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxbDh-0006CE-Vw; Sun, 06 Oct 2024 20:03:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxbDV-0005zN-Ce for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:15 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxbDS-0001IG-7S for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=FsgBV3+riaFMwMsX4Wl2bF4uTH0uNcZY0FPzZ28TsUg=; b=ZjEjs5+36zrR5oU5p2dI9m2nFJ5kkMx/KXvYxnKipQkqLaXUEa+W3OtPi/lGI/H6kqIPfeY609ivg+mOK1hwBwTVEhFtGPez9v3bT83pZZAUfHX6pYF+VAySelc7MGmXgzRH4+S/N8yHqb9cG82QK0KVrT9RF73j0qn9a1ekvsKuFEy4qdBkEOsX7SqoZFjsGWu79aFk7Fp0lVujkyI1s7mxLq9/XdM5Tlp6Ro210ruPLe8zmKDBelsG5soxmTcWuZCwtUpkk2pDtQNzy/Itq4gefzwrfGsG/Sjd1mb9Nl5y78iST/6154/++OXp/mskSJ+a+6+lREXGpkEX0x+0xw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxbDY-0002Qb-MF for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v3 50/96] gnu: Add php-sebastian-object-reflector. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 00:03:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67902@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 67902-submit@debbugs.gnu.org id=B67902.17282593869133 (code B ref 67902); Mon, 07 Oct 2024 00:03:16 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 00:03:06 +0000 Received: from localhost ([127.0.0.1]:43168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDO-0002N0-1N for submit@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:06 -0400 Received: from 17.mo550.mail-out.ovh.net ([87.98.179.142]:48805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDJ-0002LZ-Dv for 67902@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:02 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.17.59]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XMK994Q3Rz1Lw6 for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 00:02:53 +0000 (UTC) Received: from ghost-submission-55b549bf7b-g44z6 (unknown [10.108.54.198]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 426211FE41; Mon, 7 Oct 2024 00:02:53 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-55b549bf7b-g44z6 with ESMTPSA id OlcGIyslA2eOBwAAJMv2Hw (envelope-from ); Mon, 07 Oct 2024 00:02:53 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R0048e74097d-e044-415a-8a6e-85919cee8129, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 01:59:45 +0200 Message-ID: <20241007000046.25625-50-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241007000046.25625-1-ngraves@ngraves.fr> References: <20241007000046.25625-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 2678797356067513058 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedgfedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpeejnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=FsgBV3+riaFMwMsX4Wl2bF4uTH0uNcZY0FPzZ28TsUg=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728259373; v=1; b=htIPXYEcCYrnrondFLYHzFSSTzTO1YKA47wRNFEe6HeKtw7ZJZsYixx+BOfxj0RCjsOVD4kl jnG2rPeDCATkl17RaJFUy75815g2VbNCEnbIdikex0ByIEAl3mLsiVyXPDht24o7TykZXSupduY ZmhgIB3V5jAxwSoqRQbWCTjXC9zGzOnVdjS6F5KAXGbWlwm3nHpq11MRQMmHf6KRILpEMh2iJY0 ULovQ0cAQeMhEt7YdA3wG3PYRnM2RrXTKzPDFdUhH9rmPFOgGklEKTRsNIeGWA27y56O6j3Ts0e P50qH0TqyLToM35sIGzGRn9RsIVSb7ukA1Ve+cRzCpeHA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 3974795d1f..8c71c87333 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -1234,3 +1234,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))) +