From 50f99c46d4136e758e8d272df643e0137e94d4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hu=CC=88rtgen?= Date: Wed, 25 Aug 2021 12:57:03 +0200 Subject: [PATCH 1/3] Missing symfony/filesystem dependecy added --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index fb6f8a3..0e2bc39 100644 --- a/composer.json +++ b/composer.json @@ -13,6 +13,7 @@ "php-vcr/php-vcr": "^1.2", "symfony/config": "^2.6|^3|^4", "symfony/dependency-injection": "^2.6|^3|^4", + "symfony/filesystem": "^2.6|^3|^4", "symfony/event-dispatcher": "^2.6|^3|^4", "symfony/http-foundation": "^2.6|^3|^4", "symfony/http-kernel": "^2.6|^3|^4", From cac2a32c28b07c9734b41cde7e0cfef16ee2a02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hu=CC=88rtgen?= Date: Wed, 25 Aug 2021 13:02:12 +0200 Subject: [PATCH 2/3] Move source code to src/ folder and adjust autoloading --- composer.json | 2 +- .../DataCollector}/VCRDataCollector.php | 0 .../DependencyInjection}/Configuration.php | 0 .../DependencyInjection}/VCRVCRExtension.php | 0 .../EventListener}/HttpRequestListener.php | 0 .../EventListener}/PlaybackListener.php | 0 {Resources => src/Resources}/config/listeners.yml | 0 {Resources => src/Resources}/config/services.yml | 0 {Resources => src/Resources}/meta/LICENSE | 0 .../Resources}/public/css/profiler.css | 0 .../public/font/fontawesome/fontawesome-webfont.eot | Bin .../public/font/fontawesome/fontawesome-webfont.svg | 0 .../public/font/fontawesome/fontawesome-webfont.ttf | Bin .../font/fontawesome/fontawesome-webfont.woff | Bin .../Resources}/public/images/profiler/error.png | Bin .../Resources}/public/images/profiler/network.png | Bin {Resources => src/Resources}/public/images/tape.png | Bin .../public/vendor/bootstrap/js/bootstrap-tab.min.js | 0 .../Resources}/public/vendor/jquery/jquery.min.js | 0 .../Resources}/views/Profiler/call.html.twig | 0 .../Resources}/views/Profiler/calls.html.twig | 0 .../Resources}/views/Profiler/collector.html.twig | 0 .../Resources}/views/Profiler/javascript.html.twig | 0 .../Resources}/views/Profiler/request.html.twig | 0 .../Resources}/views/Profiler/response.html.twig | 0 {VCR => src/VCR}/Logger.php | 0 VCRVCRBundle.php => src/VCRVCRBundle.php | 0 27 files changed, 1 insertion(+), 1 deletion(-) rename {DataCollector => src/DataCollector}/VCRDataCollector.php (100%) rename {DependencyInjection => src/DependencyInjection}/Configuration.php (100%) rename {DependencyInjection => src/DependencyInjection}/VCRVCRExtension.php (100%) rename {EventListener => src/EventListener}/HttpRequestListener.php (100%) rename {EventListener => src/EventListener}/PlaybackListener.php (100%) rename {Resources => src/Resources}/config/listeners.yml (100%) rename {Resources => src/Resources}/config/services.yml (100%) rename {Resources => src/Resources}/meta/LICENSE (100%) rename {Resources => src/Resources}/public/css/profiler.css (100%) rename {Resources => src/Resources}/public/font/fontawesome/fontawesome-webfont.eot (100%) rename {Resources => src/Resources}/public/font/fontawesome/fontawesome-webfont.svg (100%) rename {Resources => src/Resources}/public/font/fontawesome/fontawesome-webfont.ttf (100%) rename {Resources => src/Resources}/public/font/fontawesome/fontawesome-webfont.woff (100%) rename {Resources => src/Resources}/public/images/profiler/error.png (100%) rename {Resources => src/Resources}/public/images/profiler/network.png (100%) rename {Resources => src/Resources}/public/images/tape.png (100%) rename {Resources => src/Resources}/public/vendor/bootstrap/js/bootstrap-tab.min.js (100%) rename {Resources => src/Resources}/public/vendor/jquery/jquery.min.js (100%) rename {Resources => src/Resources}/views/Profiler/call.html.twig (100%) rename {Resources => src/Resources}/views/Profiler/calls.html.twig (100%) rename {Resources => src/Resources}/views/Profiler/collector.html.twig (100%) rename {Resources => src/Resources}/views/Profiler/javascript.html.twig (100%) rename {Resources => src/Resources}/views/Profiler/request.html.twig (100%) rename {Resources => src/Resources}/views/Profiler/response.html.twig (100%) rename {VCR => src/VCR}/Logger.php (100%) rename VCRVCRBundle.php => src/VCRVCRBundle.php (100%) diff --git a/composer.json b/composer.json index 0e2bc39..faf4c92 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "autoload": { "psr-4": { - "VCR\\VCRBundle\\": "" + "VCR\\VCRBundle\\": "src/" } } } diff --git a/DataCollector/VCRDataCollector.php b/src/DataCollector/VCRDataCollector.php similarity index 100% rename from DataCollector/VCRDataCollector.php rename to src/DataCollector/VCRDataCollector.php diff --git a/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php similarity index 100% rename from DependencyInjection/Configuration.php rename to src/DependencyInjection/Configuration.php diff --git a/DependencyInjection/VCRVCRExtension.php b/src/DependencyInjection/VCRVCRExtension.php similarity index 100% rename from DependencyInjection/VCRVCRExtension.php rename to src/DependencyInjection/VCRVCRExtension.php diff --git a/EventListener/HttpRequestListener.php b/src/EventListener/HttpRequestListener.php similarity index 100% rename from EventListener/HttpRequestListener.php rename to src/EventListener/HttpRequestListener.php diff --git a/EventListener/PlaybackListener.php b/src/EventListener/PlaybackListener.php similarity index 100% rename from EventListener/PlaybackListener.php rename to src/EventListener/PlaybackListener.php diff --git a/Resources/config/listeners.yml b/src/Resources/config/listeners.yml similarity index 100% rename from Resources/config/listeners.yml rename to src/Resources/config/listeners.yml diff --git a/Resources/config/services.yml b/src/Resources/config/services.yml similarity index 100% rename from Resources/config/services.yml rename to src/Resources/config/services.yml diff --git a/Resources/meta/LICENSE b/src/Resources/meta/LICENSE similarity index 100% rename from Resources/meta/LICENSE rename to src/Resources/meta/LICENSE diff --git a/Resources/public/css/profiler.css b/src/Resources/public/css/profiler.css similarity index 100% rename from Resources/public/css/profiler.css rename to src/Resources/public/css/profiler.css diff --git a/Resources/public/font/fontawesome/fontawesome-webfont.eot b/src/Resources/public/font/fontawesome/fontawesome-webfont.eot similarity index 100% rename from Resources/public/font/fontawesome/fontawesome-webfont.eot rename to src/Resources/public/font/fontawesome/fontawesome-webfont.eot diff --git a/Resources/public/font/fontawesome/fontawesome-webfont.svg b/src/Resources/public/font/fontawesome/fontawesome-webfont.svg similarity index 100% rename from Resources/public/font/fontawesome/fontawesome-webfont.svg rename to src/Resources/public/font/fontawesome/fontawesome-webfont.svg diff --git a/Resources/public/font/fontawesome/fontawesome-webfont.ttf b/src/Resources/public/font/fontawesome/fontawesome-webfont.ttf similarity index 100% rename from Resources/public/font/fontawesome/fontawesome-webfont.ttf rename to src/Resources/public/font/fontawesome/fontawesome-webfont.ttf diff --git a/Resources/public/font/fontawesome/fontawesome-webfont.woff b/src/Resources/public/font/fontawesome/fontawesome-webfont.woff similarity index 100% rename from Resources/public/font/fontawesome/fontawesome-webfont.woff rename to src/Resources/public/font/fontawesome/fontawesome-webfont.woff diff --git a/Resources/public/images/profiler/error.png b/src/Resources/public/images/profiler/error.png similarity index 100% rename from Resources/public/images/profiler/error.png rename to src/Resources/public/images/profiler/error.png diff --git a/Resources/public/images/profiler/network.png b/src/Resources/public/images/profiler/network.png similarity index 100% rename from Resources/public/images/profiler/network.png rename to src/Resources/public/images/profiler/network.png diff --git a/Resources/public/images/tape.png b/src/Resources/public/images/tape.png similarity index 100% rename from Resources/public/images/tape.png rename to src/Resources/public/images/tape.png diff --git a/Resources/public/vendor/bootstrap/js/bootstrap-tab.min.js b/src/Resources/public/vendor/bootstrap/js/bootstrap-tab.min.js similarity index 100% rename from Resources/public/vendor/bootstrap/js/bootstrap-tab.min.js rename to src/Resources/public/vendor/bootstrap/js/bootstrap-tab.min.js diff --git a/Resources/public/vendor/jquery/jquery.min.js b/src/Resources/public/vendor/jquery/jquery.min.js similarity index 100% rename from Resources/public/vendor/jquery/jquery.min.js rename to src/Resources/public/vendor/jquery/jquery.min.js diff --git a/Resources/views/Profiler/call.html.twig b/src/Resources/views/Profiler/call.html.twig similarity index 100% rename from Resources/views/Profiler/call.html.twig rename to src/Resources/views/Profiler/call.html.twig diff --git a/Resources/views/Profiler/calls.html.twig b/src/Resources/views/Profiler/calls.html.twig similarity index 100% rename from Resources/views/Profiler/calls.html.twig rename to src/Resources/views/Profiler/calls.html.twig diff --git a/Resources/views/Profiler/collector.html.twig b/src/Resources/views/Profiler/collector.html.twig similarity index 100% rename from Resources/views/Profiler/collector.html.twig rename to src/Resources/views/Profiler/collector.html.twig diff --git a/Resources/views/Profiler/javascript.html.twig b/src/Resources/views/Profiler/javascript.html.twig similarity index 100% rename from Resources/views/Profiler/javascript.html.twig rename to src/Resources/views/Profiler/javascript.html.twig diff --git a/Resources/views/Profiler/request.html.twig b/src/Resources/views/Profiler/request.html.twig similarity index 100% rename from Resources/views/Profiler/request.html.twig rename to src/Resources/views/Profiler/request.html.twig diff --git a/Resources/views/Profiler/response.html.twig b/src/Resources/views/Profiler/response.html.twig similarity index 100% rename from Resources/views/Profiler/response.html.twig rename to src/Resources/views/Profiler/response.html.twig diff --git a/VCR/Logger.php b/src/VCR/Logger.php similarity index 100% rename from VCR/Logger.php rename to src/VCR/Logger.php diff --git a/VCRVCRBundle.php b/src/VCRVCRBundle.php similarity index 100% rename from VCRVCRBundle.php rename to src/VCRVCRBundle.php From 2b79a59c3b5218d61a9b588765e175e49ff38274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hu=CC=88rtgen?= Date: Wed, 25 Aug 2021 13:03:42 +0200 Subject: [PATCH 3/3] Add .gitattributes --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..a2fccaf --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +.gitattributes export-ignore +.gitignore export-ignore