Arachne / Security

Authentication and authorization for Nette framework. Deals with cases that are difficult to implement with nette/security.
MIT License
2 stars 7 forks source link

#2 - TypeError:: isAllowed type hint string no allowed Nette\Security\IAuthorizator::ALL #3

Closed duskohu closed 6 years ago

mabar commented 6 years ago

Please fix tests too - Tests\Integration\Classes\Authorizator::isAllowed($resource, string $privilege): bool

duskohu commented 6 years ago

Hi, I fixed test, but I don't know why tests are failing.

enumag commented 6 years ago

Travis check is failing for all arachne packages at the moment because there is new version of phony but no compatible version of phony-phpunit (I'm checking if all dependencies are up to date using composer outdated --direct). @ezzatron will probably release a new version soon, see https://github.com/eloquent/phony-phpunit/issues/1 for details.

Anyway that's completely unrelated so I'll merge this now. Thank you!