🔥 Replace all other files with 💀
This commit is contained in:
parent
001f55939b
commit
d187e02d24
124 changed files with 345 additions and 8227 deletions
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
github: goodevilgenius
|
||||
25
.github/ISSUE_TEMPLATE.md
vendored
25
.github/ISSUE_TEMPLATE.md
vendored
|
|
@ -1,25 +0,0 @@
|
|||
| Q | A
|
||||
| -------------- | ---
|
||||
| Bug? | no
|
||||
| New Feature? | no
|
||||
| Version Used | Specific tag or commit sha
|
||||
| FFmpeg Version | FFmpeg or AVConv and version
|
||||
| OS | Your OS and version
|
||||
|
||||
#### Actual Behavior
|
||||
|
||||
How does PHP-FFMpeg behave at the moment?
|
||||
|
||||
#### Expected Behavior
|
||||
|
||||
What is the behavior you expect?
|
||||
|
||||
#### Steps to Reproduce
|
||||
|
||||
What are the steps to reproduce this bug? Please add code examples,
|
||||
screenshots or links to GitHub repositories that reproduce the problem.
|
||||
|
||||
#### Possible Solutions
|
||||
|
||||
If you have already ideas how to solve the issue, add them here.
|
||||
Otherwise remove this section.
|
||||
14
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
14
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Ask a question
|
||||
url: https://github.com/goodevilgenius/ffmpeg-mappable-media/discussions/new?category=q-a
|
||||
about: Ask the community for help
|
||||
- name: Request a feature
|
||||
url: https://github.com/goodevilgenius/ffmpeg-mappable-media/discussions/new?category=ideas
|
||||
about: Share ideas for new features
|
||||
- name: Report a security issue
|
||||
url: https://github.com/goodevilgenius/ffmpeg-mappable-media/security/policy
|
||||
about: Learn how to notify us for sensitive bugs
|
||||
- name: Report a bug
|
||||
url: https://github.com/goodevilgenius/ffmpeg-mappable-media/issues/new
|
||||
about: Report a reproducable bug
|
||||
36
.github/PULL_REQUEST_TEMPLATE.md
vendored
36
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
|
@ -1,36 +0,0 @@
|
|||
| Q | A
|
||||
| ------------------ | ---
|
||||
| Bug fix? | no
|
||||
| New feature? | no
|
||||
| BC breaks? | no
|
||||
| Deprecations? | no
|
||||
| Fixed tickets | fixes #issuenum
|
||||
| Related issues/PRs | #issuenum
|
||||
| License | MIT
|
||||
|
||||
#### What's in this PR?
|
||||
|
||||
Explain the contents of the PR.
|
||||
|
||||
#### Why?
|
||||
|
||||
Which problem does the PR fix?
|
||||
|
||||
#### Example Usage
|
||||
|
||||
```php
|
||||
$foo = new Foo();
|
||||
|
||||
// Now we can do
|
||||
$foo->doSomething();
|
||||
|
||||
// Remove this section if not needed
|
||||
~~~
|
||||
|
||||
#### BC Breaks/Deprecations
|
||||
|
||||
Describe BC breaks/deprecations here (Remove this section if not needed).
|
||||
|
||||
#### To Do
|
||||
|
||||
- [ ] Create tests
|
||||
12
.github/dependabot.yml
vendored
Normal file
12
.github/dependabot.yml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Please see the documentation for all configuration options:
|
||||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
labels:
|
||||
- "dependencies"
|
||||
32
.github/workflows/dependabot-auto-merge.yml
vendored
Normal file
32
.github/workflows/dependabot-auto-merge.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: dependabot-auto-merge
|
||||
on: pull_request_target
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
dependabot:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
steps:
|
||||
|
||||
- name: Dependabot metadata
|
||||
id: metadata
|
||||
uses: dependabot/fetch-metadata@v1.3.3
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
- name: Auto-merge Dependabot PRs for semver-minor updates
|
||||
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- name: Auto-merge Dependabot PRs for semver-patch updates
|
||||
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
23
.github/workflows/php-cs-fixer.yml
vendored
Normal file
23
.github/workflows/php-cs-fixer.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Check & fix styling
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
php-cs-fixer:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Run PHP CS Fixer
|
||||
uses: docker://oskarstark/php-cs-fixer-ga
|
||||
with:
|
||||
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
|
||||
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: Fix styling
|
||||
37
.github/workflows/run-tests.yml
vendored
Normal file
37
.github/workflows/run-tests.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
name: Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
php: [8.0]
|
||||
stability: [prefer-lowest, prefer-stable]
|
||||
|
||||
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
|
||||
coverage: none
|
||||
|
||||
- name: Setup problem matchers
|
||||
run: |
|
||||
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
|
||||
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
|
||||
|
||||
- name: Execute tests
|
||||
run: vendor/bin/pest
|
||||
48
.github/workflows/test.yaml
vendored
48
.github/workflows/test.yaml
vendored
|
|
@ -1,48 +0,0 @@
|
|||
name: run-tests
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: [ubuntu-20.04]
|
||||
php: [8.1, 8.0]
|
||||
ffmpeg: [5.0, 4.4]
|
||||
dependency-version: [prefer-lowest, prefer-stable]
|
||||
|
||||
name: ${{ matrix.os }} - P${{ matrix.php }} - FF${{ matrix.ffmpeg }} - ${{ matrix.dependency-version }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, mysql, mysqli, pdo_mysql, fileinfo
|
||||
coverage: none
|
||||
|
||||
- name: Install FFmpeg
|
||||
uses: Iamshankhadeep/setup-ffmpeg@ffmpeg-5.0-20220119
|
||||
with:
|
||||
version: ${{ matrix.ffmpeg }}
|
||||
id: setup-ffmpeg
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.composer/cache/files
|
||||
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}-dep-${{ matrix.dependency-version }}
|
||||
|
||||
- name: Execute tests
|
||||
run: vendor/bin/phpunit
|
||||
env:
|
||||
FFMPEG_TEMPORARY_FILES_ROOT: ${{ github.workspace }}
|
||||
28
.github/workflows/update-changelog.yml
vendored
Normal file
28
.github/workflows/update-changelog.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: "Update Changelog"
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Update Changelog
|
||||
uses: stefanzweifel/changelog-updater-action@v1
|
||||
with:
|
||||
latest-version: ${{ github.event.release.name }}
|
||||
release-notes: ${{ github.event.release.body }}
|
||||
|
||||
- name: Commit updated CHANGELOG
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
branch: main
|
||||
commit_message: Update CHANGELOG
|
||||
file_pattern: CHANGELOG.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue