Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7122b8bea8 | ||
|
|
2d3ea498d6 | ||
|
|
913a2abf7a | ||
|
|
ad7f95a4bb |
4 changed files with 41 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/php-sebastian-recursion-context7-7.0.0-c405ae3.tgz
|
||||
/php-sebastian-recursion-context7-7.0.1-0b01998.tgz
|
||||
|
|
|
|||
22
31933c1e9e455d4c039cbbc4daf0bee85691729b.patch
Normal file
22
31933c1e9e455d4c039cbbc4daf0bee85691729b.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
From 31933c1e9e455d4c039cbbc4daf0bee85691729b Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Bergmann <sb@sebastian-bergmann.de>
|
||||
Date: Thu, 26 Jun 2025 13:13:55 +0200
|
||||
Subject: [PATCH] Closes #31
|
||||
|
||||
---
|
||||
tests/ContextTest.php | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/ContextTest.php b/tests/ContextTest.php
|
||||
index eec3f4f..b261f72 100644
|
||||
--- a/tests/ContextTest.php
|
||||
+++ b/tests/ContextTest.php
|
||||
@@ -107,7 +107,7 @@ public function testContainsFound(array|object $value, int $key): void
|
||||
* @param array<mixed>|object $value
|
||||
*/
|
||||
#[DataProvider('valuesProvider')]
|
||||
- public function testContainsNotFound(array|object $value): void
|
||||
+ public function testContainsNotFound(array|object $value, int $key): void
|
||||
{
|
||||
$context = new Context;
|
||||
|
||||
|
|
@ -7,14 +7,13 @@
|
|||
# Please, preserve the changelog entries
|
||||
#
|
||||
|
||||
# disabled until phpunit12 available
|
||||
%bcond_with tests
|
||||
%bcond_without tests
|
||||
|
||||
%global gh_commit c405ae3a63e01b32eb71577f8ec1604e39858a7c
|
||||
%global gh_commit 0b01998a7d5b1f122911a66bebcb8d46f0c82d8c
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project recursion-context
|
||||
%global gh_date 2025-02-07
|
||||
%global gh_date 2025-08-13
|
||||
# Packagist
|
||||
%global pk_vendor sebastian
|
||||
%global pk_project %{gh_project}
|
||||
|
|
@ -25,7 +24,7 @@
|
|||
%global php_home %{_datadir}/php
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||
Version: 7.0.0
|
||||
Version: 7.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Recursively process PHP variables, version %{major}
|
||||
|
||||
|
|
@ -83,7 +82,7 @@ touch vendor/autoload.php
|
|||
|
||||
: Run upstream test suite
|
||||
ret=0
|
||||
for cmd in php php83 php84; do
|
||||
for cmd in php php83 php84 php85; do
|
||||
if which $cmd; then
|
||||
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
|
||||
%{_bindir}/phpunit12 || ret=1
|
||||
|
|
@ -103,6 +102,18 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 13 2025 Remi Collet <remi@remirepo.net> - 7.0.1-1
|
||||
- update to 7.0.1
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jun 26 2025 Remi Collet <remi@remirepo.net> - 7.0.0-3
|
||||
- add upstream patch for test suite with phpunit 12.2
|
||||
|
||||
* Mon Feb 10 2025 Remi Collet <remi@remirepo.net> - 7.0.0-2
|
||||
- enable test suite
|
||||
|
||||
* Fri Feb 7 2025 Remi Collet <remi@remirepo.net> - 7.0.0-1
|
||||
- update to 7.0.0
|
||||
- raise dependency on PHP 8.3
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-sebastian-recursion-context7-7.0.0-c405ae3.tgz) = 6883c67d748bc11bc5005c51afc4d2567bd708a0182d4bd3ff4e3472ddbadafb04a69ef05b53c6d249dd77e36ea0a591cf0f9389ab5348417d168af1abb5d9dd
|
||||
SHA512 (php-sebastian-recursion-context7-7.0.1-0b01998.tgz) = 18a176f0ced415f41dcc698bf39ba73a25c70f2a072097cb46387281a947674beeaa9f44ee59bb34b23923ed4b4319018c7886f8088934828afe6c3b9a1cba66
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue