-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSS Gate Workshop: PHP Lovers: 2024-01-15: OHMORIYUSUKE: erusev/parsedown: Work log #1760
Comments
マークダウンパーサーにPRを出したい |
READMEのexampleコードを実行しました。
main.php
その結果、以下のような結果になりました。
|
main.phpを以下のコードにすることで実行できました。
|
https://github.com/erusev/parsedown/issues?page=1&q=is%3Aissue+is%3Aopen+example exampleコードをコピペで動作しないことに関するissueは見つかりませんでした。 |
日本語でissueの下書きをしました。 issueのタイトル:READMEのexampleコードをそのまま実行したところ実行できませんでした
しかし、このコードではエラーが発生します。
上記のようなコードにexampleを変更していただけませんか。 |
英語でissueを書きました。 I tried executing the example code in the README as is, but it did not work.The README example had the following code.
But this code gives me an error.
Could you please change the example to the code above? |
erusev/parsedown#862 |
PHP UnitがPHP 8.3だと落ちる
原因はPHP 8ではeach関数がないため |
https://github.com/erusev/parsedown/tree/2.0.x 2.0.xブランチではPHP 8.x で動作する |
PHP 8.3 では
|
infection/infection のバージョンを0.27.0 に変更することで解決する |
変更後にvendorとcomposer.lockを削除し、改めて composer.jsonは以下のように変更される。
|
|
PHPUnitも正常に完了する。
|
自分のアカウントにフォークする。 |
自分のアカウントのレポジトリ、2.0.xブランチからブランチ( https://github.com/OHMORIYUSUKE/parsedown/tree/feat/php8.3-phpunit )を作る。 作ったブランチからフォーク元のレポジトリの2.0.xブランチ( https://github.com/erusev/parsedown/tree/2.0.x )にPRを出す。 |
PRを作成しました。 |
ciにphp 8.3を追加しました。 |
おつかれさまでした! ワークショップの終了にともないissueを閉じますが、このまま作業メモとして使っても構いません 👌 ワークショップの感想を集めています! ブログなどに書かれた際は、このページへリンクの追加をお願いします 🙏 またの参加をお待ちしています! |
This is a work log of a "OSS Gate workshop".
"OSS Gate workshop" is an activity to increase OSS developers.
Here's been discussed in Japanese. Thanks.
作業ログ作成時の説明
以下のテンプレートを埋めてタイトルに設定します。埋め方例はスクロールすると見えてきます。
タイトル例↓:
OSS Gateワークショップ関連情報
The text was updated successfully, but these errors were encountered: