Skip to content
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

Fix/7/remove dictrait #184

Closed

Conversation

chfsx
Copy link
Contributor

@chfsx chfsx commented Aug 10, 2023

This pull request is a first step to optimize the plugin for future maintenance. The goal is to get rid of all vendor/srag dependencies.

A very common use was the DICTrait, a collection of static methods for all possible dependencies. With this PR the DICTrait is removed from all classes. This means that practically every class has been changed.

Furthermore, all possible errors of the Inspection Profile for PHP8 have been removed (see #172, which becomes obsolete). I also did a lot of general code optimizations, some of them automatic with Rector (see https://github.com/rectorphp/rector).

I was able to test the changes so far that all GUI are still callable and I could successfully create e.g. new DSeries. However, this PR requires intensive testing.

I would like to start all further modifications on this basis, because this way some problems can be solved, which would stop us anyway, e.g. with ILIAS 8 support.

# Conflicts:
#	classes/Event/class.xoctEventGUI.php
#	classes/Event/class.xoctEventTableGUI.php
#	classes/Request/class.xoctCurl.php
#	classes/Request/class.xoctCurlSettings.php
#	classes/class.ilObjOpenCastAccess.php
@chfsx chfsx added the enhancement New feature or request label Aug 10, 2023
@dagraf
Copy link

dagraf commented Sep 4, 2023

@chfsx Is it correct, that this PR is not necessary anymore since we have #186? If so, please close it.

@chfsx chfsx closed this Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants