Skip to content

Commit 80bbbbd

Browse files
authored
Merge pull request #4 from driehle/feat/php8.4
Drop PHP 7.4 and 8.1, add PHP 8.4
2 parents 3823b7c + 55e9104 commit 80bbbbd

File tree

3 files changed

+21
-24
lines changed

3 files changed

+21
-24
lines changed

.php-cs-fixer.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
->name('*.php')
66
->ignoreDotFiles(true)
77
->ignoreVCS(true)
8-
->in(__DIR__ . '/library/')
8+
->in(__DIR__ . '/src/')
99
->in(__DIR__ . '/tests/');
1010

1111
return (new PhpCsFixer\Config())
@@ -15,7 +15,9 @@
1515
'@PSR2' => true,
1616
'@Symfony' => true,
1717
'@DoctrineAnnotation' => true,
18-
'@PHP74Migration' => true,
18+
'@PHP74Migration' => true,
19+
'@PHP80Migration' => true,
20+
'@PHP81Migration' => true,
1921
'align_multiline_comment' => ['comment_type' => 'phpdocs_like'],
2022
'concat_space' => ['spacing' => 'one'],
2123
'echo_tag_syntax' => ['format' => 'long'],

composer.json

+17-22
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,46 @@
11
{
22
"name": "driehle/php-crypt-md5",
3-
"type": "library",
43
"description": "A pure PHP implementation of an MD5-hashsum-based implementation of the crypt routine, which can be used to generate hashs for Apache's passwd files",
4+
"license": [
5+
"GPL-3.0+",
6+
"LGPL-3.0+"
7+
],
8+
"type": "library",
59
"keywords": [
610
"Crypt",
711
"MD5",
812
"Apache",
913
"passwd",
1014
"htaccess"
1115
],
12-
"homepage": "https://github.com/driehle/php-crypt-md5",
13-
"license": [
14-
"GPL-3.0+",
15-
"LGPL-3.0+"
16-
],
1716
"authors": [
1817
{
19-
"name": "Dennis Riehle",
18+
"name": "Dennis M. Riehle",
2019
"role": "Developer"
2120
}
2221
],
22+
"homepage": "https://github.com/driehle/php-crypt-md5",
2323
"require": {
24-
"php": ">=7.4 <8.4"
24+
"php": ">=8.1 <8.5"
2525
},
2626
"require-dev": {
27-
"ergebnis/composer-normalize": "^2.18.0",
28-
"friendsofphp/php-cs-fixer": "^3.4.0",
29-
"phpunit/phpunit": "^9.5.11"
30-
},
31-
"extra": {
32-
"branch-alias": {
33-
"dev-master": "3.4-dev"
34-
}
27+
"ergebnis/composer-normalize": "^2.44.0",
28+
"friendsofphp/php-cs-fixer": "^3.65.0",
29+
"phpunit/phpunit": "^10.5.38"
3530
},
3631
"autoload": {
3732
"psr-0": {
38-
"Md5Crypt\\": "library/"
33+
"Md5Crypt\\": "src/"
3934
}
4035
},
41-
"scripts": {
42-
"cs-check": "php-cs-fixer fix --dry-run --verbose",
43-
"cs-fix": "php-cs-fixer fix --verbose",
44-
"test": "phpunit"
45-
},
4636
"config": {
4737
"allow-plugins": {
4838
"ergebnis/composer-normalize": true
4939
}
40+
},
41+
"scripts": {
42+
"cs-check": "php-cs-fixer fix --dry-run --verbose",
43+
"cs-fix": "php-cs-fixer fix --verbose",
44+
"test": "phpunit"
5045
}
5146
}
File renamed without changes.

0 commit comments

Comments
 (0)