Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d20283f308 |
4 changed files with 20 additions and 19 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/php-doctrine-inflector2-2.0.3-9cf661f4eb38f7c881cac67c75ea9b00bf97b210.tar.gz
|
||||
/php-doctrine-inflector2-2.0.4-8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89.tar.gz
|
||||
|
|
|
|||
|
|
@ -16,11 +16,12 @@
|
|||
"php": "^7.2 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/coding-standard": "^7.0",
|
||||
"phpstan/phpstan": "^0.11",
|
||||
"phpstan/phpstan-phpunit": "^0.11",
|
||||
"phpstan/phpstan-strict-rules": "^0.11",
|
||||
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
|
||||
"doctrine/coding-standard": "^8.2",
|
||||
"phpstan/phpstan": "^0.12",
|
||||
"phpstan/phpstan-phpunit": "^0.12",
|
||||
"phpstan/phpstan-strict-rules": "^0.12",
|
||||
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
|
||||
"vimeo/psalm": "^4.10"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
@ -31,10 +32,5 @@
|
|||
"psr-4": {
|
||||
"Doctrine\\Tests\\Inflector\\": "tests/Doctrine/Tests/Inflector"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.0.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# remirepo/fedora spec file for php-doctrine-inflector2
|
||||
#
|
||||
# Copyright (c) 2013-2020 Shawn Iwinski, Remi Collet
|
||||
# Copyright (c) 2013-2021 Shawn Iwinski, Remi Collet
|
||||
#
|
||||
# License: MIT
|
||||
# http://opensource.org/licenses/MIT
|
||||
|
|
@ -10,9 +10,9 @@
|
|||
|
||||
%global github_owner doctrine
|
||||
%global github_name inflector
|
||||
%global github_version 2.0.3
|
||||
%global github_version 2.0.4
|
||||
%global major 2
|
||||
%global github_commit 9cf661f4eb38f7c881cac67c75ea9b00bf97b210
|
||||
%global github_commit 8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89
|
||||
|
||||
%global composer_vendor doctrine
|
||||
%global composer_project inflector
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
Name: php-%{composer_vendor}-%{composer_project}%{major}
|
||||
Version: %{github_version}
|
||||
Release: 3%{?github_release}%{?dist}
|
||||
Release: 1%{?github_release}%{?dist}
|
||||
Summary: Common string manipulations with regard to casing and singular/plural rules
|
||||
|
||||
License: MIT
|
||||
|
|
@ -42,15 +42,15 @@ BuildArch: noarch
|
|||
# Tests
|
||||
%if %{with_tests}
|
||||
## composer.json
|
||||
BuildRequires: phpunit8
|
||||
BuildRequires: phpunit9
|
||||
BuildRequires: php(language) >= %{php_min_ver}
|
||||
## phpcompatinfo (computed from version 2.0.1)
|
||||
BuildRequires: php-mbstring
|
||||
BuildRequires: php-pcre
|
||||
BuildRequires: php-spl
|
||||
%endif
|
||||
# Autoloader
|
||||
BuildRequires: php-fedora-autoloader-devel
|
||||
%endif
|
||||
|
||||
# composer.json
|
||||
Requires: php(language) >= %{php_min_ver}
|
||||
|
|
@ -96,9 +96,9 @@ BOOTSTRAP
|
|||
|
||||
: Upstream tests
|
||||
RETURN_CODE=0
|
||||
for PHP_EXEC in "" php72 php73 php74 php80; do
|
||||
for PHP_EXEC in "" php73 php74 php80 php81; do
|
||||
if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then
|
||||
phpunit8 --verbose --bootstrap bootstrap.php \
|
||||
phpunit9 --verbose --bootstrap bootstrap.php \
|
||||
|| RETURN_CODE=1
|
||||
fi
|
||||
done
|
||||
|
|
@ -117,6 +117,10 @@ exit $RETURN_CODE
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 25 2021 Remi Collet <remi@remirepo.net> - 2.0.4-1
|
||||
- update to 2.0.4
|
||||
- switch to phpunit9
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-doctrine-inflector2-2.0.3-9cf661f4eb38f7c881cac67c75ea9b00bf97b210.tar.gz) = 2df0d8756875b14756ffebb6feb65172332cd027b9197c961ff105b68be966def1f9f847d892b9c6d84d39f41031ca36affb8bc414e68412ab1c685a03067bb1
|
||||
SHA512 (php-doctrine-inflector2-2.0.4-8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89.tar.gz) = fa79b9935f6c54e4ee59f7e8bd72b4387094c2398c88525c09f7d48aff80a9556b6e57e4d8766847bb5f4509119b0555276326587bdbfe92ceb1384d1d6baa8a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue