Skip to content

Commit

Permalink
Merge pull request #12 from renakdup/fix-autoload-issue
Browse files Browse the repository at this point in the history
Fix autoload issue and rebranding
  • Loading branch information
renakdup authored May 24, 2024
2 parents 08d4193 + a0d726f commit 05bcaaf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
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: [email protected]
* 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

0 comments on commit 05bcaaf

Please sign in to comment.