bluehost / endurance-page-cache

Other
25 stars 12 forks source link

EPC Updates #51

Closed wpscholar closed 5 years ago

wpscholar commented 5 years ago

Added PHP CodeSniffer standards. Brought code into alignment with most standards. Fixed minor bugs. Added unit tests for new features and changes to existing functionality. Added comments to everything. Added code to purge SiteLock CDN when a single purge request is made.

As far as code review, this will best be reviewed one commit at a time.

earnjam commented 5 years ago

I haven't actually tested the code to confirm it works on the environment, but it looks good on a read through. Just had the one question above about stepping down on the phpunit version.

Do we want to set up Travis or CircleCI to run these unit tests or are we just manually running them locally for now?

wpscholar commented 5 years ago

@earnjam I think it would be great to setup an automated tool to run the tests.