Skip to content

Move main plugin class to a PSR-4 file#29

Merged
HPiirainen merged 2 commits intodevgeniem:masterfrom
szepeviktor:class-move
May 8, 2024
Merged

Move main plugin class to a PSR-4 file#29
HPiirainen merged 2 commits intodevgeniem:masterfrom
szepeviktor:class-move

Conversation

@szepeviktor
Copy link
Copy Markdown
Contributor

@szepeviktor szepeviktor commented May 8, 2024

@HPiirainen Noticed the strange array in PSR-4 autoloading.

Comment thread src/Plugin.php
@HPiirainen HPiirainen self-assigned this May 8, 2024
Copy link
Copy Markdown
Contributor

@HPiirainen HPiirainen left a comment

Choose a reason for hiding this comment

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

Thanks, good stuff! If you can move the use statements from the original plugin.php to the new Plugin class, then we're good to go 👍

Comment thread plugin.php
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Move the use statements from this class...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done 🍏

Comment thread src/Plugin.php
*/

namespace Geniem\Oopi;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

... to this class so everything works correctly 👍

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sorry. This is the first time I use a computer 🙃

@HPiirainen HPiirainen merged commit 5a562e4 into devgeniem:master May 8, 2024
@szepeviktor szepeviktor deleted the class-move branch May 8, 2024 12:23
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