Skip to content

Commit 9f3aab4

Browse files
authored
Merge pull request #72 from Ocramius/feature/dependency-upgrade
General dependency upgrades/bump
2 parents 99d70ac + 41c1b5d commit 9f3aab4

File tree

7 files changed

+388
-618
lines changed

7 files changed

+388
-618
lines changed

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ build:
33
analysis:
44
environment:
55
php:
6-
version: 7.1
6+
version: 8.1
77
cache:
88
disabled: false
99
directories:

bin/changelog-generator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
use ChangelogGenerator\IssueFetcher;
1010
use ChangelogGenerator\IssueGrouper;
1111
use ChangelogGenerator\IssueRepository;
12+
use Composer\InstalledVersions;
1213
use GuzzleHttp\Client;
1314
use Http\Discovery\HttpClientDiscovery;
1415
use Http\Discovery\Psr17FactoryDiscovery;
15-
use PackageVersions\Versions;
1616
use Symfony\Component\Console\Application;
1717

1818
$autoloadFiles = [
@@ -48,6 +48,6 @@
4848

4949
$generator = new ChangelogGenerator($issueRepository, $issueGrouper);
5050

51-
$application = new Application('Changelog Generator', Versions::getVersion('jwage/changelog-generator'));
51+
$application = new Application('Changelog Generator', InstalledVersions::getPrettyVersion('jwage/changelog-generator'));
5252
$application->add(new GenerateChangelogCommand($generator));
5353
$application->run();

composer.json

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99
{"name": "Jonathan Wage", "email": "[email protected]"}
1010
],
1111
"require": {
12-
"php": "^7.4.0 || ^8.0.0",
12+
"php": "^8.1.0",
1313
"ext-mbstring": "*",
14-
"ocramius/package-versions": "^2.0.0",
15-
"php-http/curl-client": "^2.0",
16-
"php-http/discovery": "^1.6",
17-
"php-http/httplug": "^2.0",
18-
"psr/http-client": "^1.0",
19-
"psr/http-factory": "^1.0",
20-
"psr/http-message": "^1.0",
21-
"symfony/console": "^4.0.0 || ^5.0.0",
22-
"laminas/laminas-diactoros": "^2.1.0"
14+
"composer-runtime-api": "^2.2.0",
15+
"php-http/curl-client": "^2.2.1",
16+
"php-http/discovery": "^1.14.3",
17+
"php-http/httplug": "^2.3.0",
18+
"psr/http-client": "^1.0.1",
19+
"psr/http-factory": "^1.0.1",
20+
"psr/http-message": "^1.0.1",
21+
"symfony/console": "^5.0.0 || ^6.1.2",
22+
"laminas/laminas-diactoros": "^2.13.0"
2323
},
2424
"require-dev": {
25-
"doctrine/coding-standard": "^8.2.0",
25+
"doctrine/coding-standard": "^9.0.0",
2626
"phpstan/extension-installer": "^1.1.0",
27-
"phpstan/phpstan": "^0.12.65",
28-
"phpstan/phpstan-deprecation-rules": "^0.12.6",
29-
"phpstan/phpstan-phpunit": "^0.12.17",
30-
"phpstan/phpstan-strict-rules": "^0.12.7",
31-
"phpunit/phpunit": "^9.5.0"
27+
"phpstan/phpstan": "^1.8.2",
28+
"phpstan/phpstan-deprecation-rules": "^1.0.0",
29+
"phpstan/phpstan-phpunit": "^1.1.1",
30+
"phpstan/phpstan-strict-rules": "^1.3.0",
31+
"phpunit/phpunit": "^9.5.21"
3232
},
3333
"autoload": {
3434
"psr-4": {
@@ -42,9 +42,6 @@
4242
},
4343
"config": {
4444
"sort-packages": true,
45-
"platform": {
46-
"php": "7.4.7"
47-
},
4845
"allow-plugins": {
4946
"dealerdirect/phpcodesniffer-composer-installer": true,
5047
"phpstan/extension-installer": true

0 commit comments

Comments
 (0)