Skip to content

Commit

Permalink
release PHP 7.2 downgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 1, 2024
1 parent 502edb5 commit a84abad
Show file tree
Hide file tree
Showing 517 changed files with 55,053 additions and 1,006 deletions.
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

File renamed without changes.
21 changes: 7 additions & 14 deletions .github/workflows/bare_run.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Bare Run on various PHP versions
name: Bare Run

on:
push:
branches:
- main
on: [pull_request, push]

jobs:
bare_run:
Expand All @@ -12,19 +9,15 @@ jobs:
strategy:
fail-fast: false
matrix:
php_version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php_version: ['7.2', '7.3', '7.4', '8.0']

steps:
- uses: actions/checkout@v2

-
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
coverage: none

# nest to directory to avoid using current repository
- run: mkdir nested-directory

- run: composer require symplify/vendor-patches --dev
working-directory: nested-directory

- run: vendor/bin/vendor-patches list --ansi
working-directory: nested-directory
- run: php bin/vendor-patches list --ansi
7 changes: 0 additions & 7 deletions .gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ Generate vendor patches for packages with single command.

```bash
composer require symplify/vendor-patches --dev

# If you are applying patches to production, be sure to also explicitly add cweagans/composer-patches.
composer require cweagans/composer-patches
```

## Usage
Expand Down Expand Up @@ -91,14 +88,6 @@ composer install --verbose

<br>

## TroubleShooting

If you are on macOS, and got hang on applying patch, you may need to install `gpatch`, you can install with:

```
brew install gpatch
```

## Report Issues

In case you are experiencing a bug or want to request a new feature head over to the [Symplify monorepo issue tracker](https://github.com/symplify/symplify/issues)
Expand Down
5 changes: 3 additions & 2 deletions bin/vendor-patches
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env php
<?php
<?php
namespace VendorPatches202401;

require __DIR__ . '/vendor-patches.php';
require __DIR__ . '/vendor-patches.php';
25 changes: 6 additions & 19 deletions bin/vendor-patches.php
Original file line number Diff line number Diff line change
@@ -1,36 +1,23 @@
<?php

declare(strict_types=1);
declare (strict_types=1);
namespace VendorPatches202401;

use Symfony\Component\Console\Application;
use VendorPatches202401\Symfony\Component\Console\Application;
use Symplify\VendorPatches\DependencyInjection\ContainerFactory;

$possibleAutoloadPaths = [
__DIR__ . '/../autoload.php',
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../../../autoload.php',
__DIR__ . '/../../../vendor/autoload.php',
];

$possibleAutoloadPaths = [__DIR__ . '/../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../autoload.php', __DIR__ . '/../../../vendor/autoload.php'];
foreach ($possibleAutoloadPaths as $possibleAutoloadPath) {
if (! file_exists($possibleAutoloadPath)) {
if (!\file_exists($possibleAutoloadPath)) {
continue;
}

require_once $possibleAutoloadPath;
}


$scoperAutoloadFilepath = __DIR__ . '/../vendor/scoper-autoload.php';
if (file_exists($scoperAutoloadFilepath)) {
if (\file_exists($scoperAutoloadFilepath)) {
require_once $scoperAutoloadFilepath;
}


$containerFactory = new ContainerFactory();
$container = $containerFactory->create();

$application = $container->make(Application::class);

$statusCode = $application->run();
exit($statusCode);
52 changes: 0 additions & 52 deletions build/build-scoped.sh

This file was deleted.

21 changes: 0 additions & 21 deletions build/rector-downgrade-php-72.php

This file was deleted.

3 changes: 0 additions & 3 deletions build/target-repository/.github/FUNDING.yml

This file was deleted.

23 changes: 0 additions & 23 deletions build/target-repository/.github/workflows/bare_run.yaml

This file was deleted.

97 changes: 0 additions & 97 deletions build/target-repository/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions build/target-repository/composer.json

This file was deleted.

Loading

0 comments on commit a84abad

Please sign in to comment.