Add aws-sdk-php tests: getBucketPolicyStatus and deleteBucketPolicy; (#12098)
Add aws-sdk-php tests: getBucketPolicyStatus and deleteBucketPolicy; (#12098)

Fix PHP 8 errors and warnings

Signed-off-by: Harshavardhana <648737a4d5e8e7f3005f086c2dbed7bf1e0319c8@minio.io>

donatello/minio,donatello/minio,minio/minio,minio/minio,NitishT/minio,NitishT/minio,NitishT/minio,vadmeste/minio,balamurugana/minio,krisis/minio,vadmeste/minio,krisis/minio,NitishT/minio,balamurugana/minio