Skip to content

Commit a97c1d5

Browse files
committed
update dependencies
1 parent d67bf30 commit a97c1d5

File tree

13 files changed

+1738
-2400
lines changed

13 files changed

+1738
-2400
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
php-versions: [ '8.2', '8.3' ]
18+
php-versions: [ '8.4', '8.5' ]
1919
dependencies: [ 'locked', 'latest', 'lowest' ]
2020

2121
steps:
@@ -36,11 +36,8 @@ jobs:
3636
dependency-versions: ${{ matrix.dependencies }}
3737
composer-options: --prefer-dist --no-suggest --no-scripts
3838

39-
- name: Composer Require Checker
40-
run: composer crc
41-
42-
- name: Composer Unused
43-
run: composer unused
39+
- name: Composer Dependency Analysis
40+
run: composer cda
4441

4542
- name: CS Check
4643
run: composer cs-check

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2020
3+
Copyright (c) 2016-2026
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer-dependency-analyser.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
6+
7+
return new Configuration()
8+
// Adjusting scanned paths
9+
->addPathToScan(__DIR__ . '/src', false)
10+
->addPathToScan(__DIR__ . '/tests', true);

composer-require-checker.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

composer-unused.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

composer.json

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,33 @@
2929
}
3030
],
3131
"require": {
32-
"php": "^8.2",
32+
"php": "^8.4",
3333
"ext-session": "*",
3434

35-
"symfony/config": "^6.4 || ^7.0",
36-
"symfony/http-kernel": "^6.4 || ^7.0",
37-
"symfony/dependency-injection": "^6.4 || ^7.0",
35+
"symfony/config": "^7.4 || ^8.0",
36+
"symfony/http-kernel": "^7.4 || ^8.0",
37+
"symfony/dependency-injection": "^7.4 || ^8.0",
3838
"psr/clock": "^1.0",
3939

40-
"doctrine/dbal": "^3.0 || ^4.0",
41-
"doctrine/persistence": "^3.2",
42-
"doctrine/orm": "^2.7 || ^3.2",
43-
"nesbot/carbon": "^3.5",
44-
"doctrine/doctrine-bundle": "^2.12"
40+
"doctrine/dbal": "^4.4",
41+
"doctrine/persistence": "^4.1",
42+
"doctrine/orm": "^3.5",
43+
"nesbot/carbon": "^3.11",
44+
"doctrine/doctrine-bundle": "^3.1"
4545
},
4646
"require-dev":{
47-
"doctrine/coding-standard": "^12.0",
47+
"ext-mbstring": "*",
48+
"doctrine/coding-standard": "^14.0",
4849
"roave/security-advisories": "dev-master",
49-
"squizlabs/php_codesniffer": "^3.7",
50-
"phpstan/phpstan": "^1.10",
51-
"phpstan/phpstan-deprecation-rules": "^1.1",
52-
"phpstan/phpstan-phpunit": "^1.3",
53-
"phpstan/phpstan-strict-rules": "^1.5",
54-
"maglnet/composer-require-checker": "^4.7",
55-
"phpunit/phpunit": "^10.5",
56-
"symfony/var-dumper": "^7.0",
57-
"dg/bypass-finals": "^1.5",
58-
"icanhazstring/composer-unused": "^0.8"
50+
"squizlabs/php_codesniffer": "^4.0",
51+
"phpstan/phpstan": "^2.1",
52+
"phpstan/phpstan-deprecation-rules": "^2.0",
53+
"phpstan/phpstan-phpunit": "^2.0",
54+
"phpstan/phpstan-strict-rules": "^2.0",
55+
"phpunit/phpunit": "^12.5",
56+
"symfony/var-dumper": "^8.0",
57+
"dg/bypass-finals": "^1.9",
58+
"shipmonk/composer-dependency-analyser": "^1.8.4"
5959
},
6060
"autoload": {
6161
"psr-4": {
@@ -64,15 +64,13 @@
6464
},
6565
"scripts": {
6666
"check": [
67-
"@crc",
68-
"@unused",
67+
"@cda",
6968
"@cs-check",
7069
"@phpstan"
7170
],
72-
"unused": "vendor/bin/composer-unused",
7371
"phpstan-update-baseline": "phpstan analyse --ansi --generate-baseline phpstan-baseline.neon",
7472
"phpstan": "./vendor/bin/phpstan analyse ./src",
75-
"crc": "./vendor/bin/composer-require-checker --config-file=./composer-require-checker.json",
73+
"cda": "vendor/bin/composer-dependency-analyser --config=./composer-dependency-analyser.php",
7674
"phpunit": "./vendor/bin/phpunit",
7775
"cs-fix": "./vendor/bin/phpcbf",
7876
"cs-check": "./vendor/bin/phpcs -s"

0 commit comments

Comments
 (0)