Skip to content

Commit

Permalink
Issue #18: Bump Psalm to 6.x
Browse files Browse the repository at this point in the history
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
  • Loading branch information
alexmerlin committed Jan 27, 2025
1 parent b8f3955 commit 35599e3
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"ignore_php_platform_requirements": {
"8.4": true
},
"backwardCompatibilityCheck": true
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Authorization base package defining interfaces for authorization services to be used with Dotkernel applications.

![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-authorization)
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-authorization/3.6.0)
![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-authorization/3.6.1)

[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-authorization)](https://github.com/dotkernel/dot-authorization/issues)
[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-authorization)](https://github.com/dotkernel/dot-authorization/network)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require-dev": {
"laminas/laminas-coding-standard": "^3.0",
"phpunit/phpunit": "10.2",
"vimeo/psalm": "^5.13"
"vimeo/psalm": "^6.0"
},
"autoload": {
"psr-4": {
Expand Down
28 changes: 28 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="6.0.0@b8e96bb617bf59382113b1b56cef751f648a7dc9">
<file src="src/AuthorizationInterface.php">
<UnusedClass>
<code><![CDATA[AuthorizationInterface]]></code>
</UnusedClass>
</file>
<file src="src/Exception/ForbiddenException.php">
<UnusedClass>
<code><![CDATA[ForbiddenException]]></code>
</UnusedClass>
</file>
<file src="src/Exception/RuntimeException.php">
<UnusedClass>
<code><![CDATA[RuntimeException]]></code>
</UnusedClass>
</file>
<file src="src/Identity/IdentityInterface.php">
<UnusedClass>
<code><![CDATA[IdentityInterface]]></code>
</UnusedClass>
</file>
<file src="src/Role/RoleInterface.php">
<PossiblyUnusedMethod>
<code><![CDATA[getName]]></code>
</PossiblyUnusedMethod>
</file>
</files>
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src" />
Expand Down

0 comments on commit 35599e3

Please sign in to comment.