Skip to content

Commit

Permalink
Rename index.php to gutenberg.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Jun 2, 2017
1 parent 5c7d641 commit 750a14d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/build-plugin-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rm -f gutenberg.zip

# Generate the plugin zip file
zip -r gutenberg.zip \
index.php \
gutenberg.php \
lib/*.php \
post-content.js \
blocks/build \
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions phpcs.ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<rule ref="WordPress-Core" />
<rule ref="WordPress-Docs" />

<!-- index.php already has a file comment, I promise -->
<!-- The plugin entry point already has a file comment, I promise -->
<rule ref="Squiz.Commenting.FileComment.Missing">
<exclude-pattern>index.php</exclude-pattern>
<exclude-pattern>gutenberg.php</exclude-pattern>
</rule>

<!-- Do not require docblocks for unit tests -->
Expand Down
2 changes: 1 addition & 1 deletion phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
require dirname( dirname( __FILE__ ) ) . '/index.php';
require dirname( dirname( __FILE__ ) ) . '/gutenberg.php';
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );

Expand Down

0 comments on commit 750a14d

Please sign in to comment.