Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jolicode/harvest-openapi-generator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.3.0
Choose a base ref
...
head repository: jolicode/harvest-openapi-generator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.0
Choose a head ref
  • 8 commits
  • 7 files changed
  • 1 contributor

Commits on Nov 12, 2022

  1. updated deps

    xavierlacot committed Nov 12, 2022
    Copy the full SHA
    bf76a43 View commit details
  2. Merge pull request #23 from jolicode/feat/update-deps

    updated deps
    xavierlacot authored Nov 12, 2022
    Copy the full SHA
    fb23dad View commit details
  3. Copy the full SHA
    d407b03 View commit details
  4. Merge pull request #24 from jolicode/fix/missing-example-schema

    added the schema for the new invoice message subject and body endpoint
    xavierlacot authored Nov 12, 2022
    Copy the full SHA
    196746e View commit details
  5. Copy the full SHA
    3bc38b9 View commit details
  6. Merge pull request #25 from jolicode/fix/example-schema

    fixed the /users/{userId}/teammates patch response example schema
    xavierlacot authored Nov 12, 2022
    Copy the full SHA
    fc42543 View commit details

Commits on Apr 17, 2023

  1. Copy the full SHA
    4bb214a View commit details
  2. Merge pull request #26 from jolicode/feat/pagination-cursor

    Add support for the newly introduced pagination cursors
    xavierlacot authored Apr 17, 2023
    Copy the full SHA
    d767707 View commit details
Showing with 342 additions and 96 deletions.
  1. +1 −1 .gitignore
  2. +19 −17 .php_cs → .php-cs-fixer.php
  3. +5 −5 composer.json
  4. +257 −67 generated/harvest-openapi.yaml
  5. +2 −0 src/Command/GenerateCommand.php
  6. +34 −0 src/Dumper/Dumper.php
  7. +24 −6 src/Extractor/Extractor.php
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ composer.lock
composer.phar

# CS
.php_cs.cache
.php-cs-fixer.cache

# Downloaded files
var
36 changes: 19 additions & 17 deletions .php_cs → .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -9,34 +9,36 @@
file that was distributed with this source code.
EOF;

return PhpCsFixer\Config::create()
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('generated')
->exclude('vendor')
;

return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'header_comment' => ['header' => $header],
'array_syntax' => ['syntax' => 'short'],
'combine_consecutive_unsets' => true,
'echo_tag_syntax' => ['format' => 'long'],
'header_comment' => ['header' => $header],
'heredoc_to_nowdoc' => true,
'no_extra_blank_lines' => ['tokens' => ['break', 'continue', 'extra', 'return', 'throw', 'use', 'parenthesis_brace_block', 'square_brace_block', 'curly_brace_block']],
'no_unreachable_default_argument_value' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
'ordered_imports' => true,
'heredoc_to_nowdoc' => true,
'php_unit_strict' => true,
'php_unit_construct' => true,
'php_unit_strict' => true,
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_order' => true,
'semicolon_after_instruction' => true,
'strict_comparison' => true,
'strict_param' => true,
'no_extra_consecutive_blank_lines' => ['break', 'continue', 'extra', 'return', 'throw', 'use', 'parenthesis_brace_block', 'square_brace_block', 'curly_brace_block'],
'no_short_echo_tag' => true,
'no_unreachable_default_argument_value' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'semicolon_after_instruction' => true,
'combine_consecutive_unsets' => true,
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('generated')
->exclude('vendor')
)
->setUsingCache(true)
->setFinder($finder)
;
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -16,12 +16,12 @@
}
},
"require": {
"symfony/console": "^4.2",
"symfony/dom-crawler": "^4.2",
"symfony/css-selector": "^4.2",
"symfony/yaml": "^4.2"
"symfony/console": "^6.1",
"symfony/dom-crawler": "^6.1",
"symfony/css-selector": "^6.1",
"symfony/yaml": "^6.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14"
"friendsofphp/php-cs-fixer": "^3.13"
}
}
Loading