Skip to content

Commit 21ac8b6

Browse files
authored
Merge pull request #40 from codebar-ag/feature-tests
Feature Tests
2 parents 4c345c1 + 9342125 commit 21ac8b6

File tree

4 files changed

+25
-18
lines changed

4 files changed

+25
-18
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Ask a question
4-
url: https://github.com/codebar-ag/laravel-flysystem-cloudinary/discussions/new?category=q-a
5-
about: Ask the community for help
6-
- name: Request a feature
7-
url: https://github.com/codebar-ag/laravel-flysystem-cloudinary/discussions/new?category=ideas
8-
about: Share ideas for new features
9-
- name: Report a bug
10-
url: https://github.com/codebar-ag/laravel-flysystem-cloudinary/issues/new
11-
about: Report a reproducable bug
3+
- name: Ask a question
4+
url: https://github.com/codebar-ag/laravel-flysystem-cloudinary/issues/new
5+
about: Ask the community for help
6+
- name: Request a feature
7+
url: https://github.com/codebar-ag/laravel-flysystem-cloudinary/issues/new
8+
about: Share ideas for new features
9+
- name: Report a bug
10+
url: https://github.com/codebar-ag/laravel-flysystem-cloudinary/issues/new
11+
about: Report a reproducable bug

.github/workflows/php-cs-fixer.yml renamed to .github/workflows/fix-php-code-style-issues.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
name: Check & fix styling
1+
name: Fix PHP code style issues
22

33
on:
44
push:
5-
branches:
6-
- styling
5+
paths:
6+
- '**.php'
7+
8+
permissions:
9+
contents: write
710

811
jobs:
9-
php-cs-fixer:
12+
php-code-styling:
1013
runs-on: ubuntu-latest
1114

1215
steps:
@@ -15,10 +18,8 @@ jobs:
1518
with:
1619
ref: ${{ github.head_ref }}
1720

18-
- name: Run PHP CS Fixer
19-
uses: docker://oskarstark/php-cs-fixer-ga
20-
with:
21-
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
21+
- name: Fix PHP code style issues
22+
uses: aglipanci/[email protected]
2223

2324
- name: Commit changes
2425
uses: stefanzweifel/git-auto-commit-action@v4

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
os: [ ubuntu-latest, windows-latest ]
1616
php: [ 8.2 ]
1717
laravel: [ 10.* ]
18-
stability: [ prefer-lowest, prefer-stable ]
18+
stability: [ prefer-stable ]
1919
include:
2020
- laravel: 10.*
2121
testbench: 8.*

tests/ArchTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
test('it will not use any debug function')
4+
->expect(['dd', 'ray', 'dump'])
5+
->not()
6+
->toBeUsed();

0 commit comments

Comments
 (0)