Skip to content

Composer deprecations fix - #20

Open
Ang3 wants to merge 7 commits into
DarkaOnLine:masterfrom
Ang3:master
Open

Ang3 wants to merge 7 commits into
DarkaOnLine:masterfrom
Ang3:master

Conversation

@Ang3

@Ang3 Ang3 commented Jul 7, 2020

Copy link
Copy Markdown

Issue #18

Reason
All classes in folder src/Ripcord/Documentor and src/Ripcord/Parsers have a wrong namespace definition following psr-4 specifications for classes autoloading.

Resolution

  • Renamed all occurences of Documentator by Documentor

Comments
I had to choice between words Documentor and Documentator.

Edit
The word Documentor was choosen to avoid BC break.

Ang3 added 3 commits July 7, 2020 23:13
- Renamed all occurences of ```Documentor``` by ```Documentator```
- Renamed file ```src/Ripcord/Documentor.php``` by ```src/Ripcord/Documentator.php```
- Fixed file ```composer.json```
@Ang3

Ang3 commented Jul 7, 2020

Copy link
Copy Markdown
Author

How can I fix continuous integration checks?

Comment thread composer.json Outdated
Comment thread phpstan.neon Outdated
Joanis ROUANET added 3 commits July 8, 2020 10:59
Renamed all occurences of ```Documentator``` by ```Documentor``` to avoid break compatibility.
@Ang3
Ang3 requested a review from DarkaOnLine July 8, 2020 09:08
- Renamed ```Documentator``` class to ```Documentor```
@Ang3

Ang3 commented Jul 8, 2020

Copy link
Copy Markdown
Author

It seems not possible to avoid all BC breaks due to the folder Documentator.
Your code uses reflections so I didn't create fake folders and classes to extend right ones.
Maybe by using the parameter "classmap" of composer and remove psr-4 standard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants