Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding PHP 8.1 support and related changes #236

Merged
merged 50 commits into from
Feb 14, 2022
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
f4aef07
Adding PHP 8.1 testing
gudmdharalds Jan 25, 2022
15fc308
Updating commands
gudmdharalds Jan 25, 2022
eb2f094
Fix path
gudmdharalds Jan 25, 2022
33889ed
Run PHPCompatibility tests
gudmdharalds Jan 25, 2022
56a04d9
Use PHP 7.4 for PHP linting
gudmdharalds Jan 25, 2022
96bd72e
Removing symlink creation
gudmdharalds Jan 25, 2022
2a3199f
Using ~/project
gudmdharalds Jan 25, 2022
f15a2e3
Update with PHP 8 recommendation
gudmdharalds Jan 27, 2022
e6f02c3
Merge branch 'main' into update-php-8
gudmdharalds Jan 31, 2022
65145f7
Merge branch 'update-php-8' of github.com:Automattic/vip-go-ci into u…
gudmdharalds Feb 1, 2022
6dae1e2
PHP 8 fix for getopt()
gudmdharalds Feb 1, 2022
6097d47
Merge branch 'main' into update-php-8
gudmdharalds Feb 9, 2022
76b5664
Renaming option --php-path to --lint-php-path
gudmdharalds Feb 9, 2022
12daff3
Moving --lint-php-path around in help message.
gudmdharalds Feb 9, 2022
54badc8
Make help message more detailed.
gudmdharalds Feb 9, 2022
a13d3ca
Add lint-php-path parameter, slight formatting changes.
gudmdharalds Feb 10, 2022
19803a4
Use --svg-php-path option when scanning.
gudmdharalds Feb 10, 2022
21eb1a4
Add --svg-php-path option, update --phpcs-php-path and --lint-php-path.
gudmdharalds Feb 10, 2022
48bc9a8
Add --phpcs-php-path and --lint-php-path
gudmdharalds Feb 10, 2022
440a567
Adding PHPDoc
gudmdharalds Feb 10, 2022
370a321
Adding svg-php-path option
gudmdharalds Feb 10, 2022
6408d5f
Adding phpcs-php-path option
gudmdharalds Feb 10, 2022
fa2c969
Setting expected lint-php-path option to null
gudmdharalds Feb 10, 2022
b0fcb8b
Setting svg-php-path option to null.
gudmdharalds Feb 10, 2022
18de83d
Adding phpcs-php-path option
gudmdharalds Feb 10, 2022
0db2d59
Adding --svg-php-path option
gudmdharalds Feb 11, 2022
ca031d1
Adding/updating --phpcs-php-path, --phpcs-severity and --phpcs-runtim…
gudmdharalds Feb 11, 2022
d9d97a3
Adding --phpcs-php-path option
gudmdharalds Feb 11, 2022
14147f9
Adding --phpcs-php-path option
gudmdharalds Feb 11, 2022
ad7c348
Adding/updating --phpcs-php-path, --phpcs-runtime-set, --phpcs-severi…
gudmdharalds Feb 11, 2022
47bf19c
Adding/updating --phpcs-php-path, --phpcs-runtime-set options.
gudmdharalds Feb 11, 2022
7afa36b
Adding --svg-php-path option.
gudmdharalds Feb 11, 2022
f06ac48
Adding --svg-php-path option.
gudmdharalds Feb 11, 2022
f0ef2a0
Add --phpcs-php-path, apply WordPress coding standard.
gudmdharalds Feb 11, 2022
00202ab
Use different PHP versions for different types of scanning. Remove PH…
gudmdharalds Feb 11, 2022
59512d7
Apply WordPress coding standard.
gudmdharalds Feb 11, 2022
8552d31
Update unit-tests
gudmdharalds Feb 11, 2022
02f5de9
Apply WordPress coding standard.
gudmdharalds Feb 11, 2022
e43085b
Apply WordPress coding standard.
gudmdharalds Feb 14, 2022
68bbb43
Apply WordPress coding standard.
gudmdharalds Feb 14, 2022
4b45e0f
New section, path to PHP
gudmdharalds Feb 14, 2022
007111c
Update README.md
gudmdharalds Feb 14, 2022
46812d1
Update README.md
gudmdharalds Feb 14, 2022
b3059e3
Update README.md
gudmdharalds Feb 14, 2022
8a4250d
Update README.md
gudmdharalds Feb 14, 2022
589378f
Update README.md
gudmdharalds Feb 14, 2022
469807c
Updating README.md
gudmdharalds Feb 14, 2022
6125f47
Updating README.md
gudmdharalds Feb 14, 2022
bac486c
Adding section on different PHP versions in tests.
gudmdharalds Feb 14, 2022
a08e1c5
Merge branch 'main' into update-php-8
gudmdharalds Feb 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Moving --lint-php-path around in help message.
  • Loading branch information
gudmdharalds committed Feb 9, 2022
commit 12daff3adcd636e6098d49fb9d6e59e985aa8b2d
4 changes: 2 additions & 2 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ function vipgoci_help_print() :void {
PHP_EOL .
'PHP Linting configuration:' . PHP_EOL .
"\t" . '--lint=BOOL Whether to do PHP linting. Default is true.' . PHP_EOL .
"\t" . '--lint-php-path=FILE Full path to PHP. If not specified the default in $PATH will be' . PHP_EOL .
"\t" . ' used instead.' . PHP_EOL .
"\t" . '--lint-modified-files-only=BOOL Whether to limit lint scan to run against only modified or new' . PHP_EOL .
"\t" . ' files in the PR to be scanned. Default is true. It can be ' . PHP_EOL .
"\t" . ' modified via options file ("' . VIPGOCI_OPTIONS_FILE_NAME . '") placed in' . PHP_EOL .
Expand All @@ -83,8 +85,6 @@ function vipgoci_help_print() :void {
"\t" . ' to be PHP Linted in a file in root of repository' . PHP_EOL .
"\t" . ' (.vipgoci_lint_skip_folders). Folders should be' . PHP_EOL .
"\t" . ' separated by newlines.' . PHP_EOL .
"\t" . '--lint-php-path=FILE Full path to PHP. If not specified the default in $PATH will be' . PHP_EOL .
"\t" . ' used instead.' . PHP_EOL .
PHP_EOL .
'PHPCS configuration:' . PHP_EOL .
"\t" . '--phpcs=BOOL Whether to run PHPCS. Default is true.' . PHP_EOL .
Expand Down