Skip to content

Commit

Permalink
Suggest dependencies instead of requiring them
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed May 17, 2024
1 parent cb60190 commit 3ff6b75
Show file tree
Hide file tree
Showing 6 changed files with 2,391 additions and 1,845 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ jobs:
name: Custom rules check
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4

- name: Checkout
uses: actions/checkout@v2.0.0


# Docker images prestashop/prestashop may be used, even if the shop remains uninstalled
- name: Run constant test
run: |
Expand Down
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@
"require": {
"php": ">=7.2.5",
"symfony/console": "~3.2 || ~4.0 || ~5.0 || ~6.0 || ~7.0",
"friendsofphp/php-cs-fixer": "^3.2",
"squizlabs/php_codesniffer": "^3.4",
"symfony/filesystem": "~3.2 || ~4.0 || ~5.0 || ~6.0 || ~7.0",
"symfony/filesystem": "~3.2 || ~4.0 || ~5.0 || ~6.0 || ~7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2"
},
"suggest": {
"prestashop/header-stamp": "^2.0",
"prestashop/autoindex": "^2.0"
"prestashop/autoindex": "^2.0",
"squizlabs/php_codesniffer": "^3.4",
"phpstan/phpstan": "^0.12"
},
"bin": [
"bin/prestashop-coding-standards"
Expand All @@ -24,5 +29,5 @@
"php": "7.2.5"
}
},
"author": "PrestaShop"
"authors": [{"name": "PrestaShop"}]
}
Loading

0 comments on commit 3ff6b75

Please sign in to comment.