summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json16
-rw-r--r--php-doctrine-event-manager.spec17
2 files changed, 19 insertions, 14 deletions
diff --git a/composer.json b/composer.json
index 3f026fe..8973b3f 100644
--- a/composer.json
+++ b/composer.json
@@ -23,13 +23,18 @@
"php": "^7.1 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^6.0",
- "phpunit/phpunit": "^7.0"
+ "doctrine/coding-standard": "^9",
+ "phpstan/phpstan": "~1.4.10 || ^1.5.4",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "vimeo/psalm": "^4.22"
},
"conflict": {
- "doctrine/common": "<2.9@dev"
+ "doctrine/common": "<2.9"
},
"config": {
+ "allow-plugins": {
+ "dealerdirect/phpcodesniffer-composer-installer": true
+ },
"sort-packages": true
},
"autoload": {
@@ -41,10 +46,5 @@
"psr-4": {
"Doctrine\\Tests\\": "tests/Doctrine/Tests"
}
- },
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
}
}
diff --git a/php-doctrine-event-manager.spec b/php-doctrine-event-manager.spec
index 6186cb5..adfbb31 100644
--- a/php-doctrine-event-manager.spec
+++ b/php-doctrine-event-manager.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-doctrine-event-manager
#
-# Copyright (c) 2018-2020 Remi Collet
+# Copyright (c) 2018-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -8,7 +8,7 @@
#
%global bootstrap 0
-%global gh_commit 41370af6a30faa9dc0368c4a6814d596e81aba7f
+%global gh_commit eb2ecf80e3093e8f3c2769ac838e27d8ede8e683
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner doctrine
%global gh_project event-manager
@@ -26,7 +26,7 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}
-Version: 1.1.1
+Version: 1.1.2
Release: 1%{?dist}
Summary: Simple PHP event system
@@ -39,7 +39,7 @@ BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
%if %{with_tests}
BuildRequires: php(language) >= 7.1
-BuildRequires: phpunit7
+BuildRequires: phpunit9
%endif
# From composer.json
@@ -93,9 +93,9 @@ EOF
: Run test suite
ret=0
-for cmd in php php71 php72 php73 php74 php80; do
+for cmd in php php74 php80 php81 php82; do
if which $cmd; then
- $cmd %{_bindir}/phpunit7 \
+ $cmd %{_bindir}/phpunit9 \
--bootstrap vendor/autoload.php \
--verbose || ret=1
fi
@@ -107,6 +107,7 @@ exit $ret
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
@@ -116,6 +117,10 @@ exit $ret
%changelog
+* Thu Jul 28 2022 Remi Collet <remi@remirepo.net> - 1.1.2-1
+- update to 1.1.2
+- switch to phpunit9
+
* Tue Aug 11 2020 Remi Collet <remi@remirepo.net> - 1.1.1-1
- update to 1.1.1 (no change)