From patchwork Sun Oct 6 23:59:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 68702 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 846C227BBEA; Mon, 7 Oct 2024 01:04:28 +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=ham 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 0507F27BBE2 for ; Mon, 7 Oct 2024 01:04:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxbEN-00076u-AK; Sun, 06 Oct 2024 20:04:09 -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 1sxbED-00070i-FI for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:57 -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 1sxbEC-0001UV-MX for guix-patches@gnu.org; Sun, 06 Oct 2024 20:03:56 -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=MCkD3GS9RnlsV7Owna5UVo7cWFSdLgHn10ZTKGMo/oU=; b=tsD0FPQhhW+Ep1klxygpc6JxYr4lWy1mssHQ4oRlDxlXbSCO05XVlctJYXNIYJyjvJGcDGE5KdPwfol9IlIVjbA/htqAG+biBkirAyn7IeHt1n+c+QljQ4itr5f4Naq3AyH3rTb8Ezh8HN8uV2shPs0xTsQFtmab5dHR4PHEWq7CpjPcEyAK1qi/lF17eIcvQu2ZHejrNjtp/ngoNjZgYkIqIeFQLDSKsmQaHKZeoJUpoo2g9H/+z2Gf7ohTV3Ncq6n29lQyhiPwuROwJAwrhLx2DFAY/azCrNTH/dNhHifI4VlGZKxrzI4UyP1EIVmTxUjrdauImrY5CAf6CsBzlg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxbEJ-0002YU-1z for guix-patches@gnu.org; Sun, 06 Oct 2024 20:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67902] [PATCH v3 60/96] gnu: Add php-symfony-dependency-injection. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Oct 2024 00:04:02 +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.17282594039461 (code B ref 67902); Mon, 07 Oct 2024 00:04:02 +0000 Received: (at 67902) by debbugs.gnu.org; 7 Oct 2024 00:03:23 +0000 Received: from localhost ([127.0.0.1]:43232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDf-0002SR-Dr for submit@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:23 -0400 Received: from 12.mo581.mail-out.ovh.net ([178.33.107.167]:33401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxbDZ-0002QT-6U for 67902@debbugs.gnu.org; Sun, 06 Oct 2024 20:03:18 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.2.160]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4XMK9T24qzz1KJq for <67902@debbugs.gnu.org>; Mon, 7 Oct 2024 00:03:09 +0000 (UTC) Received: from ghost-submission-55b549bf7b-85h8s (unknown [10.110.113.124]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 25DFC1FE41; Mon, 7 Oct 2024 00:03:09 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-55b549bf7b-85h8s with ESMTPSA id 6L+9Aj0lA2dLkicAVBMeUQ (envelope-from ); Mon, 07 Oct 2024 00:03:09 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R006a984e6b7-6067-46bb-b772-321fc2d5f66d, A12302D5D8CF0E033BA678025A323BF4FAD59D46) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Mon, 7 Oct 2024 01:59:55 +0200 Message-ID: <20241007000046.25625-60-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: 2683300954783212258 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedgfedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepheekudejgfdtudeihffgiedvjeekffethfeiieevudegffejjefggfekffeiteeinecuffhomhgrihhnpehshihmfhhonhihrdgtohhmpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledtvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=MCkD3GS9RnlsV7Owna5UVo7cWFSdLgHn10ZTKGMo/oU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1728259389; v=1; b=CVh13fLL1WStGSWucb5IRDZwimAundFCKik18bmixUnbm+EIDS8bvv/l4q8M8dJ2KdAYUVKT mpzqB33oXMgVNN5bYIHTlYtrvhZ0rJNULaLDNBRQKeWB5U6uYp/qNJI0nBupz7dtcdm82Jjm57U j5P5fPsP3vYcaITG+ACJWKFEunjrJnlV5zh20rAIUyixbrkgljxM6omdkSt2YtgUiJzTDyyi18V cI4xURDxMtq2hciL9qKqGeI0DU/N7hcty6GQBYoVXCotujZlse4LPPOx47sD4p9i6grmTN6HF9P vk9/n5VRRXTEB6rvQmiNp0d5e6+Vy5/zOZYHid3HgGNZg== 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-symfony-dependency-injection): New variable. Change-Id: Ia24e5ef934127bdbc678b59eb6f1a49bf6b7cb95 --- gnu/packages/php-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm index a8d446d50c..7db3635b53 100644 --- a/gnu/packages/php-xyz.scm +++ b/gnu/packages/php-xyz.scm @@ -1536,3 +1536,64 @@ (define-public php-symfony-console (home-page "https://symfony.com") (license license:expat))) +(define-public php-symfony-dependency-injection + (package + (name "php-symfony-dependency-injection") + (version "6.3.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/symfony/dependency-injection") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ns3l4qmghpcfzm58vjajpyagavkqyrdqqd0pxdn7r4dh5h6m0wf")))) + (build-system composer-build-system) + (arguments + (list + #:test-flags ''("--exclude" "skipTest" "--dont-report-useless-tests") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'fix-tests + (lambda _ + ;; Deactivate failing tests. + (substitute* "Tests/Dumper/PhpDumperTest.php" + (("(.*)public function testDumpAsFiles.*" all blank) + (string-append + blank "/**\n" + blank " * @group skipTest\n" + blank " */\n" + all)) + (("(.*)public function testDeprecatedParametersAsFiles\\(\\)" all blank) + (string-append + blank "/**\n" + blank " * @group skipTest\n" + blank " */\n" + all)) + (("(.*)public function testNonSharedLazyAsFiles\\(\\)" all blank) + (string-append + blank "/**\n" + blank " * @group skipTest\n" + blank " */\n" + all)))))))) + (inputs + (list php-psr-container + php-symfony-deprecation-contracts + php-symfony-service-contracts + php-symfony-var-exporter)) + (native-inputs + (list php-phpunit-phpunit + (package/inherit php-symfony-config + (arguments '(#:tests? #f)) + (native-inputs '())) + php-symfony-expression-language + php-symfony-phpunit-bridge + php-symfony-yaml)) + (synopsis "Construct objects in PHP") + (description + "This package provides utilities to standardize and centralize the way +objects are constructed in your PHP application.") + (home-page "https://symfony.com") + (license license:expat))) +