Skip to content

Commit 0359261

Browse files
authored
Merge pull request #361 from pattonwebz/drop-composer-autoload
Drop composer autoload
2 parents 8b0200d + 2b62c9b commit 0359261

File tree

5 files changed

+39
-25
lines changed

5 files changed

+39
-25
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#CHANGELOG
2+
## [4.0.3]
3+
- Drop composer class autoload statement.
4+
25
## [4.0.2]
36
- Fix dropdown opener having empty string for href value.
47
- More accurate regex matching of icon and linkmod classnames.

class-wp-bootstrap-navwalker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin URI: https://github.com/wp-bootstrap/wp-bootstrap-navwalker
1212
* Description: A custom WordPress nav walker class to implement the Bootstrap 4 navigation style in a custom theme using the WordPress built in menu manager.
1313
* Author: Edward McIntyre - @twittem, WP Bootstrap, William Patton - @pattonwebz
14-
* Version: 4.0.2
14+
* Version: 4.0.3
1515
* Author URI: https://github.com/wp-bootstrap
1616
* GitHub Plugin URI: https://github.com/wp-bootstrap/wp-bootstrap-navwalker
1717
* GitHub Branch: master

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
"issues": "https://github.com/wp-bootstrap/wp-bootstrap-navwalker/issues/",
1717
"source": "https://github.com/wp-bootstrap/wp-bootstrap-navwalker/"
1818
},
19-
"autoload": {
20-
"files": ["class-wp-bootstrap-navwalker.php"]
21-
},
2219
"require": {
2320
"composer/installers": "~1.0"
2421
},
@@ -30,10 +27,10 @@
3027
},
3128
"scripts": {
3229
"post-install-cmd": [
33-
"wp-enforcer --ruleset=phpcs.ruleset.xml"
30+
"wp-enforcer"
3431
],
3532
"post-update-cmd": [
36-
"wp-enforcer --ruleset=phpcs.ruleset.xml"
33+
"wp-enforcer"
3734
]
3835
}
3936
}

composer.lock

Lines changed: 22 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="WordPress Coding Standards for Plugins">
3+
<description>Generally-applicable sniffs for WordPress plugins</description>
4+
5+
<rule ref="WordPress-Core" />
6+
<rule ref="WordPress-Docs" />
7+
8+
<exclude-pattern>*/node_modules/*</exclude-pattern>
9+
<exclude-pattern>*/vendor/*</exclude-pattern>
10+
<exclude-pattern>*/tests/*</exclude-pattern>
11+
</ruleset>

0 commit comments

Comments
 (0)