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

Enhance optimized code for better autoloading #416

Merged
merged 5 commits into from
Jul 31, 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
5 changes: 0 additions & 5 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ bower.json
bower_components
.*


# Test related files
phpunit.xml
phpunit.xml.dist
Expand All @@ -42,7 +41,6 @@ codeception.yml
phpcs.xml
phpcs.xml.dist


# IDE related files
.idea
*.iml
Expand All @@ -61,7 +59,6 @@ phpcs.xml.dist
*.zip
/bin/


# OS related files
.DS_Store
.DS_Store?
Expand All @@ -71,7 +68,6 @@ phpcs.xml.dist
ehthumbs.db
Thumbs.db


# Action related files
.wordpress-org

Expand All @@ -82,4 +78,3 @@ Thumbs.db
# Build related files
/assets/js
/assets/css
vendor
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"pluginever/framework-plugin": "dev-master",
"pluginever/framework-settings": "dev-master"
},
"autoload": {
"psr-4": {
"WooCommerceSerialNumbers\\": ["src/","lib/"]
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
Expand All @@ -38,7 +43,6 @@
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"autoload": {},
"scripts": {
"post-install-cmd": [
"\"vendor/bin/mozart\" compose",
Expand Down
Loading
Loading