Skip to content

Fix autoload issue and rebranding #12

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

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "renakdup/simple-php-dic",
"name": "renakdup/simple-dic",
"description": "Simple DI Container with autowiring for your WordPress application with NO dependencies.",
"type": "library",
"license": "MIT",
"keywords": [
"dic",
"di container",
"simple dic",
"simple php dic",
"dic autowiring",
"simple php dic",
"wordpress dic",
Expand Down Expand Up @@ -37,9 +38,13 @@
"phpstan/phpstan-deprecation-rules": "^1.1",
"rregeer/phpunit-coverage-check": "^0.3.1"
},
"autoload": {
"psr-4": {
"Renakdup\\SimpleDIC\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Renakdup\\SimpleDIC\\": "src/",
"RenakdupTests\\SimpleDIC\\": "tests/"
}
},
Expand Down
8 changes: 4 additions & 4 deletions src/Container.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php // phpcs:ignoreFile
/**
* Simple PHP DIC - DI Container in one file for WordPress.
* Simple DIC - DI Container in one file for WordPress and PHP Applications.
* Supports autowiring and allows you to easily use it in your simple PHP applications and
* especially convenient for WordPress plugins and themes.
* especially convenient for WordPress plugins and themes and others.
*
* Author: Andrei Pisarevskii
* Author Email: renakdup@gmail.com
* Author Site: https://wp-yoda.com/en/
*
* Version: 1.1.0
* Source Code: https://github.com/renakdup/simple-php-dic
* Version: 1.1.2
* Source Code: https://github.com/renakdup/simple-dic
*
* Licence: MIT License
*/
Expand Down
Loading