-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.0 support #12 #14
Conversation
Signed-off-by: chenhan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove .phpunit,results.cache from Pull-Request.
Travis CI is gone and the new workflow for continuous integration must be added that the tests can be run. (See also on other components for help, e.g. laminas-feed.)
.phpunit.result.cache
Outdated
@@ -0,0 +1 @@ | |||
C:37:"PHPUnit\Runner\DefaultTestResultCache":2827:{a:2:{s:7:"defects";a:1:{s:94:"LaminasTest\Permissions\Rbac\Assertion\CallbackAssertionTest::testCallbackIsDecoratedAsClosure";i:4;}s:5:"times";a:35:{s:94:"LaminasTest\Permissions\Rbac\Assertion\CallbackAssertionTest::testCallbackIsDecoratedAsClosure";d:0.02;s:96:"LaminasTest\Permissions\Rbac\Assertion\CallbackAssertionTest::testAssertMethodPassRbacToCallback";d:0.002;s:78:"LaminasTest\Permissions\Rbac\Assertion\CallbackAssertionTest::testAssertMethod";d:0.001;s:84:"LaminasTest\Permissions\Rbac\Assertion\CallbackAssertionTest::testAssertWithCallable";d:0;s:88:"LaminasTest\Permissions\Rbac\Assertion\CallbackAssertionTest::testAssertWithInvalidValue";d:0.004;s:61:"LaminasTest\Permissions\Rbac\RbacTest::testIsGrantedAssertion";d:0.003;s:62:"LaminasTest\Permissions\Rbac\RbacTest::testIsGrantedSingleRole";d:0;s:62:"LaminasTest\Permissions\Rbac\RbacTest::testIsGrantedChildRoles";d:0;s:67:"LaminasTest\Permissions\Rbac\RbacTest::testIsGrantedWithInvalidRole";d:0;s:50:"LaminasTest\Permissions\Rbac\RbacTest::testGetRole";d:0;s:50:"LaminasTest\Permissions\Rbac\RbacTest::testHasRole";d:0.002;s:68:"LaminasTest\Permissions\Rbac\RbacTest::testHasRoleWithInvalidElement";d:0;s:59:"LaminasTest\Permissions\Rbac\RbacTest::testGetUndefinedRole";d:0;s:60:"LaminasTest\Permissions\Rbac\RbacTest::testAddRoleFromString";d:0;s:59:"LaminasTest\Permissions\Rbac\RbacTest::testAddRoleFromClass";d:0;s:58:"LaminasTest\Permissions\Rbac\RbacTest::testAddRoleNotValid";d:0;s:70:"LaminasTest\Permissions\Rbac\RbacTest::testAddRoleWithParentsUsingRbac";d:0;s:79:"LaminasTest\Permissions\Rbac\RbacTest::testAddRoleWithAutomaticParentsUsingRbac";d:0;s:61:"LaminasTest\Permissions\Rbac\RbacTest::testAddCustomChildRole";d:0.048;s:64:"LaminasTest\Permissions\Rbac\RbacTest::testAddMultipleParentRole";d:0.001;s:56:"LaminasTest\Permissions\Rbac\RbacTest::testAddParentRole";d:0;s:51:"LaminasTest\Permissions\Rbac\RbacTest::testGetRoles";d:0;s:53:"LaminasTest\Permissions\Rbac\RbacTest::testEmptyRoles";d:0;s:54:"LaminasTest\Permissions\Rbac\RoleTest::testConstructor";d:0;s:50:"LaminasTest\Permissions\Rbac\RoleTest::testGetName";d:0;s:56:"LaminasTest\Permissions\Rbac\RoleTest::testAddPermission";d:0;s:60:"LaminasTest\Permissions\Rbac\RoleTest::testInvalidPermission";d:0;s:51:"LaminasTest\Permissions\Rbac\RoleTest::testAddChild";d:0;s:52:"LaminasTest\Permissions\Rbac\RoleTest::testAddParent";d:0;s:62:"LaminasTest\Permissions\Rbac\RoleTest::testPermissionHierarchy";d:0;s:67:"LaminasTest\Permissions\Rbac\RoleTest::testCircleReferenceWithChild";d:0.002;s:68:"LaminasTest\Permissions\Rbac\RoleTest::testCircleReferenceWithParent";d:0;s:57:"LaminasTest\Permissions\Rbac\RoleTest::testGetPermissions";d:0;s:58:"LaminasTest\Permissions\Rbac\RoleTest::testAddTwoChildRole";d:0;s:56:"LaminasTest\Permissions\Rbac\RoleTest::testAddSameParent";d:0;}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be excluded from Repo through .gitignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I will delete this file and add in .gitignore
.travis.yml
Outdated
- php: 7.3 | ||
env: | ||
- DEPS=lowest | ||
- php: 7.3 | ||
- php: 8.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this file should be deleted too, but it is still in instructions.
Why did you replace PHP 7.4 instead of adding 8.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for this one...
I checked other component's Pull-Request to learn what should i do, for example: laminas-di
Actually this file should be deleted too, but it is still in instructions.
I will delete this file.
Just for linking - should implement #12 |
Signed-off-by: 陈瀚 <[email protected]>
Signed-off-by: 陈瀚 <[email protected]>
Signed-off-by: 陈瀚 <[email protected]>
Closing this in favor of #20 |
Description