Skip to content

Commit

Permalink
Merge pull request #454 from jolicode/up
Browse files Browse the repository at this point in the history
Update all the things
  • Loading branch information
lyrixx committed May 7, 2024
2 parents 916092d + 382097f commit 400e671
Show file tree
Hide file tree
Showing 9 changed files with 225 additions and 212 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"require": {
"php": ">=8.1",
"composer/composer": "^2.7.5",
"composer/composer": "^2.7.6",
"jolicode/jolinotif": "^2.7.1",
"jolicode/php-os-helper": "^0.1.0",
"monolog/monolog": "^3.6",
Expand Down
26 changes: 13 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/Generated/CastorComposerTest.php.output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 2.7.5 2024-05-03 16:23:40
Composer version 1.2.3

Usage:
command [options] [arguments]
Expand Down
4 changes: 4 additions & 0 deletions tests/Helper/OutputCleaner.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ public static function cleanOutput(string $string): string
$string = str_replace('.../src/Runner/../../tools/watcher/bin/watcher-linux-amd64', 'watcher', $string);
$string = str_replace('/tmp/watcher-linux-amd64', 'watcher', $string);

// composer version
$string = preg_replace('{Composer version \d+.\d+.\d+ \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}}', 'Composer version 1.2.3', $string);

// castor version
$string = preg_replace('{you are using v\d+.\d+.\d+.}m', 'you are using vX.Y.Z.', $string);

return preg_replace('{castor v\d+.\d+.\d+}m', 'castor v.X.Y.Z', $string);
Expand Down

0 comments on commit 400e671

Please sign in to comment.