@@ -60,14 +60,14 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * Autoload. |
62 | 62 | */ |
63 | -$loader = require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; |
|
63 | +$loader = require_once plugin_dir_path( __FILE__ ).'vendor/autoload.php'; |
|
64 | 64 | |
65 | -if ( ! defined( 'PRONAMIC_PAY_DEBUG' ) ) { |
|
65 | +if ( !defined( 'PRONAMIC_PAY_DEBUG' ) ) { |
|
66 | 66 | define( 'PRONAMIC_PAY_DEBUG', false ); |
67 | 67 | } |
68 | 68 | |
69 | 69 | if ( PRONAMIC_PAY_DEBUG ) { |
70 | - foreach ( glob( __DIR__ . '/repositories/*/*/composer.json' ) as $file ) { |
|
70 | + foreach ( glob( __DIR__.'/repositories/*/*/composer.json' ) as $file ) { |
|
71 | 71 | $content = file_get_contents( $file ); |
72 | 72 | |
73 | 73 | $object = json_decode( $content ); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | foreach ( $object->autoload as $type => $map ) { |
77 | 77 | if ( 'psr-4' === $type ) { |
78 | 78 | foreach ( $map as $prefix => $path ) { |
79 | - $loader->addPsr4( $prefix, dirname( $file ) . '/' . $path, true ); |
|
79 | + $loader->addPsr4( $prefix, dirname( $file ).'/'.$path, true ); |
|
80 | 80 | } |
81 | 81 | } |
82 | 82 | } |