-
-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '1.9.4.x' into cleanup/docs/Varien-1
- Loading branch information
Showing
9,304 changed files
with
53,866 additions
and
11,779 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: PHP Composer | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: php version | ||
run: php --version | ||
|
||
- name: composer version | ||
run: composer --version | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
|
||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" | ||
# Docs: https://getcomposer.org/doc/articles/scripts.md | ||
|
||
# - name: Run test suite | ||
# run: composer run-script test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: "Static Code Analyses" | ||
on: | ||
push: | ||
pull_request: | ||
|
||
|
||
jobs: | ||
php_syntax: | ||
name: PHP Syntax ${{ matrix.php-versions }} | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
max-parallel: 5 | ||
matrix: | ||
operating-system: [ubuntu-latest] | ||
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3'] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@master | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extension-csv: mbstring #optional, setup extensions | ||
ini-values-csv: post_max_size=256M, short_open_tag=On #optional, setup php.ini configuration | ||
coverage: none #optional, setup coverage driver | ||
pecl: true #optional, setup PECL | ||
- name: Check PHP Version | ||
run: php -v | ||
- name: Check .php files | ||
run: '! find . -not \( -path ./.phpstorm.meta.php -prune \) -not \( -path ./lib/PEAR -prune \) -not \( -path ./lib/phpseclib -prune \) -not \( -path ./lib/Zend -prune \) -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"' | ||
- name: Check .phtml files | ||
run: '! find app/design -type f -name "*.phtml" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"' | ||
|
||
php_syntax_experimental: | ||
name: PHP Syntax ${{ matrix.php-versions }} - experimental | ||
runs-on: ${{ matrix.operating-system }} | ||
needs: php_syntax | ||
strategy: | ||
max-parallel: 1 | ||
fail-fast: false | ||
matrix: | ||
operating-system: [ubuntu-latest] | ||
php-versions: ['7.4', '8.0'] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@master | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
extension-csv: mbstring #optional, setup extensions | ||
ini-values-csv: post_max_size=256M, short_open_tag=On #optional, setup php.ini configuration | ||
coverage: none #optional, setup coverage driver | ||
pecl: true #optional, setup PECL | ||
- name: Check PHP Version | ||
run: php -v | ||
- name: Check .php files | ||
continue-on-error: true | ||
run: '! find . -not \( -path ./.phpstorm.meta.php -prune \) -not \( -path ./lib/PEAR -prune \) -not \( -path ./lib/phpseclib -prune \) -not \( -path ./lib/Zend -prune \) -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"' | ||
- name: Check .phtml files | ||
continue-on-error: true | ||
run: '! find app/design -type f -name "*.phtml" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Order deny,allow | ||
Deny from all |
Oops, something went wrong.