Skip to content

Commit 318e102

Browse files
authored
Merge pull request #43 from snapshotpl/php-8.1
Allow php 8.1
2 parents eff894a + 4d53947 commit 318e102

File tree

59 files changed

+198
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+198
-85
lines changed

composer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,18 @@
1717
"forum": "https://discourse.laminas.dev"
1818
},
1919
"config": {
20-
"sort-packages": true
20+
"sort-packages": true,
21+
"allow-plugins": {
22+
"dealerdirect/phpcodesniffer-composer-installer": true
23+
}
2124
},
2225
"extra": {
2326
"laminas": {
2427
"module": "Laminas\\ApiTools\\MvcAuth"
2528
}
2629
},
2730
"require": {
28-
"php": "^7.3 || ~8.0.0",
31+
"php": "^7.3 || ~8.0.0 || ~8.1.0",
2932
"laminas-api-tools/api-tools-api-problem": "^1.4.0",
3033
"laminas-api-tools/api-tools-content-negotiation": "^1.5.0",
3134
"laminas-api-tools/api-tools-oauth2": "^1.7",
@@ -34,13 +37,13 @@
3437
"laminas/laminas-http": "^2.5.4",
3538
"laminas/laminas-mvc": "^2.7.9 || ^3.0.2",
3639
"laminas/laminas-permissions-acl": "^2.6",
37-
"laminas/laminas-permissions-rbac": "^2.5.1 || ^3.0",
40+
"laminas/laminas-permissions-rbac": "^2.6.0 || ^3.0",
3841
"laminas/laminas-servicemanager": "^2.7.6 || ^3.1",
3942
"laminas/laminas-stdlib": "^2.7.8 || ^3.0.1",
4043
"laminas/laminas-zendframework-bridge": "^1.1"
4144
},
4245
"require-dev": {
43-
"laminas/laminas-coding-standard": "~2.2.0",
46+
"laminas/laminas-coding-standard": "~2.3.0",
4447
"laminas/laminas-session": "^2.8.5",
4548
"phpspec/prophecy-phpunit": "^2.0",
4649
"phpunit/phpunit": "^9.3",
@@ -64,6 +67,7 @@
6467
],
6568
"cs-check": "phpcs",
6669
"cs-fix": "phpcbf",
70+
"static-analysis": "psalm --shepherd --stats",
6771
"test": "phpunit --colors=always",
6872
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
6973
},

composer.lock

Lines changed: 76 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/module.config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth;
46

57
use Laminas\Authentication\Storage\NonPersistent;

src/Authentication/AbstractAdapter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth\Authentication;
46

57
use Laminas\Http\Request;

src/Authentication/AdapterInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth\Authentication;
46

57
use Laminas\ApiTools\MvcAuth\Identity\IdentityInterface;

src/Authentication/DefaultAuthenticationListener.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth\Authentication;
46

57
use InvalidArgumentException;

src/Authentication/DefaultAuthenticationPostListener.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth\Authentication;
46

57
use Laminas\ApiTools\MvcAuth\MvcAuthEvent;

src/Authentication/HttpAdapter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth\Authentication;
46

57
use Laminas\ApiTools\MvcAuth\Identity;

src/Authentication/OAuth2Adapter.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth\Authentication;
46

57
use Laminas\ApiTools\MvcAuth\Identity;

src/Authorization/AclAuthorization.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Laminas\ApiTools\MvcAuth\Authorization;
46

57
use Laminas\ApiTools\MvcAuth\Identity\IdentityInterface;

0 commit comments

Comments
 (0)