Skip to content

Commit

Permalink
1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudmersive committed Jul 2, 2023
1 parent e5503b3 commit 44f059a
Show file tree
Hide file tree
Showing 209 changed files with 1,663 additions and 1,012 deletions.
33 changes: 19 additions & 14 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
<?php

return Symfony\CS\Config::create()
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
return PhpCsFixer\Config::create()
->setUsingCache(true)
->fixers(
[
'ordered_use',
'phpdoc_order',
'short_array_syntax',
'strict',
'strict_param'
]
)
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__)
->setRules([
'@PSR2' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
'array_syntax' => [ 'syntax' => 'short' ],
'strict_comparison' => true,
'strict_param' => true,
'no_trailing_whitespace' => false,
'no_trailing_whitespace_in_comment' => false,
'braces' => false,
'single_blank_line_at_eof' => false,
'blank_line_after_namespace' => false,
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude('test')
->exclude('tests')
->in(__DIR__)
);
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.1
2.4.32
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The validation APIs help you validate data. Check if an E-mail address is real.
[Cloudmersive Validation API](https://www.cloudmersive.com/validate-api) provides data validation capabilities for validating email addresses, phone numbers, IP addresses, and many other types of business data.

- API version: v1
- Package version: 1.8.0
- Package version: 1.8.1


## Requirements
Expand Down
3 changes: 1 addition & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ Remove-Item –path ./cloudmersive_validate_api_client –recurse
(Get-Content ./composer.json).replace('https://github.com/swagger-api/swagger-codegen', 'https://cloudmersive.com') | Set-Content ./composer.json
(Get-Content ./composer.json).replace('http://swagger.io', 'https://cloudmersive.com') | Set-Content ./composer.json

# & C:\tools\php\php C:\ProgramData\ComposerSetup\bin\composer.phar config -g -- disable-tls true
& C:\tools\php71\php C:\ProgramData\ComposerSetup\bin\composer.phar install
& php C:\Users\adm101\composer.phar install
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmersive/cloudmersive_validate_api_client",
"version": "1.8.0",
"version": "1.8.1",
"description": "",
"keywords": [
"swagger",
Expand All @@ -26,7 +26,7 @@
"require-dev": {
"phpunit/phpunit": "^4.8",
"squizlabs/php_codesniffer": "~2.6",
"friendsofphp/php-cs-fixer": "~1.12"
"friendsofphp/php-cs-fixer": "~2.12"
},
"autoload": {
"psr-4": { "Swagger\\Client\\" : "lib/" }
Expand Down
14 changes: 11 additions & 3 deletions git_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
git_user_id=$1
git_repo_id=$2
release_note=$3
git_repo_base_url=$4

if [ "$git_user_id" = "" ]; then
git_user_id="Cloudmersive"
Expand All @@ -22,6 +23,11 @@ if [ "$release_note" = "" ]; then
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
fi

if [ "$git_repo_base_url" = "" ]; then
git_repo_base_url="https://github.com"
echo "[INFO] No command line input provided. Set \$git_repo_base_url to $git_repo_base_url"
fi

# Initialize the local directory as a Git repository
git init

Expand All @@ -37,16 +43,18 @@ if [ "$git_remote" = "" ]; then # git remote not defined

if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
git remote add origin ${git_repo_base_url}/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
git_repo_base_url=${git_repo_base_url#*//}
git_repo_base_url=${git_repo_base_url%%.*}
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_repo_base_url}.com/${git_user_id}/${git_repo_id}.git
fi

fi

git pull origin master

# Pushes (Forces) the changes in the local repository up to the remote repository
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
echo "Git pushing to https://${git_repo_base_url}.com/${git_user_id}/${git_repo_id}.git"
git push origin master 2>&1 | grep -v 'To https'

Loading

0 comments on commit 44f059a

Please sign in to comment.