Skip to content

Commit

Permalink
[#ests] - minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Feb 13, 2024
1 parent c1a7471 commit 553300e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
bootstrap="./phpunit.php"
cacheResultFile="./tests/support/output/coverage/.phpunit.result.cache"
colors="true"
displayDetailsOnTestsThatTriggerWarnings="true"
processIsolation="true"
>
<coverage includeUncoveredFiles="true" />
<testsuites>
<testsuite name="Phalcon v6">
<directory>./tests</directory>
<testsuite name="unit">
<directory>./tests/unit</directory>
</testsuite>
</testsuites>

<source>
<include>
<directory suffix=".php">./src</directory>
Expand Down
3 changes: 2 additions & 1 deletion src/Acl/Adapter/Memory.php
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,8 @@ public function isAllowed(
"You did not provide any parameters when '" .
$roleName . "' can '" . $access .
"' '" . $componentName .
"'. We will use default action when no arguments."
"'. We will use default action when no arguments.",
E_USER_WARNING
);

return $haveAccess == Enum::ALLOW &&
Expand Down

0 comments on commit 553300e

Please sign in to comment.