Skip to content
This repository has been archived by the owner on Jul 4, 2019. It is now read-only.

Updates league/commonmark to ^0.18 #1

Merged
merged 4 commits into from
Jul 4, 2019
Merged

Updates league/commonmark to ^0.18 #1

merged 4 commits into from
Jul 4, 2019

Conversation

sanpii
Copy link
Contributor

@sanpii sanpii commented Apr 30, 2018

No description provided.

@sanpii sanpii changed the title Updates league/commonmark to ^0.17 Updates league/commonmark to ^0.18 Mar 7, 2019
@glensc
Copy link

glensc commented Mar 10, 2019

@sanpii this seems to break compatibility

you should do like commonmark extras does:

"^0.11|^0.12|^0.13|^0.14|^0.15|^0.16|^0.17|^0.18"

@glensc
Copy link

glensc commented Mar 10, 2019

@sanpii also, you should never create PRs from master branch, it may add commits to PR you did not intend, as it's linked with your master branch.

@glensc
Copy link

glensc commented Mar 13, 2019

@lossendae ping; @sanpii ping;

use Lossendae\CommonMark\TaskLists\{
TaskListsParser,
TaskListsCheckboxRenderer
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

composer.json declares php 5.4, this definately is not supported there

@glensc
Copy link

glensc commented Mar 13, 2019

looks to me this requires more changes

@glensc
Copy link

glensc commented Mar 13, 2019

@lossendae you should probably indicate the direction:

  • is it ok to support only 0.18?
  • should php requirement bumped or the changes be compatible with php 5.4

glensc added a commit to eventum/composer that referenced this pull request Mar 13, 2019
@sanpii
Copy link
Contributor Author

sanpii commented Mar 13, 2019

Thank you for your feedbacks. It’s fixed.

@@ -0,0 +1,109 @@
<?php declare(strict_types = 1);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

declare(strict_types = 1); is not available in php 5.4

"league/commonmark": ">=0.11,<0.19"
},
"require-dev": {
"phpunit/phpunit": "^7.1"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that version of phpunit is not php 5.4 compatible. altho for tests probably ok to have higher php requirement, even it seems super odd.

@glensc
Copy link

glensc commented Apr 20, 2019

@colinodell here's another extension I rely on, but seems abandoned.

@glensc
Copy link

glensc commented Apr 29, 2019

@colinodell did you notice my previous question?

my question would be: perhaps transfer this extension also to official group, then at least can add maintainers more easily even if original devs dissapear

for example this code renders funny:

[x] ee
[x] lv
[x] lt

@glensc
Copy link

glensc commented Jul 3, 2019

getting such error with 0.18 (can't upgrade due this extension not updated to newer)

Warning: Creating default object from empty value in 
vendor/league/commonmark/src/Node/Node.php on line 92

from such markup:

*list*
[x] Ilmateade

and it's actually fatal error, as nothing is rendered, but not clear where it invoked die.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants