Skip to content

implemented phpUnit test, psalm, phpcs and static analysis#10

Merged
arhimede merged 4 commits intodotkernel:3.0from
poprazvan17:3.0
Jul 25, 2023
Merged

implemented phpUnit test, psalm, phpcs and static analysis#10
arhimede merged 4 commits intodotkernel:3.0from
poprazvan17:3.0

Conversation

@poprazvan17
Copy link
Copy Markdown
Contributor

No description provided.

@alexmerlin alexmerlin self-requested a review July 20, 2023 12:52
This was linked to issues Jul 20, 2023
Copy link
Copy Markdown
Member

@alexmerlin alexmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please fix the namespaces of your test files.
  2. Please add tests for the *Exceptions as well.
  3. README.md: In preparation for a 3.4.0 release, please replace on the line with PHP from Packagist the string 3.2.0 with 3.4.0.

Comment thread src/AuthorizationInterface.php Outdated
Comment thread src/AuthorizationInterface.php Outdated
Comment thread src/Exception/ExceptionInterface.php Outdated
Comment thread src/Identity/IdentityInterface.php Outdated
Comment thread src/Role/RoleInterface.php Outdated
Comment thread src/Role/RoleInterface.php Outdated
Comment thread .gitignore Outdated
Comment thread phpunit.xml Outdated
Copy link
Copy Markdown
Member

@alexmerlin alexmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small things left to fix:

  • src/AuthorizationInterface.php: remove PHPDoc comment
  • test/AuthorizationInterfaceTest.php: remove the 3rd (null) parameter from the testFunction method (as you can see, it's greyed out by the IDE)

@arhimede arhimede merged commit c2692d2 into dotkernel:3.0 Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

green badge Code quality

3 participants