Skip to content

Commit 20456f8

Browse files
committed
:wench: Update PHP_CodeSniffer dependency to PHPCSStandards and adjust related configurations
1 parent d1c6150 commit 20456f8

4 files changed

Lines changed: 18 additions & 17 deletions

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PHP_IMAGE_TAG=flyeralarm/php-code-valiator-cli:$(PHP_VERSION)
1+
PHP_IMAGE_TAG=flyeralarm/php-code-validator:$(PHP_VERSION)
22
PHP_VERSION?=8.3
33

44
PHP_BIN=$(RUNNER) php
@@ -40,6 +40,7 @@ test:
4040

4141
.PHONY: test-all
4242
test-all:
43+
PHP_VERSION=8.4 $(MAKE) build update sniff test
4344
PHP_VERSION=8.3 $(MAKE) build update sniff test
4445
PHP_VERSION=8.2 $(MAKE) build update sniff test
4546
PHP_VERSION=8.1 $(MAKE) build update sniff test

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# FLYERALARM PHP Coding Guideline Validator
22

33
This repository contains the ruleset for the PHP code we develop at [FLYERALARM](https://flyeralarm.com).
4-
It mostly consists of PSR-12 with some custom additions. The rules are enforced with the help of squizlabs/PHP_CodeSniffer
4+
It mostly consists of PSR-12 with some custom additions. The rules are enforced with the help of PHPCSStandards/PHP_CodeSniffer
55

66
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”,
77
“SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be
@@ -68,7 +68,7 @@ test:
6868

6969
The recommended way to define custom rules for the own project is to provide a ```phpcs.xml``` in the root of your
7070
project.
71-
PHP_CodeSniffer will automatically detect this standard if no other standard was defined (See [PHP_CodeSniffer Advanced Usage](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file)).
71+
PHP_CodeSniffer will automatically detect this standard if no other standard was defined (See [PHP_CodeSniffer Advanced Usage](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#using-a-default-configuration-file)).
7272

7373
This ```phpcs.xml``` can then reference the FLYERALARM PHP coding standard.
7474
```xml

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
],
1616
"minimum-stability": "stable",
1717
"require": {
18-
"squizlabs/php_codesniffer": "^3.5"
18+
"phpcsstandards/php_codesniffer": "^3.5"
1919
}
2020
}

composer.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)