Skip to content

Commit

Permalink
Merge pull request #17 from WebAnyOne/license
Browse files Browse the repository at this point in the history
Indicate the license for Packagist
  • Loading branch information
benji07 authored Apr 19, 2024
2 parents 51d2d41 + 970beed commit ae162b2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,8 @@ jobs:
name: 'Lint'
runs-on: ubuntu-latest
timeout-minutes: 5
# Do not run on WIP or Draft PRs
if: "!github.event.pull_request || (!contains(github.event.pull_request.labels.*.name, 'WIP') && github.event.pull_request.draft == false)"
env:
working-directory: .
defaults:
run:
# https://github.community/t/use-working-directory-for-entire-job/16747/9
working-directory: ${{ env.working-directory }}
# Do not run on Draft PRs
if: "!github.event.pull_request || github.event.pull_request.draft == false"

steps:

Expand All @@ -37,6 +31,7 @@ jobs:
extensions: "json"
ini-values: "memory_limit=-1"
php-version: "7.4"
tools: "symfony"

- name: 'Determine composer cache directory'
id: composer-cache
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
vendor
.php-cs-fixer.cache
composer.lock
.php-version
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
install:
symfony composer update

lint: lint.php-cs-fixer lint.phpstan

lint.php-cs-fixer:
Expand All @@ -7,10 +10,10 @@ lint.phpstan:
symfony php vendor/bin/phpstan analyze --memory-limit=-1

lint.php-cs-fixer@integration:
vendor/bin/php-cs-fixer fix --ansi --dry-run --diff
symfony php vendor/bin/php-cs-fixer fix --ansi --dry-run --diff

install@integration:
composer install --ansi --verbose --no-interaction --no-progress --prefer-dist --optimize-autoloader --no-scripts --ignore-platform-reqs

lint.phpstan@integration:
vendor/bin/phpstan --no-progress --ansi --no-interaction analyse --configuration ./phpstan.neon.dist
symfony php vendor/bin/phpstan --no-progress --ansi --no-interaction analyse --configuration ./phpstan.neon.dist
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "webanyone/mautic-ecommerce-bundle",
"description": "MauticEcommerceBundle",
"license": "GPL-3.0",
"type": "mautic-plugin",
"keywords": [
"mautic",
Expand Down

0 comments on commit ae162b2

Please sign in to comment.