Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Add PHP8 Compatibility #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frost-byte
Copy link

Fix compiler error for compile_ast
Make the extension compatible with newer versions of php
Convert final steps of docker build into a script
Change whitelist to allowed
Make unit tests compatible with latest version of phpunit
Add configuration for app engine project id
Update CircleCI configuration
Maintain backwards compat. for zval str dtor
Make warning/notify tests backwards compatible
Prevent seg fault when iterating logpoints in ast_process
Install gcloud tools for Dockerfile using apt
Remove memory leaks when creating debugger ast
Update string assertions in phpunit tests
Refactor Dockerfile to handle env vars needed for test build
Add substitutions to cloudbuild
Update php image versions used by cloudbuild

Cloudbuild

The updated cloudbuild.yaml has references to gcr images that are built using my PR for GCP/php-docker

Circle CI

The tests do not finish because they go over the 10 minute limit set by cloudbuild.
However, they do pass for the images generated by my PR for gae-php80, gae-php74 and gae-php73.
They also pass for php80-nts, it timed out during php80-zts

Whitelist > Allowed

I found documentation related to submitting code related to Google Projects that mentioned standards, including one that said the word 'whitelist' should not be used. So, all references to that have been changed to Allowed

Dockerfile

I have added additional Build Arguments and Substitutions for cloudbuild to accommodate CircleCI.
This new Circle CI configuration requires a docker account/password to use the google/cloud-sdk, though it could be reconfigured to use the circleci/gcp-cli orb

@frost-byte frost-byte force-pushed the php8 branch 3 times, most recently from f855707 to ada7756 Compare May 18, 2021 21:26
Fix compiler error for compile_ast
Make the extension compatible with newer versions of php
Convert final steps of docker build into a script
Change `whitelist` to `allowed `
Make unit tests compatible with latest version of phpunit
Add configuration for app engine project id
Update CircleCI configuration
Maintain backwards compat. for zval str dtor
Make warning/notify tests backwards compatible
Prevent seg fault when iterating logpoints in `ast_process`
Install gcloud tools for Dockerfile using apt
Remove memory leaks when creating debugger ast
Update string assertions in phpunit tests
Refactor Dockerfile to handle env vars needed for test build
Add substitutions to cloudbuild
Update php image versions used by cloudbuild
Set cloud build timeout to 2100 seconds
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant