Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixes from phpstan#91

Closed
szepeviktor wants to merge 4 commits intocloudinary:master from
szepeviktor:fixes/from-phpstan
Closed

Fixes from phpstan #91
szepeviktor wants to merge 4 commits intocloudinary:master from
szepeviktor:fixes/from-phpstan

Conversation

@szepeviktor
Copy link

@szepeviktor szepeviktor commented May 29, 2020
edited
Loading

@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

DavidCramer reacted with thumbs up emoji DavidCramer reacted with hooray emoji
```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
Copy link
Contributor

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

szepeviktor reacted with heart emoji

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.

Copy link
Author

szepeviktor commented Sep 27, 2021
edited
Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /