Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ coverage/html/
.vscode
cloudinary-image-management-and-manipulation-in-the-cloud-cdn
cloudinary-image-management-and-manipulation-in-the-cloud-cdn.zip

# phpstan
phpstan/
4 changes: 4 additions & 0 deletions .phpstan/class-aliases.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php

class WPCOM_VIP_CLI_Command {}
class WP_CLI_Command {}
7 changes: 7 additions & 0 deletions .phpstan/constants.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

define( 'WPCOM_IS_VIP_ENV', '' );
define( 'WPINC', '' );
define( 'LOGGED_IN_COOKIE', '' );
define( 'CLDN_URL', '' );
define( 'CLDN_PATH', '' );
4 changes: 4 additions & 0 deletions .phpstan/functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php

function wpcom_vip_attachment_url_to_postid( $file ) {}
function wc_get_product() {}
53 changes: 28 additions & 25 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
{
"name": "cloudinary/cloudinary-image-management-and-manipulation-in-the-cloud-cdn",
"homepage": "https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"ext-json": "*"
},
"require-dev": {
"wp-coding-standards/wpcs": "^2.3",
"automattic/vipwpcs": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0"
},
"config": {
"platform": {
"php": "5.6.20"
}
},
"scripts": {
"lint": [
"phpcs --ignore=*js/*"
],
"fix": [
"phpcbf --ignore=*js/*"
]
}
"name": "cloudinary/cloudinary-image-management-and-manipulation-in-the-cloud-cdn",
"homepage": "https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/",
"description": "Cloudinary is a cloud service that offers a solution to a web application's entire image and video management pipeline.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"ext-json": "*"
},
"require-dev": {
"wp-coding-standards/wpcs": "^2.3",
"automattic/vipwpcs": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"szepeviktor/phpstan-wordpress": "^0.7.5",
"phpstan/extension-installer": "^1.1"
},
"config": {
"platform": {
"php": "7.1"
}
},
"scripts": {
"lint": [
"phpcs --ignore=*js/*"
],
"fix": [
"phpcbf --ignore=*js/*"
]
}
}
Loading