Skip to content

Commit

Permalink
Merge pull request #73 from kidunot89/feature/src-to-includes
Browse files Browse the repository at this point in the history
"src" directory renamed to "includes"
  • Loading branch information
kidunot89 authored May 11, 2019
2 parents 644a452 + c581d6f commit b0c6f51
Show file tree
Hide file tree
Showing 98 changed files with 194 additions and 194 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ script:
fi
- |
if [ "$PHPCS" == "1" ]; then
vendor/bin/phpcs wp-graphql-woocommerce.php access-functions.php class-inflect.php src/*.php --standard=WordPress
vendor/bin/phpcs wp-graphql-woocommerce.php access-functions.php class-inflect.php includes/*.php --standard=WordPress
fi
after_success:
# Runs Coveralls.io client
Expand Down
2 changes: 1 addition & 1 deletion codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ coverage:
- wp-graphql-woocommerce.php
- access-functions.php
- class-inflect.php
- src/*.php
- includes/*.php
extensions:
enabled:
- Codeception\Extension\RunFailed
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
},
"autoload": {
"psr-4": {
"WPGraphQL\\Extensions\\WooCommerce\\": "src/"
"WPGraphQL\\Extensions\\WooCommerce\\": "includes/"
},
"classmap": [
"src/"
"includes/"
]
},
"require": {},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit04455a9e28ec460217bb4717433625c0::getLoader();
return ComposerAutoloaderIniteef2ce7a631e6b7ed2459b2f11a5e707::getLoader();
178 changes: 89 additions & 89 deletions vendor/composer/autoload_classmap.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
$baseDir = dirname($vendorDir);

return array(
'WPGraphQL\\Extensions\\WooCommerce\\' => array($baseDir . '/src'),
'WPGraphQL\\Extensions\\WooCommerce\\' => array($baseDir . '/includes'),
);
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit04455a9e28ec460217bb4717433625c0
class ComposerAutoloaderIniteef2ce7a631e6b7ed2459b2f11a5e707
{
private static $loader;

Expand All @@ -19,15 +19,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit04455a9e28ec460217bb4717433625c0', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderIniteef2ce7a631e6b7ed2459b2f11a5e707', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit04455a9e28ec460217bb4717433625c0', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderIniteef2ce7a631e6b7ed2459b2f11a5e707', 'loadClassLoader'));

$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';

call_user_func(\Composer\Autoload\ComposerStaticInit04455a9e28ec460217bb4717433625c0::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticIniteef2ce7a631e6b7ed2459b2f11a5e707::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
Expand Down
188 changes: 94 additions & 94 deletions vendor/composer/autoload_static.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-graphql-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function wp_graphql_woocommerce_init() {

$not_ready = wp_graphql_woocommerce_dependencies_not_ready();
if ( empty( $not_ready ) ) {
require_once WPGRAPHQL_WOOCOMMERCE_PLUGIN_DIR . 'src/class-wp-graphql-woocommerce.php';
require_once WPGRAPHQL_WOOCOMMERCE_PLUGIN_DIR . 'includes/class-wp-graphql-woocommerce.php';
return WP_GraphQL_WooCommerce::instance();
}

Expand Down

0 comments on commit b0c6f51

Please sign in to comment.