diff options
| author | Remi Collet <remi@remirepo.net> | 2026-01-12 08:53:25 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-01-12 08:53:25 +0100 |
| commit | 430173c2ea674e1f637580b0e8320921e8089da5 (patch) | |
| tree | 42c24d84aef693a3f02e97e53b1c3b6669b4fb24 | |
| parent | 1e00a274eea879d5b2b002f05aafaf77bd770216 (diff) | |
re-license spec file to CECILL-2.1
raise dependency on PHP 8.4
| -rw-r--r-- | composer.json | 11 | ||||
| -rw-r--r-- | php-doctrine-instantiator2.spec | 28 |
2 files changed, 21 insertions, 18 deletions
diff --git a/composer.json b/composer.json index 179145e..2fc7724 100644 --- a/composer.json +++ b/composer.json @@ -16,17 +16,16 @@ } ], "require": { - "php": "^8.1" + "php": "^8.4" }, "require-dev": { "ext-phar": "*", "ext-pdo": "*", - "doctrine/coding-standard": "^11", + "doctrine/coding-standard": "^14", "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^10.5.58" }, "autoload": { "psr-4": { diff --git a/php-doctrine-instantiator2.spec b/php-doctrine-instantiator2.spec index d7d8e26..def59b1 100644 --- a/php-doctrine-instantiator2.spec +++ b/php-doctrine-instantiator2.spec @@ -1,15 +1,15 @@ # remirepo/fedora spec file for php-doctrine-instantiator2 # -# Copyright (c) 2014-2023 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2014-2026 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit c6222283fa3f4ac679f8b9ced9a4e23f163e80d0 +%global gh_commit 23da848e1a2308728fe5fdddabf4be17ff9720c7 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator @@ -21,7 +21,7 @@ %endif Name: php-doctrine-instantiator%{major} -Version: 2.0.0 +Version: 2.1.0 Release: 1%{?dist} Summary: Instantiate objects in PHP without invoking their constructors, version %{major} @@ -33,18 +33,18 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php-fedora-autoloader-devel %if %{with_tests} -BuildRequires: php(language) >= 8.1 +BuildRequires: php(language) >= 8.4 BuildRequires: php-phar BuildRequires: php-pdo BuildRequires: php-reflection BuildRequires: php-spl -%global phpunit %{_bindir}/phpunit9 +%global phpunit %{_bindir}/phpunit10 BuildRequires: %{phpunit} %endif # From composer.json -# "php": "^8.1" -Requires: php(language) >= 8.1 +# "php": "^8.4" +Requires: php(language) >= 8.4 # From phpcompatinfo report for version 1.1.0 Requires: php-reflection Requires: php-spl @@ -95,12 +95,11 @@ EOF : Run test suite ret=0 -for cmdarg in "php %{phpunit}" php81 php82; do +for cmdarg in "php %{phpunit}" php84 php85; do if which $cmdarg; then set $cmdarg $1 -d auto_prepend_file=vendor/autoload.php \ - ${2:-%{_bindir}/phpunit9} \ - --verbose || ret=1 + ${2:-%{_bindir}/phpunit10} || ret=1 fi done exit $ret @@ -119,6 +118,11 @@ exit $ret %changelog +* Mon Jan 12 2026 Remi Collet <remi@remirepo.net> - 2.1.0-1 +- update to 2.1.0 +- re-license spec file to CECILL-2.1 +- raise dependency on PHP 8.4 + * Tue Jan 3 2023 Remi Collet <remi@remirepo.net> - 1.5.0-1 - update to 2.0.0 - rename to php-doctrine-instantiator2 |
