Skip to content

Conversation

@szepeviktor
Copy link

@szepeviktor szepeviktor commented May 29, 2020

@DavidCramer Done :) 🍏

vendor/bin/phpcs --standard=WordPress-VIP-Go --exclude=WordPress.WP.TimezoneChange \
  cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/ \
  cloudinary-image-management-and-manipulation-in-the-cloud-cdn/cloudinary.php

as per Automattic/VIP-Coding-Standards#457

```bash
vendor/bin/phpcs --standard=WordPress-VIP-Go --exclude=WordPress.WP.TimezoneChange \
  cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/ cloudinary-image-management-and-manipulation-in-the-cloud-cdn/cloudinary.php
```

as per Automattic/VIP-Coding-Standards#457
@szepeviktor szepeviktor changed the title Fixes/from phpstan Fixes from phpstan May 29, 2020
@DavidCramer
Copy link
Contributor

Thanks@szepeviktor ! I really appreciate it. I'll review this over the weekend!

@pereirinha
Copy link
Contributor

Thank you, @szepeviktor, for the PR.

I see value in integrating PHPStan as part of our CI, but we've been having issues as the plugin needs to be compatible with PHP 5.6.

For that reason, I'm closing this PR in favor of #391.

Perhaps you've some ideas on how to overcome the failed builds.

@pereirinha pereirinha closed this Sep 27, 2021
@szepeviktor
Copy link
Author

szepeviktor commented Sep 27, 2021

Perhaps you've some ideas on how to overcome the failed builds.

Hello @pereirinha! CI should install PHPStan breaking PHP 5.6 compatibility.
As a new job: https://github.com/cloudinary/cloudinary_wordpress/blob/master/.travis.yml#L12
PHPStan is a modern, "non-WordPress" tool.

@szepeviktor szepeviktor deleted the fixes/from-phpstan branch September 27, 2021 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants