Skip to content

Commit

Permalink
[BUGFIX] Bundle PSR-Packages for non Composer mode (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott authored Jan 7, 2021
1 parent d1d42da commit 48e9e81
Show file tree
Hide file tree
Showing 47 changed files with 3,036 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
.DS_Store

# Composer
vendor/
bin/
logs/
composer.lock
/vendor/
/bin/
/logs/
/composer.lock

# Build stuff
.build/
Expand Down
1 change: 1 addition & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ return PhpCsFixer\Config::create()
PhpCsFixer\Finder::create()
->exclude('.build')
->exclude('var')
->exclude('Resources/Private/PHP')
->in(__DIR__)
);
9 changes: 9 additions & 0 deletions Resources/Private/PHP/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "t3g/blog-dependencies",
"description": "Dependencies for non composer mode installations",
"require": {
"psr/http-message": "^1.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0"
}
}
179 changes: 179 additions & 0 deletions Resources/Private/PHP/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Resources/Private/PHP/vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

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

return ComposerAutoloaderInitde1cecb0fbf8cdaef3792fd0d2ebe321::getLoader();
Loading

1 comment on commit 48e9e81

@mbrodala
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was dropped again with 3f9d4ca

Please sign in to comment.