Skip to content

Commit

Permalink
chore(deps): update dependency vimeo/psalm to v5.15.0 (#168)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ciaran McNulty <[email protected]>
  • Loading branch information
renovate[bot] and ciaranmcnulty authored Sep 7, 2023
1 parent 30824f6 commit 93d6e87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions php/bin/gherkin
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ use Cucumber\Gherkin\GherkinParser;
use Cucumber\Messages\Source;
use Cucumber\Messages\Streams\NdJson\NdJsonStreamWriter;

assert(is_array($argv), "Script must be run from the command line");

$options = ['predictable-ids', 'no-source', 'no-ast', 'no-pickles'];

$selectedOptions = getopt('', $options, $restIndex);

$paths = array_slice($argv, $restIndex);

// lazily-read list of Sources
$sources = (
/** @param list<string> $paths */
Expand Down
2 changes: 2 additions & 0 deletions php/bin/gherkin-generate-tokens
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ namespace Cucumber\Gherkin;

require __DIR__ . '/../vendor/autoload.php';

assert(is_array($argv), "Script must be run from the command line");

$parser = new Parser(new TokenFormatterBuilder());

// first element is the script name
Expand Down
2 changes: 1 addition & 1 deletion php/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"vimeo/psalm": "5.5.0",
"vimeo/psalm": "5.15.0",
"friendsofphp/php-cs-fixer": "^3.5",
"psalm/plugin-phpunit": "^0.18.0",
"nikic/php-parser": "^4.14"
Expand Down

0 comments on commit 93d6e87

Please sign in to comment.